Loading include/media/AudioSystem.h +0 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,6 @@ public: static status_t getLatency(audio_io_handle_t output, uint32_t* latency); static bool routedToA2dpOutput(audio_stream_type_t streamType); // return status NO_ERROR implies *buffSize > 0 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t* buffSize); Loading media/libmedia/AudioSystem.cpp +0 −15 Original line number Diff line number Diff line Loading @@ -543,21 +543,6 @@ void AudioSystem::setErrorCallback(audio_error_callback cb) gAudioErrorCallback = cb; } bool AudioSystem::routedToA2dpOutput(audio_stream_type_t streamType) { switch (streamType) { case AUDIO_STREAM_MUSIC: case AUDIO_STREAM_VOICE_CALL: case AUDIO_STREAM_BLUETOOTH_SCO: case AUDIO_STREAM_SYSTEM: return true; default: return false; } } // client singleton for AudioPolicyService binder interface sp<IAudioPolicyService> AudioSystem::gAudioPolicyService; sp<AudioSystem::AudioPolicyServiceClient> AudioSystem::gAudioPolicyServiceClient; Loading Loading
include/media/AudioSystem.h +0 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,6 @@ public: static status_t getLatency(audio_io_handle_t output, uint32_t* latency); static bool routedToA2dpOutput(audio_stream_type_t streamType); // return status NO_ERROR implies *buffSize > 0 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t* buffSize); Loading
media/libmedia/AudioSystem.cpp +0 −15 Original line number Diff line number Diff line Loading @@ -543,21 +543,6 @@ void AudioSystem::setErrorCallback(audio_error_callback cb) gAudioErrorCallback = cb; } bool AudioSystem::routedToA2dpOutput(audio_stream_type_t streamType) { switch (streamType) { case AUDIO_STREAM_MUSIC: case AUDIO_STREAM_VOICE_CALL: case AUDIO_STREAM_BLUETOOTH_SCO: case AUDIO_STREAM_SYSTEM: return true; default: return false; } } // client singleton for AudioPolicyService binder interface sp<IAudioPolicyService> AudioSystem::gAudioPolicyService; sp<AudioSystem::AudioPolicyServiceClient> AudioSystem::gAudioPolicyServiceClient; Loading