summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/audio/linux/alsa_output.cc3
-rw-r--r--media/audio/linux/alsa_output.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/media/audio/linux/alsa_output.cc b/media/audio/linux/alsa_output.cc
index 1b433ba..b4c4dd2 100644
--- a/media/audio/linux/alsa_output.cc
+++ b/media/audio/linux/alsa_output.cc
@@ -210,8 +210,7 @@ static void Swizzle51Layout(Format* b, uint32 filled) {
} // namespace
-// Not in an anonymous namespace so that it can be a friend to
-// AlsaPcmOutputStream.
+// Not in an anonymous so that it can be a friend to AlsaPcmOutputStream.
std::ostream& operator<<(std::ostream& os,
AlsaPcmOutputStream::InternalState state) {
switch (state) {
diff --git a/media/audio/linux/alsa_output.h b/media/audio/linux/alsa_output.h
index 6a2795b..5f54d3b 100644
--- a/media/audio/linux/alsa_output.h
+++ b/media/audio/linux/alsa_output.h
@@ -114,7 +114,6 @@ class AlsaPcmOutputStream :
virtual ~AlsaPcmOutputStream();
- public: // clang workaround
// Flags indicating the state of the stream.
enum InternalState {
kInError = 0,
@@ -124,7 +123,6 @@ class AlsaPcmOutputStream :
kIsStopped,
kIsClosed
};
- private:
friend std::ostream& operator<<(std::ostream& os, InternalState);
// Various tasks that complete actions started in the public API.