From df4a20d27d8f398de08b5fd87296a5cfa8401667 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 28 Dec 2008 22:37:16 +0000 Subject: [PATCH] bug fix --- linux/sound.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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