bug fix
This commit is contained in:
parent
e0f9fab859
commit
df4a20d27d
1 changed files with 3 additions and 1 deletions
|
@ -49,12 +49,14 @@ public:
|
||||||
: rhandle ( NULL ), phandle ( NULL ), iCurPeriodSizeIn ( NUM_PERIOD_BLOCKS_IN ),
|
: rhandle ( NULL ), phandle ( NULL ), iCurPeriodSizeIn ( NUM_PERIOD_BLOCKS_IN ),
|
||||||
iCurPeriodSizeOut ( NUM_PERIOD_BLOCKS_OUT ), bChangParamIn ( true ),
|
iCurPeriodSizeOut ( NUM_PERIOD_BLOCKS_OUT ), bChangParamIn ( true ),
|
||||||
bChangParamOut ( true )
|
bChangParamOut ( true )
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
// set internal buffer size for read and write
|
// set internal buffer size for read and write
|
||||||
iBufferSizeIn = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size
|
iBufferSizeIn = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size
|
||||||
iBufferSizeOut = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size
|
iBufferSizeOut = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
{}
|
||||||
|
#endif
|
||||||
virtual ~CSound() { Close(); }
|
virtual ~CSound() { Close(); }
|
||||||
|
|
||||||
// not implemented yet, always return one device and default string
|
// not implemented yet, always return one device and default string
|
||||||
|
|
Loading…
Reference in a new issue