summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-08-21 18:52:31 +0300
committerwm4 <wm4@nowhere>2012-09-18 21:04:46 +0200
commit435d7c97c900a53adedcca32b07bb4a9a5f890d3 (patch)
tree24734f7004cfc6da51b1b60b5e850449e32b7f7c /libao2
parentd21b109bf7d3f36c13298d794c856eff834946c3 (diff)
downloadmpv-435d7c97c900a53adedcca32b07bb4a9a5f890d3.tar.bz2
mpv-435d7c97c900a53adedcca32b07bb4a9a5f890d3.tar.xz
cleanup: remove pointless #defines
Remove the following #defines, which should never change in practice: CONFIG_FAKE_MONO, OUTBURST, FAST_OSD, FAST_OSD_TABLE The configure script hardcoded these to particular values in config.h. They could only be changed by manually editing it. I don't think anyone would want to. X11_FULLSCREEN This once did something, but became meaningless years ago and was now always set to true if the files using it were compiled at all. Conflicts: configure libvo/osd.c libvo/vo_gl.c Merged from mplayer2. The OSD defines were already removed in this fork.
Diffstat (limited to 'libao2')
-rw-r--r--libao2/audio_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/audio_out.c b/libao2/audio_out.c
index 740ee94a63..1ebb0cc4c3 100644
--- a/libao2/audio_out.c
+++ b/libao2/audio_out.c
@@ -97,7 +97,7 @@ void list_audio_out(void)
struct ao *ao_create(struct MPOpts *opts, struct input_ctx *input)
{
struct ao *r = talloc(NULL, struct ao);
- *r = (struct ao){.outburst = OUTBURST, .buffersize = -1,
+ *r = (struct ao){.outburst = 512, .buffersize = -1,
.opts = opts, .input_ctx = input };
return r;
}