Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: media/audio/linux/alsa_output.h

Issue 159380: Software volume control hook-up in linux. (Closed)
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/linux/alsa_output.cc » ('j') | media/audio/linux/alsa_output.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/linux/alsa_output.h
diff --git a/media/audio/linux/alsa_output.h b/media/audio/linux/alsa_output.h
index 850ab7f8d442fc1786f3b8a52b393040e1a2c075..2b619c0d1a684d92185664ae45f13cdcf4a53ff6 100644
--- a/media/audio/linux/alsa_output.h
+++ b/media/audio/linux/alsa_output.h
@@ -159,6 +159,9 @@ class AlsaPCMOutputStream :
// Flag indicating that the resources are already cleaned.
bool resources_released_;
+ // Volume level from 0 to 1.
+ float volume_;
+
DISALLOW_COPY_AND_ASSIGN(AlsaPCMOutputStream);
};
« no previous file with comments | « no previous file | media/audio/linux/alsa_output.cc » ('j') | media/audio/linux/alsa_output.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698