summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 19:09:28 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 19:09:28 +0000
commit3ab20f3c57298ee24e15ec802b7e4b2e33598ca0 (patch)
treea10aa65bd80c00b2422f2ed94576677f1b5d2909 /media
parent5e6aacc34dd3f8e9b6483e897fb7da1cf582edcd (diff)
downloadchromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.zip
chromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.tar.gz
chromium_src-3ab20f3c57298ee24e15ec802b7e4b2e33598ca0.tar.bz2
AudioRendererHost send ViewMsg_AudioStreamState
AudioRendererHost should use ViewMsg_AudioStreamState to notify renderer of its state instead of AudioOutputStream::State. The enum of AudioOutputStream::State is not used anywhere, thus removed. TEST=unit_tests --gtest_filter=Audio* Review URL: http://codereview.chromium.org/165255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/audio/audio_output.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/media/audio/audio_output.h b/media/audio/audio_output.h
index 14c0828..f27858b 100644
--- a/media/audio/audio_output.h
+++ b/media/audio/audio_output.h
@@ -41,15 +41,6 @@
// a given AudioOutputStream might or might not talk directly to hardware.
class AudioOutputStream {
public:
- enum State {
- STATE_CREATED = 0, // The output stream is created.
- STATE_STARTED, // The output stream is started.
- STATE_PAUSED, // The output stream is paused.
- STATE_STOPPED, // The output stream is stopped.
- STATE_CLOSED, // The output stream is closed.
- STATE_ERROR, // The output stream is in error state.
- };
-
// Audio sources must implement AudioSourceCallback. This interface will be
// called in a random thread which very likely is a high priority thread. Do
// not rely on using this thread TLS or make calls that alter the thread