vbox的更動 69119 路徑 trunk/src/VBox
- 時間撮記:
- 2017-10-17 下午07:08:38 (7 年 以前)
- 位置:
- trunk/src/VBox/Devices/Audio
- 檔案:
-
- 修改 32 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r68271 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox audio:Audio mixing buffer for converting reading/writing audio data.3 * Audio mixing buffer for converting reading/writing audio data. 4 4 */ 5 5 -
trunk/src/VBox/Devices/Audio/AudioMixBuffer.h
r68132 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox audio - Mixing buffer toconvert audio samples to/from different rates / formats.3 * Audio Mixing bufer convert audio samples to/from different rates / formats. 4 4 */ 5 5 -
trunk/src/VBox/Devices/Audio/AudioMixer.cpp
r68899 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox audio: Mixing routines, mainly used by the various audio device 4 * emulations to achieve proper multiplexing from/to attached 5 * devices LUNs. 3 * Audio mixing routines for multiplexing audio sources in device emulations. 6 4 * 7 5 * This mixer acts as a layer between the audio connector interface and 8 * the actual device emulation, providing mechanisms for audio sources (input) and9 * a udio sinks (output).10 * 11 * Think of this mixer as kind of a high(er) level interface for the audio connector12 * interface, abstracting common tasks such as creating and managing various audio13 * sources and sinks. This mixer class is purely optional and can be left out when14 * implementing a new device emulation, using only the audi connector interface15 * instead. For example, the SB16 emulation does not use this mixer and does all its16 * stream management on its own.6 * the actual device emulation, providing mechanisms for audio sources (input) 7 * and audio sinks (output). 8 * 9 * Think of this mixer as kind of a high(er) level interface for the audio 10 * connector interface, abstracting common tasks such as creating and managing 11 * various audio sources and sinks. This mixer class is purely optional and can 12 * be left out when implementing a new device emulation, using only the audi 13 * connector interface instead. For example, the SB16 emulation does not use 14 * this mixer and does all its stream management on its own. 17 15 * 18 16 * As audio driver instances are handled as LUNs on the device level, this … … 40 38 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 41 39 */ 40 41 42 /********************************************************************************************************************************* 43 * Header Files * 44 *********************************************************************************************************************************/ 42 45 #define LOG_GROUP LOG_GROUP_AUDIO_MIXER 43 46 #include <VBox/log.h> … … 56 59 #include <iprt/string.h> 57 60 61 62 /********************************************************************************************************************************* 63 * Internal Functions * 64 *********************************************************************************************************************************/ 58 65 static int audioMixerRemoveSinkInternal(PAUDIOMIXER pMixer, PAUDMIXSINK pSink); 59 66 -
trunk/src/VBox/Devices/Audio/AudioMixer.h
r68898 r69119 246 246 bool AudioMixerStreamIsValid(PAUDMIXSTREAM pStream); 247 247 248 #endif /* AUDIO_MIXER_H */249 248 #endif /* !AUDIO_MIXER_H */ 249 -
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r68909 r69119 5294 5294 #endif /* IN_RING3 */ 5295 5295 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 5296 -
trunk/src/VBox/Devices/Audio/DevHDA.h
-
屬性 svn:keywords
設為
Author Date Id Revision
r69118 r69119 222 222 #endif 223 223 224 #endif /* DEV_HDA_H */225 224 #endif /* !DEV_HDA_H */ 225 -
屬性 svn:keywords
設為
-
trunk/src/VBox/Devices/Audio/DevHDACommon.cpp
-
屬性 svn:keywords
由
Id Revision
變更至Author Date Id Revision
-
屬性 svn:keywords
由
-
trunk/src/VBox/Devices/Audio/DevHDACommon.h
r67907 r69119 603 603 /** @} */ 604 604 605 #endif /* DEV_HDA_H_COMMON */606 605 #endif /* !DEV_HDA_H_COMMON */ 606 -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r68907 r69119 4079 4079 #endif /* !IN_RING3 */ 4080 4080 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 4081 -
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r68919 r69119 39 39 * THE SOFTWARE. 40 40 */ 41 42 43 /********************************************************************************************************************************* 44 * Header Files * 45 *********************************************************************************************************************************/ 41 46 #define LOG_GROUP LOG_GROUP_DEV_SB16 42 47 #include <VBox/log.h> … … 58 63 #include "DrvAudio.h" 59 64 65 66 /********************************************************************************************************************************* 67 * Defined Constants And Macros * 68 *********************************************************************************************************************************/ 60 69 /** Current saved state version. */ 61 70 #define SB16_SAVE_STATE_VERSION 2 … … 71 80 RTIOPORT nport, uint32_t val, unsigned cb) 72 81 82 /********************************************************************************************************************************* 83 * Global Variables * 84 *********************************************************************************************************************************/ 73 85 static const char e3[] = "COPYRIGHT (C) CREATIVE TECHNOLOGY LTD, 1992."; 74 86 87 88 89 /********************************************************************************************************************************* 90 * Structures and Typedefs * 91 *********************************************************************************************************************************/ 75 92 /** 76 93 * Structure defining a (host backend) driver stream. … … 206 223 } SB16STATE, *PSB16STATE; 207 224 225 226 /********************************************************************************************************************************* 227 * Internal Functions * 228 *********************************************************************************************************************************/ 208 229 static int sb16CreateDrvStream(PSB16STATE pThis, PPDMAUDIOSTREAMCFG pCfg, PSB16DRIVER pDrv); 209 230 static void sb16DestroyDrvStream(PSB16STATE pThis, PSB16DRIVER pDrv); … … 214 235 static void sb16TimerMaybeStop(PSB16STATE pThis); 215 236 #endif 237 238 216 239 217 240 /** -
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r68897 r69119 18 18 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 19 19 */ 20 20 21 #define LOG_GROUP LOG_GROUP_DRV_AUDIO 21 22 #include <VBox/log.h> -
trunk/src/VBox/Devices/Audio/DrvAudio.h
r68892 r69119 36 36 # define VBOX_AUDIO_DEBUG_DUMP_PCM_DATA_PATH "/tmp/" 37 37 # endif 38 #endif /* VBOX_AUDIO_DEBUG_DUMP_PCM_DATA */38 #endif 39 39 40 40 typedef enum … … 195 195 #define AUDIO_MAKE_FOURCC(c0, c1, c2, c3) RT_H2LE_U32_C(RT_MAKE_U32_FROM_U8(c0, c1, c2, c3)) 196 196 197 #endif /* DRV_AUDIO_H */197 #endif /* !DRV_AUDIO_H */ 198 198 -
trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
r68902 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * Intermedia audio driver, common routines. These are also used 4 * in the drivers which are bound to Main, e.g. the VRDE or the 5 * video audio recording drivers. 3 * Intermedia audio driver, common routines. 4 * 5 * These are also used in the drivers which are bound to Main, e.g. the VRDE 6 * or the video audio recording drivers. 6 7 */ 7 8 … … 17 18 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 18 19 */ 20 21 /********************************************************************************************************************************* 22 * Header Files * 23 *********************************************************************************************************************************/ 19 24 #include <iprt/alloc.h> 20 25 #include <iprt/asm-math.h> … … 39 44 #include "AudioMixBuffer.h" 40 45 41 #pragma pack(1) 46 47 /********************************************************************************************************************************* 48 * Structures and Typedefs * 49 *********************************************************************************************************************************/ 42 50 /** 43 51 * Structure for building up a .WAV file header. … … 61 69 uint32_t u32Size2; 62 70 } AUDIOWAVFILEHDR, *PAUDIOWAVFILEHDR; 63 #pragma pack() 71 AssertCompileSize(AUDIOWAVFILEHDR, 11*4); 64 72 65 73 /** … … 71 79 AUDIOWAVFILEHDR Hdr; 72 80 } AUDIOWAVFILEDATA, *PAUDIOWAVFILEDATA; 81 82 83 73 84 74 85 /** -
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r68376 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * VBox audio devices:ALSA audio driver.3 * ALSA audio driver. 4 4 */ 5 5 -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r69118 r69119 2720 2720 PDM_DRVREG_VERSION 2721 2721 }; 2722 -
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r68740 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * Debug audio driver -- host backend for dumping and injecting audio data 4 * from/to the device emulation. 3 * Debug audio driver. 4 * 5 * Host backend for dumping and injecting audio data from/to the device emulation. 5 6 */ 6 7 … … 15 16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 16 17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 17 * --------------------------------------------------------------------18 18 */ 19 19 -
trunk/src/VBox/Devices/Audio/DrvHostNullAudio.cpp
r68272 r69119 1 1 /* $Id$ */ 2 2 /** @file 3 * NULL audio driver -- also acts as a fallback if no 4 * other backend is available. 3 * NULL audio driver. 4 * 5 * This also acts as a fallback if no other backend is available. 5 6 */ 6 7 -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r68272 r69119 14 14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 * --------------------------------------------------------------------17 */ 16 */ 17 18 18 #include <errno.h> 19 19 #include <fcntl.h> -
trunk/src/VBox/Devices/Audio/DrvHostValidationKit.cpp
r68272 r69119 1 /* $Id$ */ 1 2 /** @file 2 * Va Kit audio driver -- host backend for dumping and injecting audio data3 * from/to the device emulation.3 * ValidationKit audio driver - host backend for dumping and injecting audio data 4 * from/to the device emulation. 4 5 */ 5 6 … … 14 15 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 16 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 * --------------------------------------------------------------------17 17 */ 18 18 -
trunk/src/VBox/Devices/Audio/HDACodec.h
r67899 r69119 142 142 #define HDA_SSM_VERSION_1 1 143 143 144 #endif /* DEV_HDA_CODEC_H */144 #endif /* !DEV_HDA_CODEC_H */ 145 145 -
trunk/src/VBox/Devices/Audio/HDAStream.cpp
-
屬性 svn:keywords
由
Id Revision
變更至Author Date Id Revision
r69118 r69119 1357 1357 1358 1358 #endif /* IN_RING3 */ 1359 -
屬性 svn:keywords
由
-
trunk/src/VBox/Devices/Audio/HDAStream.h
-
屬性 svn:keywords
設為
Author Date Id Revision
-
屬性 svn:keywords
設為
-
trunk/src/VBox/Devices/Audio/HDAStreamPeriod.cpp
-
屬性 svn:keywords
由
Id Revision
變更至Author Date Id Revision
-
屬性 svn:keywords
由
-
trunk/src/VBox/Devices/Audio/HDAStreamPeriod.h
-
屬性 svn:keywords
設為
Author Date Id Revision
-
屬性 svn:keywords
設為
-
trunk/src/VBox/Devices/Audio/Makefile.kup
-
屬性 svn:keywords
設為
Author Date Id Revision
-
屬性 svn:keywords
設為
-
trunk/src/VBox/Devices/Audio/VBoxMMNotificationClient.h
r68752 r69119 85 85 /** @} */ 86 86 }; 87 #endif /* ___VBOX_MMNOTIFICATIONCLIENT_H___ */87 #endif /* !___VBOX_MMNOTIFICATIONCLIENT_H___ */ 88 88 -
trunk/src/VBox/Devices/Audio/alsa_mangling.h
r68376 r69119 1 /* $Id$ */ 1 2 /** @file 3 * Mangle libasound symbols. 2 4 * 3 * Mangle libasound symbols. This is necessary on hosts which don't 4 * support the -fvisibility gcc switch. 5 * This is necessary on hosts which don't support the -fvisibility gcc switch. 5 6 */ 6 7 -
trunk/src/VBox/Devices/Audio/alsa_stubs.c
r68376 r69119 209 209 return rc; 210 210 } 211 -
trunk/src/VBox/Devices/Audio/alsa_stubs.h
r62517 r69119 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Stubs for libasound. 4 4 */ … … 20 20 extern int audioLoadAlsaLib(void); 21 21 #endif 22 -
trunk/src/VBox/Devices/Audio/pulse_mangling.h
r68039 r69119 1 /* $Id$ */ 1 2 /** @file 3 * Mangle libpulse symbols. 2 4 * 3 * Mangle libpulse symbols. This is necessary on hosts which don't 4 * support the -fvisibility gcc switch. 5 * This is necessary on hosts which don't support the -fvisibility gcc switch. 5 6 */ 6 7 … … 86 87 87 88 #endif /* !AUDIO_PULSE_MANGLING_H */ 89 -
trunk/src/VBox/Devices/Audio/pulse_stubs.c
r68039 r69119 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 18 #define LOG_GROUP LOG_GROUP_DRV_HOST_AUDIO 18 19 #include <iprt/assert.h> -
trunk/src/VBox/Devices/Audio/pulse_stubs.h
r67951 r69119 1 /* $Id$ */ 1 2 /** @file 2 *3 3 * Stubs for libpulse. 4 4 */ … … 20 20 extern int audioLoadPulseLib(void); 21 21 #endif 22
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器