summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-22 22:45:24 +0200
committerwm4 <wm4@nowhere>2013-08-22 22:45:24 +0200
commitcb54c2dda8be8a79e8bc6c658b4815c55bdfc14e (patch)
tree148a1fbe523a1c3155c91576e1b95638f69c57e2
parent1e649f353b159327b67722360cb080354d98230c (diff)
downloadmpv-cb54c2dda8be8a79e8bc6c658b4815c55bdfc14e.tar.bz2
mpv-cb54c2dda8be8a79e8bc6c658b4815c55bdfc14e.tar.xz
ao: remove some leftovers
-rw-r--r--audio/out/ao.c5
-rw-r--r--audio/out/ao.h2
2 files changed, 0 insertions, 7 deletions
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,