This commit is contained in:
Volker Fischer 2008-12-28 22:37:16 +00:00
parent e0f9fab859
commit df4a20d27d

View file

@ -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