bug fix
This commit is contained in:
parent
c52b5d5ef4
commit
81d119ba4a
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ int CSound::Init ( const int iNewPrefMonoBufferSize )
|
|||
// create memory for intermediate audio buffer
|
||||
vecsTmpAudioSndCrdStereo.Init ( iASIOBufferSizeStereo );
|
||||
|
||||
// create and activate ASIO buffers (buffer size in samples)
|
||||
// create and activate ASIO buffers (buffer size in samples),
|
||||
// dispose old buffers (if any)
|
||||
ASIODisposeBuffers();
|
||||
ASIOCreateBuffers ( bufferInfos,
|
||||
2 /* in/out */ * NUM_IN_OUT_CHANNELS /* stereo */,
|
||||
iASIOBufferSizeMono, &asioCallbacks );
|
||||
|
|
Loading…
Reference in a new issue