VirtualBox

Changeset 53486 in vbox for trunk


Ignore:
Timestamp:
Dec 9, 2014 9:22:18 AM (10 years ago)
Author:
vboxsync
Message:

PDM/Audio: Warnings.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/AudioMixBuffer.cpp

    r53442 r53486  
    296296
    297297/* audioMixBufConvToS8: 8 bit, signed. */
    298 AUDMIXBUF_CONVERT(S8 /* Name */,  int8_t,   INT8_MIN  /* Min */, INT8_MAX   /* Max */, true  /* fSigned */, 8  /* cShift */);
     298AUDMIXBUF_CONVERT(S8 /* Name */,  int8_t,   INT8_MIN  /* Min */, INT8_MAX   /* Max */, true  /* fSigned */, 8  /* cShift */)
    299299/* audioMixBufConvToU8: 8 bit, unsigned. */
    300 AUDMIXBUF_CONVERT(U8 /* Name */,  uint8_t,  0         /* Min */, UINT8_MAX  /* Max */, false /* fSigned */, 8  /* cShift */);
     300AUDMIXBUF_CONVERT(U8 /* Name */,  uint8_t,  0         /* Min */, UINT8_MAX  /* Max */, false /* fSigned */, 8  /* cShift */)
    301301/* audioMixBufConvToS16: 16 bit, signed. */
    302 AUDMIXBUF_CONVERT(S16 /* Name */, int16_t,  INT16_MIN /* Min */, INT16_MAX  /* Max */, true  /* fSigned */, 16 /* cShift */);
     302AUDMIXBUF_CONVERT(S16 /* Name */, int16_t,  INT16_MIN /* Min */, INT16_MAX  /* Max */, true  /* fSigned */, 16 /* cShift */)
    303303/* audioMixBufConvToU16: 16 bit, unsigned. */
    304 AUDMIXBUF_CONVERT(U16 /* Name */, uint16_t, 0         /* Min */, UINT16_MAX /* Max */, false /* fSigned */, 16 /* cShift */);
     304AUDMIXBUF_CONVERT(U16 /* Name */, uint16_t, 0         /* Min */, UINT16_MAX /* Max */, false /* fSigned */, 16 /* cShift */)
    305305/* audioMixBufConvToS32: 32 bit, signed. */
    306 AUDMIXBUF_CONVERT(S32 /* Name */, int32_t,  INT32_MIN /* Min */, INT32_MAX  /* Max */, true  /* fSigned */, 32 /* cShift */);
     306AUDMIXBUF_CONVERT(S32 /* Name */, int32_t,  INT32_MIN /* Min */, INT32_MAX  /* Max */, true  /* fSigned */, 32 /* cShift */)
    307307/* audioMixBufConvToU32: 32 bit, unsigned. */
    308 AUDMIXBUF_CONVERT(U32 /* Name */, uint32_t, 0         /* Min */, UINT32_MAX /* Max */, false /* fSigned */, 32 /* cShift */);
     308AUDMIXBUF_CONVERT(U32 /* Name */, uint32_t, 0         /* Min */, UINT32_MAX /* Max */, false /* fSigned */, 32 /* cShift */)
    309309
    310310#undef AUDMIXBUF_CONVERT
     
    394394
    395395/* audioMixBufOpAssign: Assigns values from source buffer to destination bufffer, overwriting the destination. */
    396 AUDMIXBUF_MIXOP(Assign /* Name */,  = /* Operation */);
     396AUDMIXBUF_MIXOP(Assign /* Name */,  = /* Operation */)
    397397/* audioMixBufOpBlend: Blends together the values from both, the source and the destination buffer. */
    398 AUDMIXBUF_MIXOP(Blend  /* Name */, += /* Operation */);
     398AUDMIXBUF_MIXOP(Blend  /* Name */, += /* Operation */)
    399399
    400400#undef AUDMIXBUF_MIXOP
     
    12141214
    12151215    uint32_t cToWrite = AUDIOMIXBUF_B2S(pMixBuf, cbBuf);
    1216     Assert(cToWrite);
     1216    AssertMsg(cToWrite, ("cToWrite is 0 (cbBuf=%zu)\n", cbBuf));
    12171217
    12181218    PPDMAUDIOSAMPLE pSamplesDst1 = pMixBuf->pSamples + pMixBuf->offReadWrite;
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r53442 r53486  
    26682668
    26692669#ifdef VBOX_WITH_PDM_AUDIO_DRIVER
    2670             PCFGMNODE pLunL1;
    26712670            InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1);
    26722671            InsertConfigNode(pLunL1, "Config", &pCfg);
     
    27442743                {
    27452744# 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. */
    27472746# else
    27482747                    InsertConfigString(pCfg, "AudioDriver", "ossaudio");
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette