|
Implement GetAudioOutputDevices for remaining platforms, consolidate tests.
For Android and Cras, returning just the default device matches
current behavior for input devices, although this may need to be
improved in the future. For OpenBSD, the current code seems to rely on
the device names list being empty, so just removing the NOTREACHED() in
AudioManagerBase's empty implementation does the trick there.
Note that audio_input_device_unittest.cc really should be named
audio_manager_unittest.cc since AudioManager is the interface it tests.
I will do this rename in a separate follow-up change to better
preserve change history.
TBR=vrk@chromium.org
BUG= 276894
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223342
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+217 lines, -210 lines) |
Patch |
 |
M |
media/audio/android/audio_manager_android.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/audio/android/audio_manager_android.cc
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_input_device_unittest.cc
|
View
|
1
2
3
|
11 chunks |
+156 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/audio/audio_manager_base.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
media/audio/audio_manager_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -145 lines |
0 comments
|
Download
|
 |
M |
media/audio/cras/audio_manager_cras.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/audio/cras/audio_manager_cras.cc
|
View
|
1
2
3
4
|
3 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/audio/linux/audio_manager_linux.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/linux/audio_manager_linux.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/mac/audio_manager_mac.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/mock_audio_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/audio/pulse/audio_manager_pulse.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/audio_manager_win.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/audio/win/device_enumeration_win.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
media/media.gyp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|