diff --git a/audio/out/ao.c b/audio/out/ao.c index 5f5ad4d38c..1c7cfcbcae 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -32,10 +32,6 @@ #include "mpvcore/mp_msg.h" #include "mpvcore/mpv_global.h" -// there are some globals: -struct ao *global_ao; -char *ao_subdevice = NULL; - extern const struct ao_driver audio_out_oss; extern const struct ao_driver audio_out_coreaudio; extern const struct ao_driver audio_out_rsound; @@ -47,7 +43,6 @@ extern const struct ao_driver audio_out_alsa; extern const struct ao_driver audio_out_dsound; extern const struct ao_driver audio_out_wasapi; extern const struct ao_driver audio_out_pcm; -extern const struct ao_driver audio_out_pss; extern const struct ao_driver audio_out_lavc; extern const struct ao_driver audio_out_portaudio; extern const struct ao_driver audio_out_sdl; diff --git a/audio/out/ao.h b/audio/out/ao.h index 673a252ccb..85301d79f4 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -96,8 +96,6 @@ struct ao { struct mp_log *log; // Using e.g. "[ao/coreaudio]" as prefix }; -extern char *ao_subdevice; - struct mpv_global; struct ao *ao_init_best(struct mpv_global *global, struct input_ctx *input_ctx,