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

Unified Diff: media/audio/audio_device_thread.h

Issue 10830268: Allow audio system to handle synchronized low-latency audio I/O (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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: media/audio/audio_device_thread.h
===================================================================
--- media/audio/audio_device_thread.h (revision 155437)
+++ media/audio/audio_device_thread.h (working copy)
@@ -37,6 +37,7 @@
class Callback {
public:
Callback(const AudioParameters& audio_parameters,
+ int input_channels,
base::SharedMemoryHandle memory,
int memory_length);
virtual ~Callback();
@@ -56,11 +57,10 @@
// The variables are 'const' since values are calculated/set in the
// constructor and must never change.
const AudioParameters audio_parameters_;
+ const int input_channels_;
const int samples_per_ms_;
const int bytes_per_ms_;
- // Audio buffers that are allocated in InitializeOnAudioThread() based on
- // info from audio_parameters_.
base::SharedMemory shared_memory_;
const int memory_length_;

Powered by Google App Engine
This is Rietveld 408576698