summaryrefslogtreecommitdiffstats
path: root/audio/out/ao.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-09 15:48:47 +0200
committerwm4 <wm4@nowhere>2017-10-09 15:48:47 +0200
commitb6af3db5680586c209bae53a7eb779ad0d38edc8 (patch)
tree8f1a73aed6223ac70de94ff6e48e51450ac244af /audio/out/ao.c
parent622610bad50c48da106b58d458b3598aaf4a493b (diff)
downloadmpv-b6af3db5680586c209bae53a7eb779ad0d38edc8.tar.bz2
mpv-b6af3db5680586c209bae53a7eb779ad0d38edc8.tar.xz
command: drop "audio-out-detected-device" property
Coreaudio stopped setting it a few releases ago (66a958bb4fa). There is not much of a user- or API-visible change, so remove it without deprecation.
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r--audio/out/ao.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index c38c04c6a9..da2dacdcae 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -550,13 +550,6 @@ bool ao_hotplug_check_update(struct ao_hotplug *hp)
return false;
}
-const char *ao_hotplug_get_detected_device(struct ao_hotplug *hp)
-{
- if (!hp || !hp->ao)
- return NULL;
- return hp->ao->detected_device;
-}
-
// The return value is valid until the next call to this API.
struct ao_device_list *ao_hotplug_get_device_list(struct ao_hotplug *hp)
{