Added sound volume slider to HLE sound plugin, currently DSound only, unless someone wants to add it to OpenAL :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3262 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2009-05-18 19:24:46 +00:00
parent 19face94b1
commit fa86f37fc3
8 changed files with 165 additions and 82 deletions

View File

@ -42,6 +42,7 @@ class DSound : public SoundStream
int bufferSize; //i bytes
int totalRenderedBytes;
int m_volume;
// playback position
int currentPos;
@ -73,6 +74,7 @@ public:
virtual bool Start();
virtual void SoundLoop();
virtual void SetVolume(int volume);
virtual void Stop();
static bool isValid() { return true; }
virtual bool usesMixer() const { return true; }