From a3be14683a33211e3e07094246bb3342fc789763 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 2 Feb 2015 23:01:11 +0100 Subject: command: add property returning detected audio device This can be useful to adjust some other audio related properties at runtime depending on the audio device being used. --- audio/out/ao.h | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/out/ao.h') diff --git a/audio/out/ao.h b/audio/out/ao.h index f1c922ae69..dbbed24873 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -79,6 +79,7 @@ void ao_uninit(struct ao *ao); void ao_get_format(struct ao *ao, struct mp_audio *format); const char *ao_get_name(struct ao *ao); const char *ao_get_description(struct ao *ao); +const char *ao_get_detected_device(struct ao *ao); bool ao_untimed(struct ao *ao); int ao_play(struct ao *ao, void **data, int samples, int flags); int ao_control(struct ao *ao, enum aocontrol cmd, void *arg); -- cgit v1.2.3