Searched defs:pPCMInfo (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A DDrvAudio.cpp318 void audio_pcm_info_clear_buf(PPDMPCMPROPS pPCMInfo, void *pvBuf, int len) argument
323 if (pPCMInfo->fSigned)
325 memset (pvBuf, 0, len << pPCMInfo->cShift);
329 switch (pPCMInfo->cBits)
333 memset (pvBuf, 0x80, len << pPCMInfo->cShift);
340 int shift = pPCMInfo->cChannels - 1;
343 if (pPCMInfo->fSwapEndian)
355 int shift = pPCMInfo->cChannels - 1;
358 if (pPCMInfo->fSwapEndian)
367 LogFlowFunc(("audio_pcm_info_clear_buf: invalid bits %d\n", pPCMInfo
[all...]

Completed in 46 milliseconds