Changeset 56648 in vbox
- Timestamp:
- Jun 25, 2015 9:57:41 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/log.h
r56453 r56648 60 60 /** The default VBox group. */ 61 61 LOG_GROUP_DEFAULT = RTLOGGROUP_FIRST_USER, 62 /** Audio mixer group. */ 63 LOG_GROUP_AUDIO_MIXER, 64 /** Audio mixer buffer group. */ 65 LOG_GROUP_AUDIO_MIXER_BUFFER, 62 66 /** Auto-logon group. */ 63 67 LOG_GROUP_AUTOLOGON, … … 78 82 /** Generic Device group. */ 79 83 LOG_GROUP_DEV, 84 /** AC97 Device group. */ 85 LOG_GROUP_DEV_AC97, 80 86 /** ACPI Device group. */ 81 87 LOG_GROUP_DEV_ACPI, … … 84 90 /** APIC Device group. */ 85 91 LOG_GROUP_DEV_APIC, 86 /** Audio Device group. */87 LOG_GROUP_DEV_AUDIO,88 92 /** BusLogic SCSI host adapter group. */ 89 93 LOG_GROUP_DEV_BUSLOGIC, … … 100 104 /** Guest Interface Manager Device group. */ 101 105 LOG_GROUP_DEV_GIM, 106 /** HDA Device group. */ 107 LOG_GROUP_DEV_HDA, 108 /** HDA Codec Device group. */ 109 LOG_GROUP_DEV_HDA_CODEC, 102 110 /** High Precision Event Timer Device group. */ 103 111 LOG_GROUP_DEV_HPET, … … 136 144 /** RTC Device group. */ 137 145 LOG_GROUP_DEV_RTC, 146 /** SB16 Device group. */ 147 LOG_GROUP_DEV_SB16, 138 148 /** Serial Device group */ 139 149 LOG_GROUP_DEV_SERIAL, … … 162 172 /** ACPI driver group */ 163 173 LOG_GROUP_DRV_ACPI, 174 /** Audio driver group */ 175 LOG_GROUP_DRV_AUDIO, 164 176 /** Block driver group. */ 165 177 LOG_GROUP_DRV_BLOCK, … … 172 184 /** Floppy media driver group. */ 173 185 LOG_GROUP_DRV_FLOPPY, 186 /** Host Audio driver group. */ 187 LOG_GROUP_DRV_HOST_AUDIO, 174 188 /** Host Base block driver group. */ 175 189 LOG_GROUP_DRV_HOST_BASE, … … 220 234 /** VBox HDD container media driver group. */ 221 235 LOG_GROUP_DRV_VD, 236 /** VRDE audio driver group. */ 237 LOG_GROUP_DRV_VRDE_AUDIO, 222 238 /** Virtual Switch transport driver group */ 223 239 LOG_GROUP_DRV_VSWITCH, … … 783 799 RT_LOGGROUP_NAMES, \ 784 800 "DEFAULT", \ 801 "AUDIO_MIXER", \ 802 "AUDIO_MIXER_BUFFER", \ 785 803 "AUTOLOGON", \ 786 804 "CFGM", \ … … 792 810 "DBGG", \ 793 811 "DEV", \ 812 "DEV_AC97", \ 794 813 "DEV_ACPI", \ 795 814 "DEV_AHCI", \ 796 815 "DEV_APIC", \ 797 "DEV_AUDIO", \798 816 "DEV_BUSLOGIC", \ 799 817 "DEV_DMA", \ … … 803 821 "DEV_FDC", \ 804 822 "DEV_GIM", \ 823 "DEV_HDA", \ 824 "DEV_HDA_CODEC", \ 805 825 "DEV_HPET", \ 806 826 "DEV_IDE", \ … … 821 841 "DEV_PIT", \ 822 842 "DEV_RTC", \ 843 "DEV_SB16", \ 823 844 "DEV_SERIAL", \ 824 845 "DEV_SMC", \ … … 834 855 "DRV", \ 835 856 "DRV_ACPI", \ 857 "DRV_AUDIO", \ 836 858 "DRV_BLOCK", \ 837 859 "DRV_CHAR", \ … … 839 861 "DRV_DISPLAY", \ 840 862 "DRV_FLOPPY", \ 863 "DRV_HOST_AUDIO", \ 841 864 "DRV_HOST_BASE", \ 842 865 "DRV_HOST_DVD", \ … … 863 886 "DRV_VBOXHDD", \ 864 887 "DRV_VD", \ 888 "DRV_VRDE_AUDIO", \ 865 889 "DRV_VSWITCH", \ 866 890 "DRV_VUSB", \ -
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r55920 r56648 16 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 17 */ 18 #define LOG_GROUP LOG_GROUP_AUDIO_MIXER_BUFFER 19 #include <VBox/log.h> 18 20 19 21 /* … … 33 35 #include <iprt/mem.h> 34 36 #include <iprt/string.h> /* For RT_BZERO. */ 35 36 #ifdef LOG_GROUP37 # undef LOG_GROUP38 #endif39 #define LOG_GROUP LOG_GROUP_DEV_AUDIO40 #include <VBox/log.h>41 37 42 38 #ifdef TESTCASE -
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r55920 r56648 17 17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 18 18 */ 19 19 #define LOG_GROUP LOG_GROUP_AUDIO_MIXER 20 #include <VBox/log.h> 20 21 #include "AudioMixer.h" 21 22 #include "AudioMixBuffer.h" … … 30 31 #include <iprt/assert.h> 31 32 #include <iprt/string.h> 32 33 #ifdef LOG_GROUP34 # undef LOG_GROUP35 #endif36 #define LOG_GROUP LOG_GROUP_DEV_AUDIO37 #include <VBox/log.h>38 39 33 40 34 static int audioMixerUpdateSinkVolume(PAUDMIXSINK pSink, const PPDMAUDIOVOLUME pVolMaster); -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r56512 r56648 19 19 * Header Files * 20 20 *******************************************************************************/ 21 #define LOG_GROUP LOG_GROUP_DEV_AC97 22 #include <VBox/log.h> 21 23 #include <VBox/vmm/pdmdev.h> 22 24 #include <VBox/vmm/pdmaudioifs.h> … … 31 33 #include "VBoxDD.h" 32 34 #include "AudioMixer.h" 33 34 #ifdef LOG_GROUP35 #undef LOG_GROUP36 #endif37 #define LOG_GROUP LOG_GROUP_DEV_AUDIO38 #include <VBox/log.h>39 35 40 36 /******************************************************************************* -
trunk/src/VBox/Devices/Audio/DevIchHda.cpp
r56284 r56648 23 23 * Header Files * 24 24 *******************************************************************************/ 25 #define LOG_GROUP LOG_GROUP_DEV_HDA 26 #include <VBox/log.h> 25 27 #include <VBox/vmm/pdmdev.h> 26 28 #include <VBox/vmm/pdmaudioifs.h> … … 36 38 #endif 37 39 #include <iprt/list.h> 38 39 #ifdef LOG_GROUP40 # undef LOG_GROUP41 #endif42 #define LOG_GROUP LOG_GROUP_DEV_AUDIO43 #include <VBox/log.h>44 40 45 41 #include "VBoxDD.h" -
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r56292 r56648 24 24 * Header Files * 25 25 *******************************************************************************/ 26 //#define LOG_GROUP LOG_GROUP_DEV_AUDIO 26 #define LOG_GROUP LOG_GROUP_DEV_HDA_CODEC 27 27 #include <VBox/vmm/pdmdev.h> 28 28 #include <VBox/vmm/pdmaudioifs.h> -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r56278 r56648 41 41 * THE SOFTWARE. 42 42 */ 43 43 #define LOG_GROUP LOG_GROUP_DEV_SB16 44 #include <VBox/log.h> 44 45 #include <iprt/assert.h> 45 46 #ifdef IN_RING3 … … 53 54 54 55 #include "VBoxDD.h" 55 56 #ifdef LOG_GROUP57 #undef LOG_GROUP58 #endif59 #define LOG_GROUP LOG_GROUP_DEV_AUDIO60 #include <VBox/log.h>61 56 62 57 #include "AudioMixer.h" -
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r56292 r56648 43 43 * THE SOFTWARE. 44 44 */ 45 45 #define LOG_GROUP LOG_GROUP_DRV_AUDIO 46 #include <VBox/log.h> 46 47 #include <VBox/vmm/pdm.h> 47 48 #include <VBox/err.h> … … 55 56 #include <iprt/string.h> 56 57 #include <iprt/uuid.h> 57 58 #ifdef LOG_GROUP59 # undef LOG_GROUP60 #endif61 #define LOG_GROUP LOG_GROUP_DEV_AUDIO62 #include <VBox/log.h>63 58 64 59 #include "VBoxDD.h" -
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r56292 r56648 42 42 * THE SOFTWARE. 43 43 */ 44 44 #define LOG_GROUP LOG_GROUP_DRV_AUDIO 45 #include <VBox/log.h> 45 46 #include <iprt/asm-math.h> 46 47 #include <iprt/assert.h> … … 53 54 #include <VBox/err.h> 54 55 #include <VBox/vmm/mm.h> 55 56 #ifdef LOG_GROUP57 # undef LOG_GROUP58 #endif59 #define LOG_GROUP LOG_GROUP_DEV_AUDIO60 #include <VBox/log.h>61 56 62 57 #include <ctype.h> -
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r56645 r56648 44 44 * Header Files * 45 45 *******************************************************************************/ 46 46 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 47 #include <VBox/log.h> 47 48 #include <iprt/alloc.h> 48 49 #include <iprt/uuid.h> /* For PDMIBASE_2_PDMDRV. */ … … 60 61 61 62 #include "VBoxDD.h" 62 63 64 #ifdef LOG_GROUP65 # undef LOG_GROUP66 #endif67 #define LOG_GROUP LOG_GROUP_DEV_AUDIO68 #include <VBox/log.h>69 63 70 64 typedef struct ALSAAUDIOSTREAMIN -
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r56646 r56648 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 18 #include <VBox/log.h> 19 17 20 #include "DrvAudio.h" 18 21 #include "AudioMixBuffer.h" … … 31 34 #include <AudioUnit/AudioUnit.h> 32 35 #include <AudioToolbox/AudioConverter.h> 33 34 #ifdef LOG_GROUP35 # undef LOG_GROUP36 #endif37 #define LOG_GROUP LOG_GROUP_DEV_AUDIO38 #include <VBox/log.h>39 36 40 37 /* TODO: -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r55920 r56648 17 17 * 18 18 */ 19 19 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 20 #include <VBox/log.h> 20 21 #include <dsound.h> 21 22 … … 26 27 #include "DrvAudio.h" 27 28 #include "VBoxDD.h" 28 29 #ifdef LOG_GROUP30 # undef LOG_GROUP31 #endif32 #define LOG_GROUP LOG_GROUP_DEV_AUDIO33 #include <VBox/log.h>34 29 35 30 #define DSLOG(a) do { LogRel2(a); } while(0) -
trunk/src/VBox/Devices/Audio/DrvHostNullAudio.cpp
r56289 r56648 41 41 * THE SOFTWARE. 42 42 */ 43 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 44 #include <VBox/log.h> 43 45 #include "DrvAudio.h" 44 46 #include "AudioMixBuffer.h" … … 49 51 #include <iprt/uuid.h> /* For PDMIBASE_2_PDMDRV. */ 50 52 #include <VBox/vmm/pdmaudioifs.h> 51 52 #ifdef LOG_GROUP53 # undef LOG_GROUP54 #endif55 #define LOG_GROUP LOG_GROUP_DEV_AUDIO56 #include <VBox/log.h>57 53 58 54 typedef struct NULLAUDIOSTREAMOUT -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r56647 r56648 16 16 * -------------------------------------------------------------------- 17 17 */ 18 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 19 #include <VBox/log.h> 18 20 #include "DrvAudio.h" 19 21 #include "AudioMixBuffer.h" … … 31 33 #include <iprt/uuid.h> /* For PDMIBASE_2_PDMDRV. */ 32 34 #include <VBox/vmm/pdmaudioifs.h> 33 34 #ifdef LOG_GROUP35 # undef LOG_GROUP36 #endif37 #define LOG_GROUP LOG_GROUP_DEV_AUDIO38 #include <VBox/log.h>39 40 35 41 36 /** -
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r56646 r56648 20 20 * Header Files * 21 21 *******************************************************************************/ 22 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 23 #include <VBox/log.h> 22 24 23 25 #include <stdio.h> … … 38 40 39 41 #include "VBoxDD.h" 40 41 #ifdef LOG_GROUP42 # undef LOG_GROUP43 #endif44 #define LOG_GROUP LOG_GROUP_DEV_AUDIO45 #include <VBox/log.h>46 42 47 43 #define VBOX_PULSEAUDIO_MAX_LOG_REL_ERRORS 32 /** @todo Make this configurable thru driver options. */ -
trunk/src/VBox/Devices/Audio/alsa_stubs.c
r56292 r56648 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 18 18 #include <iprt/assert.h> 19 19 #include <iprt/ldr.h> 20 #define LOG_GROUP LOG_GROUP_DEV_AUDIO21 20 #include <VBox/log.h> 22 21 #include <VBox/err.h> -
trunk/src/VBox/Devices/Audio/pulse_stubs.c
r56292 r56648 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 18 18 #include <iprt/assert.h> 19 19 #include <iprt/ldr.h> 20 #define LOG_GROUP LOG_GROUP_DEV_AUDIO21 20 #include <VBox/log.h> 22 21 #include <VBox/err.h> -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r55921 r56648 20 20 * Header Files * 21 21 *******************************************************************************/ 22 #define LOG_GROUP LOG_GROUP_DRV_VRDE_AUDIO 23 #include <VBox/log.h> 22 24 #include "DrvAudioVRDE.h" 23 25 #include "ConsoleImpl.h" … … 38 40 #include <VBox/vmm/cfgm.h> 39 41 #include <VBox/err.h> 40 41 #undef LOG_GROUP42 #define LOG_GROUP LOG_GROUP_DEV_AUDIO43 #include <VBox/log.h>44 45 42 46 43 /******************************************************************************* -
trunk/src/VBox/Runtime/VBox/log-vbox.cpp
r56290 r56648 206 206 do { if (strcmp(g_apszGroups[def], str)) {printf("%s='%s' expects '%s'\n", #def, g_apszGroups[def], str); RTAssertDoPanic(); } } while (0) 207 207 ASSERT_LOG_GROUP(DEFAULT); 208 ASSERT_LOG_GROUP(AUDIO_MIXER); 209 ASSERT_LOG_GROUP(AUDIO_MIXER_BUFFER); 208 210 ASSERT_LOG_GROUP(CFGM); 209 211 ASSERT_LOG_GROUP(CPUM); … … 213 215 ASSERT_LOG_GROUP(DBGF_INFO); 214 216 ASSERT_LOG_GROUP(DEV); 217 ASSERT_LOG_GROUP(DEV_AC97); 215 218 ASSERT_LOG_GROUP(DEV_ACPI); 216 219 ASSERT_LOG_GROUP(DEV_APIC); 217 ASSERT_LOG_GROUP(DEV_AUDIO);218 220 ASSERT_LOG_GROUP(DEV_FDC); 221 ASSERT_LOG_GROUP(DEV_HDA); 222 ASSERT_LOG_GROUP(DEV_HDA_CODEC); 219 223 ASSERT_LOG_GROUP(DEV_HPET); 220 224 ASSERT_LOG_GROUP(DEV_IDE); … … 230 234 ASSERT_LOG_GROUP(DEV_PIT); 231 235 ASSERT_LOG_GROUP(DEV_RTC); 236 ASSERT_LOG_GROUP(DEV_SB16); 232 237 ASSERT_LOG_GROUP(DEV_SERIAL); 233 238 ASSERT_LOG_GROUP(DEV_SMC); … … 238 243 ASSERT_LOG_GROUP(DRV); 239 244 ASSERT_LOG_GROUP(DRV_ACPI); 245 ASSERT_LOG_GROUP(DRV_AUDIO); 240 246 ASSERT_LOG_GROUP(DRV_BLOCK); 241 247 ASSERT_LOG_GROUP(DRV_FLOPPY); 248 ASSERT_LOG_GROUP(DRV_HOST_AUDIO); 242 249 ASSERT_LOG_GROUP(DRV_HOST_DVD); 243 250 ASSERT_LOG_GROUP(DRV_HOST_FLOPPY); … … 250 257 ASSERT_LOG_GROUP(DRV_USBPROXY); 251 258 ASSERT_LOG_GROUP(DRV_VBOXHDD); 259 ASSERT_LOG_GROUP(DRV_VRDE_AUDIO); 252 260 ASSERT_LOG_GROUP(DRV_VSWITCH); 253 261 ASSERT_LOG_GROUP(DRV_VUSB);
Note:
See TracChangeset
for help on using the changeset viewer.