Changeset 33753 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Nov 4, 2010 7:38:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r33749 r33753 125 125 126 126 /* Supported PCM size, rates (7.3.4.7) */ 127 #define CODEC_F00_0A_32_BIT RT_BIT( 20)128 #define CODEC_F00_0A_24_BIT RT_BIT(1 9)129 #define CODEC_F00_0A_16_BIT RT_BIT(1 8)130 #define CODEC_F00_0A_8_BIT RT_BIT(1 7)127 #define CODEC_F00_0A_32_BIT RT_BIT(19) 128 #define CODEC_F00_0A_24_BIT RT_BIT(18) 129 #define CODEC_F00_0A_16_BIT RT_BIT(17) 130 #define CODEC_F00_0A_8_BIT RT_BIT(16) 131 131 132 132 #define CODEC_F00_0A_48KHZ_MULT_8X RT_BIT(11) … … 2170 2170 } 2171 2171 2172 static int codec_dac_to_aud(CODECState *pState, audsettings_t *paud)2173 {2174 paud->freq = 44100;2175 paud->nchannels = 2;2176 paud->fmt = AUD_FMT_S16;2177 2178 paud->endianness = 0;2179 return VINF_SUCCESS;2180 }2181 2182 2172 static void pi_callback (void *opaque, int avail) 2183 2173 {
Note:
See TracChangeset
for help on using the changeset viewer.