Searched refs:hwshift (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A Ddsoundaudio.c1003 int live, len, hwshift; local
1016 hwshift = hw->info.shift;
1017 bufsize = ds->playback_buffer_size << hwshift;
1038 len = live << hwshift;
1100 len1 = blen1 >> hwshift;
1101 len2 = blen2 >> hwshift;
1113 ds->old_pos = (old_pos + (decr << hwshift)) % bufsize;
1160 int hwshift; local
1167 hwshift = hw->info.shift;
1193 rpos >>= hwshift; local
[all...]
H A Dsolaudio.c743 int hwshift = hw->info.shift; local
765 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
766 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
769 bufs[0].len = dead << hwshift;
778 void *p = advance (sol->pPCMBuf, bufs[i].add << hwshift);
783 read_samples += nread >> hwshift;
784 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift,
H A Dwinaudio.c422 int hwshift = hw->info.shift;
442 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
443 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
446 bufs[0].len = dead << hwshift;
454 void *p = advance (oss->pcm_buf, bufs[i].add << hwshift);
461 read_samples += nread >> hwshift;
462 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift,
H A Dpulseaudio.c600 const int hwshift = hw->info.shift; local
608 cFramesAvail = pa_stream_readable_size(pPulse->pStream) >> hwshift;
625 cFramesAvail += (pPulse->cbPeekBuf - pPulse->offPeekBuf) >> hwshift;
643 - pPulse->offPeekBuf) >> hwshift,
657 pPulse->pu8PeekBuf + pPulse->offPeekBuf + (cFramesDelta << hwshift),
671 pPulse->offPeekBuf += cFramesToPeek << hwshift;
H A Dossaudio.c755 int hwshift = hw->info.shift; local
775 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
776 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
779 bufs[0].len = dead << hwshift;
787 void *p = advance (oss->pcm_buf, bufs[i].add << hwshift);
794 "alignment %d\n", nread, bufs[i].add << hwshift,
797 read_samples += nread >> hwshift;
799 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift,
802 hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift,
H A Dalsaaudio.c957 int hwshift = hw->info.shift; local
1035 src = advance (alsa->pcm_buf, bufs[i].add << hwshift);
1075 src = advance (src, nread << hwshift);

Completed in 1515 milliseconds