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

Side by Side Diff: media/audio/android/muteable_audio_output_stream.h

Issue 2466463005: Support (E)AC3 passthrough
Patch Set: Improve CastMediaClient::IsSupportedPassthroughAudio() Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_MUTEABLE_AUDIO_OUTPUT_STREAM_H_
6 #define MEDIA_MUTEABLE_AUDIO_OUTPUT_STREAM_H_
7
8 #include "media/audio/audio_io.h"
9
10 namespace media {
11
12 class MEDIA_EXPORT MuteableAudioOutputStream : public AudioOutputStream {
13 public:
14 // Volume control coming from hardware. It overrides volume when it's
15 // true. Otherwise, use SetVolume(double volume) for scaling.
16 // This is needed because platform voice volume never goes to zero in
17 // COMMUNICATION mode on Android.
18 virtual void SetMute(bool muted) = 0;
19 };
20
21 } // namespace media
22
23 #endif // MEDIA_MUTEABLE_AUDIO_OUTPUT_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698