diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-26 08:40:35 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-26 08:40:35 +0200 |
commit | c0e7c39e84f528929eb334166fb3daf93793974c (patch) | |
tree | aafb07f00bde20b78fa0f33945df497c0a5d2337 /src/mixer.h | |
parent | e87836cbb0001bec22326667456b20dca9fe2834 (diff) |
Clean up - ready for release.
Diffstat (limited to 'src/mixer.h')
-rw-r--r-- | src/mixer.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mixer.h b/src/mixer.h index 0adcdda..a5e5a98 100644 --- a/src/mixer.h +++ b/src/mixer.h @@ -99,17 +99,22 @@ public: std::vector<std::string> enumValues(); /** - * Get/set mixer volume level in dB. - * On error (no such channel) -INF is returned. + * Set mixer volume level in dB. + * Returns 0 on succes. On error (no such channel) 1 returned. */ int setLevel(int channel, float level); - // 0 on success, 1 on error. + + /** + * Get mixer volume level in dB. + * On error (no such channel) -INF is returned. + */ float level(int channel); typedef struct { float min; float max; } range_t; + /** * Poll the valid volume range of this mixer in dB. */ |