diff options
Diffstat (limited to 'webrtc/modules/audio_device/android/audio_manager.h')
-rw-r--r-- | webrtc/modules/audio_device/android/audio_manager.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/webrtc/modules/audio_device/android/audio_manager.h b/webrtc/modules/audio_device/android/audio_manager.h index 5f23147b8a..26caf61afe 100644 --- a/webrtc/modules/audio_device/android/audio_manager.h +++ b/webrtc/modules/audio_device/android/audio_manager.h @@ -19,8 +19,8 @@ #include "webrtc/modules/audio_device/audio_device_config.h" #include "webrtc/modules/audio_device/include/audio_device_defines.h" #include "webrtc/modules/audio_device/audio_device_generic.h" -#include "webrtc/modules/utility/interface/helpers_android.h" -#include "webrtc/modules/utility/interface/jvm_android.h" +#include "webrtc/modules/utility/include/helpers_android.h" +#include "webrtc/modules/utility/include/jvm_android.h" namespace webrtc { @@ -93,8 +93,6 @@ class AudioManager { // webrtc::kHighLatencyModeDelayEstimateInMilliseconds. int GetDelayEstimateInMilliseconds() const; - int OutputStreamType() const { return output_stream_type_; } - private: // Called from Java side so we can cache the native audio parameters. // This method will be called by the WebRtcAudioManager constructor, i.e. @@ -109,7 +107,6 @@ class AudioManager { jboolean low_latency_output, jint output_buffer_size, jint input_buffer_size, - jint output_stream_type, jlong native_audio_manager); void OnCacheAudioParameters(JNIEnv* env, jint sample_rate, @@ -119,8 +116,7 @@ class AudioManager { jboolean hardware_ns, jboolean low_latency_output, jint output_buffer_size, - jint input_buffer_size, - jint output_stream_type); + jint input_buffer_size); // Stores thread ID in the constructor. // We can then use ThreadChecker::CalledOnValidThread() to ensure that @@ -159,13 +155,6 @@ class AudioManager { // device supports low-latency output or not. int delay_estimate_in_milliseconds_; - // Contains the output stream type provided to this class at construction by - // the AudioManager in Java land. Possible values are: - // - AudioManager.STREAM_VOICE_CALL = 0 - // - AudioManager.STREAM_RING = 2 - // - AudioManager.STREAM_MUSIC = 3 - int output_stream_type_; - // Contains native parameters (e.g. sample rate, channel configuration). // Set at construction in OnCacheAudioParameters() which is called from // Java on the same thread as this object is created on. |