summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.h
diff options
context:
space:
mode:
authorkxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-01 17:41:43 +0000
committerkxing@chromium.org <kxing@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-01 17:41:43 +0000
commitabad505506cdee422daaeb6f3de37b15393058f8 (patch)
treee6312b9f1137989bdce6833df2f3cc19943a2e05 /remoting/host/chromoting_host.h
parentca254112419d316f0e89c92d6dc9487fc80bebf1 (diff)
downloadchromium_src-abad505506cdee422daaeb6f3de37b15393058f8.zip
chromium_src-abad505506cdee422daaeb6f3de37b15393058f8.tar.gz
chromium_src-abad505506cdee422daaeb6f3de37b15393058f8.tar.bz2
Piping for audio encoding.
Review URL: https://chromiumcodereview.appspot.com/10836017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.h')
-rw-r--r--remoting/host/chromoting_host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 713f969..ee745c8 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -31,6 +31,7 @@ class SessionConfig;
class CandidateSessionConfig;
} // namespace protocol
+class AudioEncoder;
class AudioScheduler;
class ChromotingHostContext;
class DesktopEnvironment;
@@ -165,6 +166,10 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// Creates encoder for the specified configuration.
static Encoder* CreateEncoder(const protocol::SessionConfig& config);
+ // Creates an audio encoder for the specified configuration.
+ static scoped_ptr<AudioEncoder> CreateAudioEncoder(
+ const protocol::SessionConfig& config);
+
virtual ~ChromotingHost();
void StopScreenRecorder();