diff --git a/src/drivers/win/OutputDS.cpp b/src/drivers/win/OutputDS.cpp index e483a447..45bfc377 100644 --- a/src/drivers/win/OutputDS.cpp +++ b/src/drivers/win/OutputDS.cpp @@ -36,7 +36,9 @@ public: if(ds_buf) ds_buf->Release(); } - DSVoice(OAKRA_Module_OutputDS *driver, OAKRA_Format &format, IDirectSound *ds_dev, bool global) { + DSVoice(OAKRA_Module_OutputDS *driver, OAKRA_Format &format, IDirectSound *ds_dev, bool global) + : ds_buf(0) + { this->driver = driver; vol = 255; pan = 0;