diff --git a/linux/sound.h b/linux/sound.h index 5225e5ca..e0ba0fa0 100755 --- a/linux/sound.h +++ b/linux/sound.h @@ -49,12 +49,14 @@ public: : rhandle ( NULL ), phandle ( NULL ), iCurPeriodSizeIn ( NUM_PERIOD_BLOCKS_IN ), iCurPeriodSizeOut ( NUM_PERIOD_BLOCKS_OUT ), bChangParamIn ( true ), bChangParamOut ( true ) -#endif { // set internal buffer size for read and write iBufferSizeIn = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size iBufferSizeOut = iNewBufferSizeStereo / NUM_IN_OUT_CHANNELS; // mono size } +#else + {} +#endif virtual ~CSound() { Close(); } // not implemented yet, always return one device and default string