diff options
author | wm4 <wm4@nowhere> | 2014-11-07 15:54:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-07 15:54:35 +0100 |
commit | b814b7ca84a85a6c17c4ab85ae9855afb62bc237 (patch) | |
tree | ced176126a7a58f9b8a6d034d27889f380164d11 /audio/out/internal.h | |
parent | 01141198be2beaec58928355b59ce5882027866e (diff) | |
download | mpv-b814b7ca84a85a6c17c4ab85ae9855afb62bc237.tar.bz2 mpv-b814b7ca84a85a6c17c4ab85ae9855afb62bc237.tar.xz |
audio: add --audio-client-name option
The main need I see for this is with libmpv - it would be confusing if
some application showed up as "mpv" on whateverthehell PulseAudio uses
it for (generally it does show up on various PA GUI tools).
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h index fd45a4a581..8ba789f603 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -49,6 +49,9 @@ struct ao { // default device should be used, this is set to NULL. char *device; + // Application name to report to the audio API. + char *client_name; + // Used during init: if init fails, redirect to this ao char *redirect; |