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

Unified Diff: remoting/host/audio_capturer.h

Issue 10836017: Piping for audio encoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some style issues Created 8 years, 5 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: remoting/host/audio_capturer.h
diff --git a/remoting/host/audio_capturer.h b/remoting/host/audio_capturer.h
index 1c456c14ce8a666b3c1696205430153506b4d1bd..c03b09b03d612b6e769d8f2fd53211ca9c9a8266 100644
--- a/remoting/host/audio_capturer.h
+++ b/remoting/host/audio_capturer.h
@@ -10,12 +10,12 @@
namespace remoting {
-class AudioPacket;
+class AudioCaptureData;
class AudioCapturer {
public:
- typedef base::Callback<void(scoped_ptr<AudioPacket> packet)>
- PacketCapturedCallback;
+ typedef base::Callback<void(scoped_ptr<AudioCaptureData> capture_data)>
+ AudioSamplesCapturedCallback;
virtual ~AudioCapturer() {}
@@ -24,7 +24,7 @@ class AudioCapturer {
// Capturers should sample at a 44.1 or 48 kHz sampling rate, in uncompressed
// PCM stereo format. Capturers may choose the number of frames per packet.
// Returns true on success.
- virtual bool Start(const PacketCapturedCallback& callback) = 0;
+ virtual bool Start(const AudioSamplesCapturedCallback& callback) = 0;
// Stops the audio capturer, and frees the OS-specific audio capture
// resources.
virtual void Stop() = 0;

Powered by Google App Engine
This is Rietveld 408576698