Loading services/audiopolicy/managerdefault/AudioPolicyManager.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -1088,7 +1088,12 @@ audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) // and AudioSystem::getOutputSamplingRate(). SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs); const audio_io_handle_t output = selectOutput(outputs); audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE; if (stream == AUDIO_STREAM_MUSIC && property_get_bool("audio.deep_buffer.media", false /* default_value */)) { flags = AUDIO_OUTPUT_FLAG_DEEP_BUFFER; } const audio_io_handle_t output = selectOutput(outputs, flags); ALOGV("getOutput() stream %d selected devices %s, output %d", stream, devices.toString().c_str(), output); Loading Loading
services/audiopolicy/managerdefault/AudioPolicyManager.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -1088,7 +1088,12 @@ audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) // and AudioSystem::getOutputSamplingRate(). SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs); const audio_io_handle_t output = selectOutput(outputs); audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE; if (stream == AUDIO_STREAM_MUSIC && property_get_bool("audio.deep_buffer.media", false /* default_value */)) { flags = AUDIO_OUTPUT_FLAG_DEEP_BUFFER; } const audio_io_handle_t output = selectOutput(outputs, flags); ALOGV("getOutput() stream %d selected devices %s, output %d", stream, devices.toString().c_str(), output); Loading