Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / browser / renderer_host / media / audio_sync_reader.h
index f3a2833..f7db13c 100644 (file)
@@ -26,8 +26,7 @@ namespace content {
 class AudioSyncReader : public media::AudioOutputController::SyncReader {
  public:
   AudioSyncReader(base::SharedMemory* shared_memory,
-                  const media::AudioParameters& params,
-                  int input_channels);
+                  const media::AudioParameters& params);
 
   virtual ~AudioSyncReader();
 
@@ -52,9 +51,6 @@ class AudioSyncReader : public media::AudioOutputController::SyncReader {
 
   const base::SharedMemory* const shared_memory_;
 
-  // Number of input channels for synchronized I/O.
-  const int input_channels_;
-
   // Mutes all incoming samples. This is used to prevent audible sound
   // during automated testing.
   const bool mute_audio_;
@@ -69,9 +65,6 @@ class AudioSyncReader : public media::AudioOutputController::SyncReader {
   // Shared memory wrapper used for transferring audio data to Read() callers.
   scoped_ptr<media::AudioBus> output_bus_;
 
-  // Shared memory wrapper used for transferring audio data from Read() callers.
-  scoped_ptr<media::AudioBus> input_bus_;
-
   // Maximum amount of audio data which can be transferred in one Read() call.
   const int packet_size_;