bug fix
This commit is contained in:
parent
edc72bf60e
commit
5a68ff676d
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ void CClient::Init()
|
||||||
// TEST (we assume here that "iMonoBlockSizeSam" is divisible by
|
// TEST (we assume here that "iMonoBlockSizeSam" is divisible by
|
||||||
// "SYSTEM_FRAME_SIZE_SAMPLES")
|
// "SYSTEM_FRAME_SIZE_SAMPLES")
|
||||||
// calculate actual frame size factor
|
// calculate actual frame size factor
|
||||||
iSndCrdFrameSizeFactor = iMonoBlockSizeSam / SYSTEM_FRAME_SIZE_SAMPLES;
|
iSndCrdFrameSizeFactor = max ( 1, iMonoBlockSizeSam / SYSTEM_FRAME_SIZE_SAMPLES );
|
||||||
|
|
||||||
|
|
||||||
vecsAudioSndCrdMono.Init ( iMonoBlockSizeSam );
|
vecsAudioSndCrdMono.Init ( iMonoBlockSizeSam );
|
||||||
|
|
Loading…
Reference in a new issue