EXI_DeviceMic: Don't cast away const in Pa_Callback
This commit is contained in:
parent
6eaa1aab5c
commit
5161351ca3
|
@ -59,7 +59,7 @@ static int Pa_Callback(const void* inputBuffer, void* outputBuffer, unsigned lon
|
|||
if (mic->stream_wpos + mic->buff_size_samples > mic->stream_size)
|
||||
mic->stream_wpos = 0;
|
||||
|
||||
s16* buff_in = (s16*)inputBuffer;
|
||||
const s16* buff_in = static_cast<const s16*>(inputBuffer);
|
||||
s16* buff_out = &mic->stream_buffer[mic->stream_wpos];
|
||||
|
||||
if (buff_in == nullptr)
|
||||
|
|
Loading…
Reference in New Issue