diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-02 23:01:11 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-03 00:40:02 +0100 |
commit | a3be14683a33211e3e07094246bb3342fc789763 (patch) | |
tree | 1db9298908cffa8906f076b4eec39858e49acb35 /audio/out/ao.h | |
parent | dd287a3276153ec4e43567ed0eddba7d595168cf (diff) | |
download | mpv-a3be14683a33211e3e07094246bb3342fc789763.tar.bz2 mpv-a3be14683a33211e3e07094246bb3342fc789763.tar.xz |
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.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |