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
This commit is contained in:
parent
b054f44292
commit
b1f0cc8829
1 changed files with 2 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue