fixed a typo in a variable name
This commit is contained in:
parent
3343ea0a77
commit
4fb1db8493
2 changed files with 3 additions and 3 deletions
|
@ -434,10 +434,10 @@ int CSound::Init ( const int iNewPrefMonoBufferSize )
|
|||
CSoundBase::Init ( iCoreAudioBufferSizeMono );
|
||||
|
||||
// set internal buffer size value and calculate stereo buffer size
|
||||
iCoreAudioBufferSizeStero = 2 * iCoreAudioBufferSizeMono;
|
||||
iCoreAudioBufferSizeStereo = 2 * iCoreAudioBufferSizeMono;
|
||||
|
||||
// create memory for intermediate audio buffer
|
||||
vecsTmpAudioSndCrdStereo.Init ( iCoreAudioBufferSizeStero );
|
||||
vecsTmpAudioSndCrdStereo.Init ( iCoreAudioBufferSizeStereo );
|
||||
|
||||
// fill audio unit buffer struct
|
||||
pBufferList->mNumberBuffers = 1;
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
// to access them from the callback function
|
||||
CVector<short> vecsTmpAudioSndCrdStereo;
|
||||
int iCoreAudioBufferSizeMono;
|
||||
int iCoreAudioBufferSizeStero;
|
||||
int iCoreAudioBufferSizeStereo;
|
||||
|
||||
protected:
|
||||
virtual QString LoadAndInitializeDriver ( int iIdx );
|
||||
|
|
Loading…
Reference in a new issue