Add an interface for accepting keypress signals to AudioProcessing.

R=aluebs@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/8429004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5529 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org
2014-02-11 20:52:30 +00:00
parent aa1278de46
commit 75dd2885c5
6 changed files with 27 additions and 3 deletions

View File

@ -76,6 +76,8 @@ class AudioProcessingImpl : public AudioProcessing {
virtual int stream_delay_ms() const OVERRIDE;
virtual void set_delay_offset_ms(int offset) OVERRIDE;
virtual int delay_offset_ms() const OVERRIDE;
virtual void set_stream_key_pressed(bool key_pressed) OVERRIDE;
virtual bool stream_key_pressed() const OVERRIDE;
virtual int StartDebugRecording(
const char filename[kMaxFilenameSize]) OVERRIDE;
virtual int StartDebugRecording(FILE* handle) OVERRIDE;
@ -134,6 +136,8 @@ class AudioProcessingImpl : public AudioProcessing {
int num_reverse_channels_;
int num_input_channels_;
int num_output_channels_;
bool key_pressed_;
};
} // namespace webrtc