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 );
|
CSoundBase::Init ( iCoreAudioBufferSizeMono );
|
||||||
|
|
||||||
// set internal buffer size value and calculate stereo buffer size
|
// set internal buffer size value and calculate stereo buffer size
|
||||||
iCoreAudioBufferSizeStero = 2 * iCoreAudioBufferSizeMono;
|
iCoreAudioBufferSizeStereo = 2 * iCoreAudioBufferSizeMono;
|
||||||
|
|
||||||
// create memory for intermediate audio buffer
|
// create memory for intermediate audio buffer
|
||||||
vecsTmpAudioSndCrdStereo.Init ( iCoreAudioBufferSizeStero );
|
vecsTmpAudioSndCrdStereo.Init ( iCoreAudioBufferSizeStereo );
|
||||||
|
|
||||||
// fill audio unit buffer struct
|
// fill audio unit buffer struct
|
||||||
pBufferList->mNumberBuffers = 1;
|
pBufferList->mNumberBuffers = 1;
|
||||||
|
|
|
@ -49,7 +49,7 @@ public:
|
||||||
// to access them from the callback function
|
// to access them from the callback function
|
||||||
CVector<short> vecsTmpAudioSndCrdStereo;
|
CVector<short> vecsTmpAudioSndCrdStereo;
|
||||||
int iCoreAudioBufferSizeMono;
|
int iCoreAudioBufferSizeMono;
|
||||||
int iCoreAudioBufferSizeStero;
|
int iCoreAudioBufferSizeStereo;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual QString LoadAndInitializeDriver ( int iIdx );
|
virtual QString LoadAndInitializeDriver ( int iIdx );
|
||||||
|
|
Loading…
Reference in a new issue