diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-07-30 10:20:09 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-07-30 19:48:35 +0200 |
commit | 1608059d64532e0461e3bec09b20a71802dcb2aa (patch) | |
tree | 4b12164032a417dc8715760b70fb9d6e73632884 /audio/out/ao.h | |
parent | 0fb7ab62c545032499042dceaacda6741718dd65 (diff) | |
download | mpv-1608059d64532e0461e3bec09b20a71802dcb2aa.tar.bz2 mpv-1608059d64532e0461e3bec09b20a71802dcb2aa.tar.xz |
Revert "audio: add AOCONTROL_UPDATE_MEDIA_ROLE"
The only user of these APIs was ao_pipewire and the logic there got
converted so drop the now dead code.
This reverts commit 3167a77aa38b3700c9a4459fa5fe2f65eef080a8.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h index 0ff4902021..baa8d35a02 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -34,8 +34,6 @@ enum aocontrol { AOCONTROL_SET_MUTE, // Has char* as argument, which contains the desired stream title. AOCONTROL_UPDATE_STREAM_TITLE, - // Has enum aocontrol_media_role* argument, which contains the current media role - AOCONTROL_UPDATE_MEDIA_ROLE, }; // If set, then the queued audio data is the last. Note that after a while, new @@ -60,11 +58,6 @@ enum { AO_INIT_EXCLUSIVE = 1 << 3, }; -enum aocontrol_media_role { - AOCONTROL_MEDIA_ROLE_MUSIC, - AOCONTROL_MEDIA_ROLE_MOVIE, -}; - struct ao_device_desc { const char *name; // symbolic name; will be set on ao->device const char *desc; // verbose human readable name |