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

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
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output_impl.cc ('k') | media/audio/audio_device_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_device_thread.h
===================================================================
--- media/audio/audio_device_thread.h (revision 156123)
+++ 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_;
« no previous file with comments | « content/renderer/pepper/pepper_platform_audio_output_impl.cc ('k') | media/audio/audio_device_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698