diff options
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao.c | 7 | ||||
-rw-r--r-- | audio/out/ao.h | 1 | ||||
-rw-r--r-- | audio/out/internal.h | 3 |
3 files changed, 0 insertions, 11 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) { diff --git a/audio/out/ao.h b/audio/out/ao.h index fbbd76fee8..116733fb39 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -112,7 +112,6 @@ struct ao_hotplug *ao_hotplug_create(struct mpv_global *global, void *wakeup_ctx); void ao_hotplug_destroy(struct ao_hotplug *hp); bool ao_hotplug_check_update(struct ao_hotplug *hp); -const char *ao_hotplug_get_detected_device(struct ao_hotplug *hp); struct ao_device_list *ao_hotplug_get_device_list(struct ao_hotplug *hp); void ao_print_devices(struct mpv_global *global, struct mp_log *log); diff --git a/audio/out/internal.h b/audio/out/internal.h index 28deefe128..a6fcf7c5f6 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -61,9 +61,6 @@ struct ao { // default device should be used, this is set to NULL. char *device; - // Device actually chosen by the AO - char *detected_device; - // Application name to report to the audio API. char *client_name; |