Searched refs:csToRead (Results 1 - 2 of 2) sorted by relevance
/vbox/src/VBox/Devices/Audio/ |
H A D | filteraudio.c | 587 uint32_t csToRead = 0; local 630 csToRead = RT_MIN(csAvail - csReads, (uint32_t)(pVoice->phw->samples - pVoice->phw->wpos)); 631 cbToRead = csToRead * sizeof(st_sample_t); 632 CA_EXT_DEBUG_LOG(("FilterAudio: [Input] Try reading %RU32 samples (%RU32 bytes)\n", csToRead, cbToRead)); 638 csToRead = cbToRead / sizeof(st_sample_t); 639 CA_EXT_DEBUG_LOG(("FilterAudio: [Input] There are %RU32 samples (%RU32 bytes) available\n", csToRead, cbToRead)); 642 if (csToRead == 0) 652 pVoice->phw->wpos = (pVoice->phw->wpos + csToRead) % pVoice->phw->samples; 655 csReads += csToRead;
|
H A D | coreaudio.c | 613 uint32_t csToRead = 0; local 634 csToRead = csAvail - csReads; 635 cbToRead = csToRead << caVoice->hw.info.shift; /* samples -> bytes */ 636 CA_EXT_DEBUG_LOG(("CoreAudio: [Output] Try reading %RU32 samples (%RU32 bytes)\n", csToRead, cbToRead)); 640 csToRead = cbToRead >> caVoice->hw.info.shift; /* bytes -> samples */ 641 CA_EXT_DEBUG_LOG(("CoreAudio: [Output] There are %RU32 samples (%RU32 bytes) available\n", csToRead, cbToRead)); 650 csReads += csToRead; 1896 uint32_t csToRead = 0; local 1922 csToRead = RT_MIN(csAvail - csReads, (uint32_t)(hw->samples - hw->wpos)); 1923 cbToRead = csToRead << h [all...] |
Completed in 678 milliseconds