diff options
author | 2012-04-26 08:36:24 +0000 | |
---|---|---|
committer | 2012-04-26 08:36:24 +0000 | |
commit | 6105173076e34145ae59489aa8d4fb0c034b5918 (patch) | |
tree | 0686bfe1f26a761eadb9dfb284a172443d5d7afa /src/emu/disound.h | |
parent | cfe980c964d26e602e8a7631497ce4b329fbe262 (diff) |
Separated user gain from input gain. Added more functions to
map inputs and devices to outputs in sound streams. Some
general cleanups in the sound/streaming code.
Diffstat (limited to 'src/emu/disound.h')
-rw-r--r-- | src/emu/disound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/disound.h b/src/emu/disound.h index 8aea952fe3e..393443c628f 100644 --- a/src/emu/disound.h +++ b/src/emu/disound.h @@ -139,7 +139,9 @@ public: int outputs() const; sound_stream *input_to_stream_input(int inputnum, int &stream_inputnum); sound_stream *output_to_stream_output(int outputnum, int &stream_outputnum); + void set_input_gain(int inputnum, float gain); void set_output_gain(int outputnum, float gain); + int inputnum_from_device(device_t &device, int outputnum = 0) const; protected: // optional operation overrides |