diff options
author | wm4 <wm4@nowhere> | 2013-11-10 00:49:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-10 00:49:13 +0100 |
commit | 1a5c863a326f775d94dd995155d1d78448aef6d1 (patch) | |
tree | 5e6eefff5aa747dd5e1868888ba95a9c5d5105c0 /audio/out/ao.h | |
parent | 87ab30669c07ec4282cafb0f7ce86015a64b5cc0 (diff) | |
download | mpv-1a5c863a326f775d94dd995155d1d78448aef6d1.tar.bz2 mpv-1a5c863a326f775d94dd995155d1d78448aef6d1.tar.xz |
player: set PulseAudio stream title to window title
Set the PulseAudio stream title, just like the VO window title is set.
Refactor update_vo_window_title() so that we can use it for AOs too.
The ao_pulse.c bit is stolen from MPlayer.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h index 7e7b6968bb..c6ad5455d2 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -34,6 +34,8 @@ enum aocontrol { // _MUTE commands take a pointer to bool AOCONTROL_GET_MUTE, AOCONTROL_SET_MUTE, + // Has char* as argument, which contains the desired stream title. + AOCONTROL_UPDATE_STREAM_TITLE, }; #define AOPLAY_FINAL_CHUNK 1 |