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

Unified Diff: content/browser/renderer_host/media/audio_sync_reader.h

Issue 163343002: Reland 153623004: Remove the unified IO code on the browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the cras bot Created 6 years, 10 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
Index: content/browser/renderer_host/media/audio_sync_reader.h
diff --git a/content/browser/renderer_host/media/audio_sync_reader.h b/content/browser/renderer_host/media/audio_sync_reader.h
index f3a2833b14efd5f81a136d6259ba5dce25fe1350..f7db13c6f01d22484cc84d729cf9e67458e18779 100644
--- a/content/browser/renderer_host/media/audio_sync_reader.h
+++ b/content/browser/renderer_host/media/audio_sync_reader.h
@@ -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_;
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/browser/renderer_host/media/audio_sync_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698