mirror of https://github.com/PCSX2/pcsx2.git
usb: Fix build with older libsamplerate
This commit is contained in:
parent
e50efceb62
commit
10a7e7a15f
|
@ -765,7 +765,7 @@ namespace usb_mic
|
||||||
|
|
||||||
while (padev->mInBuffer.peek_read() > 0)
|
while (padev->mInBuffer.peek_read() > 0)
|
||||||
{
|
{
|
||||||
data.data_in = (const float*)padev->mInBuffer.front();
|
data.data_in = (float*)padev->mInBuffer.front();
|
||||||
data.input_frames = padev->mInBuffer.peek_read<float>() / padev->GetChannels();
|
data.input_frames = padev->mInBuffer.peek_read<float>() / padev->GetChannels();
|
||||||
data.data_out = pBegin;
|
data.data_out = pBegin;
|
||||||
data.output_frames = (pEnd - pBegin) / padev->GetChannels();
|
data.output_frames = (pEnd - pBegin) / padev->GetChannels();
|
||||||
|
|
Loading…
Reference in New Issue