- Timestamp:
- Dec 9, 2014 9:22:18 AM (10 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp
r53442 r53486 296 296 297 297 /* audioMixBufConvToS8: 8 bit, signed. */ 298 AUDMIXBUF_CONVERT(S8 /* Name */, int8_t, INT8_MIN /* Min */, INT8_MAX /* Max */, true /* fSigned */, 8 /* cShift */) ;298 AUDMIXBUF_CONVERT(S8 /* Name */, int8_t, INT8_MIN /* Min */, INT8_MAX /* Max */, true /* fSigned */, 8 /* cShift */) 299 299 /* audioMixBufConvToU8: 8 bit, unsigned. */ 300 AUDMIXBUF_CONVERT(U8 /* Name */, uint8_t, 0 /* Min */, UINT8_MAX /* Max */, false /* fSigned */, 8 /* cShift */) ;300 AUDMIXBUF_CONVERT(U8 /* Name */, uint8_t, 0 /* Min */, UINT8_MAX /* Max */, false /* fSigned */, 8 /* cShift */) 301 301 /* audioMixBufConvToS16: 16 bit, signed. */ 302 AUDMIXBUF_CONVERT(S16 /* Name */, int16_t, INT16_MIN /* Min */, INT16_MAX /* Max */, true /* fSigned */, 16 /* cShift */) ;302 AUDMIXBUF_CONVERT(S16 /* Name */, int16_t, INT16_MIN /* Min */, INT16_MAX /* Max */, true /* fSigned */, 16 /* cShift */) 303 303 /* audioMixBufConvToU16: 16 bit, unsigned. */ 304 AUDMIXBUF_CONVERT(U16 /* Name */, uint16_t, 0 /* Min */, UINT16_MAX /* Max */, false /* fSigned */, 16 /* cShift */) ;304 AUDMIXBUF_CONVERT(U16 /* Name */, uint16_t, 0 /* Min */, UINT16_MAX /* Max */, false /* fSigned */, 16 /* cShift */) 305 305 /* audioMixBufConvToS32: 32 bit, signed. */ 306 AUDMIXBUF_CONVERT(S32 /* Name */, int32_t, INT32_MIN /* Min */, INT32_MAX /* Max */, true /* fSigned */, 32 /* cShift */) ;306 AUDMIXBUF_CONVERT(S32 /* Name */, int32_t, INT32_MIN /* Min */, INT32_MAX /* Max */, true /* fSigned */, 32 /* cShift */) 307 307 /* audioMixBufConvToU32: 32 bit, unsigned. */ 308 AUDMIXBUF_CONVERT(U32 /* Name */, uint32_t, 0 /* Min */, UINT32_MAX /* Max */, false /* fSigned */, 32 /* cShift */) ;308 AUDMIXBUF_CONVERT(U32 /* Name */, uint32_t, 0 /* Min */, UINT32_MAX /* Max */, false /* fSigned */, 32 /* cShift */) 309 309 310 310 #undef AUDMIXBUF_CONVERT … … 394 394 395 395 /* audioMixBufOpAssign: Assigns values from source buffer to destination bufffer, overwriting the destination. */ 396 AUDMIXBUF_MIXOP(Assign /* Name */, = /* Operation */) ;396 AUDMIXBUF_MIXOP(Assign /* Name */, = /* Operation */) 397 397 /* audioMixBufOpBlend: Blends together the values from both, the source and the destination buffer. */ 398 AUDMIXBUF_MIXOP(Blend /* Name */, += /* Operation */) ;398 AUDMIXBUF_MIXOP(Blend /* Name */, += /* Operation */) 399 399 400 400 #undef AUDMIXBUF_MIXOP … … 1214 1214 1215 1215 uint32_t cToWrite = AUDIOMIXBUF_B2S(pMixBuf, cbBuf); 1216 Assert (cToWrite);1216 AssertMsg(cToWrite, ("cToWrite is 0 (cbBuf=%zu)\n", cbBuf)); 1217 1217 1218 1218 PPDMAUDIOSAMPLE pSamplesDst1 = pMixBuf->pSamples + pMixBuf->offReadWrite; -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r53442 r53486 2668 2668 2669 2669 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2670 PCFGMNODE pLunL1;2671 2670 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1); 2672 2671 InsertConfigNode(pLunL1, "Config", &pCfg); … … 2744 2743 { 2745 2744 # ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2746 #error "Port OSS audio backend!" /** @todo Port OSS driver. */2745 // #error "Port OSS audio backend!" /** @todo Port OSS driver. */ 2747 2746 # else 2748 2747 InsertConfigString(pCfg, "AudioDriver", "ossaudio");
Note:
See TracChangeset
for help on using the changeset viewer.