Adds support for detection of pro-audio support on Android.
A new API is added which enables detection of support of pro-audio on Android. This is part of a larger change and the new API is not used yet. Most likely it will only be used for logging purposes. BUG=webrtc:5925 Review-Url: https://codereview.webrtc.org/2015483002 Cr-Commit-Position: refs/heads/master@{#12890}
This commit is contained in:
@ -77,6 +77,11 @@ TEST_F(AudioManagerTest, IsLowLatencyPlayoutSupported) {
|
||||
audio_manager()->IsLowLatencyPlayoutSupported() ? "Yes" : "No");
|
||||
}
|
||||
|
||||
TEST_F(AudioManagerTest, IsProAudioSupported) {
|
||||
PRINT("%sPro audio support: %s\n", kTag,
|
||||
audio_manager()->IsProAudioSupported() ? "Yes" : "No");
|
||||
}
|
||||
|
||||
TEST_F(AudioManagerTest, ShowAudioParameterInfo) {
|
||||
const bool low_latency_out = audio_manager()->IsLowLatencyPlayoutSupported();
|
||||
PRINT("PLAYOUT:\n");
|
||||
|
||||
Reference in New Issue
Block a user