Commit cc125288 authored by rbencina's avatar rbencina

fix assertion failures with blocking io in ASIO host api. host buffer formats...

fix assertion failures with blocking io in ASIO host api. host buffer formats were not inited with non-interleaved flag in parameters to blocking i/o buffer processor

git-svn-id: https://subversion.assembla.com/svn/portaudio/portaudio/trunk@1879 0f58301d-fd10-0410-b4af-bbb618454e57
parent c9b6dbd0
......@@ -2454,10 +2454,10 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi,
result = PaUtil_InitializeBufferProcessor( &stream->bufferProcessor ,
inputChannelCount ,
inputSampleFormat & ~paNonInterleaved , /* Ring buffer. */
hostInputSampleFormat , /* Host format. */
(hostInputSampleFormat | paNonInterleaved), /* Host format. */
outputChannelCount ,
outputSampleFormat & ~paNonInterleaved, /* Ring buffer. */
hostOutputSampleFormat , /* Host format. */
(hostOutputSampleFormat | paNonInterleaved), /* Host format. */
sampleRate ,
streamFlags ,
framesPerBuffer , /* Frames per ring buffer block. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment