annotate gui/Makefile @ 24590:2c238fa777ff

ao_alsa: Fix get_space() return values larger than buffersize After a buffer underrun the ALSA get_space() function sometimes returned values larger than the ao had set in ao_data.buffersize. Fix this by replacing the old check against MAX_OUTBURST by one against ao_data.buffersize. There should be no need for the MAX_OUTBURST check; the current MPlayer side should no longer have any constant limit on the amount of data an ao can buffer or request at once. The get_space() values larger than ao_data.buffersize triggered errors in audio decoding causing the current attempt to fill audio buffers to be aborted. I'm not sure how often that caused behavior noticeably worse then an underrun already is.
author uau
date Mon, 24 Sep 2007 21:49:58 +0000
parents 6cd7f1c23d90
children 8a0adeba5910
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
1 include ../config.mak
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
2
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
3 LIBNAME_MPLAYER = libgui.a
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
4
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
5 #CFLAGS += -DDEBUG
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
6
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
7 ifeq ($(TARGET_WIN32),yes)
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
8 SRCS_MPLAYER = win32/dialogs.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
9 win32/gui.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
10 win32/interface.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
11 win32/playlist.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
12 win32/preferences.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
13 win32/skinload.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
14 win32/widgetrender.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
15 win32/wincfg.c \
23266
6cd7f1c23d90 Reuse linux code for reading png images for windows Gui,
reimar
parents: 23077
diff changeset
16 bitmap.c \
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
17
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
18 else
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
19 SRCS_MPLAYER = wm/ws.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
20 wm/wsxdnd.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21 app.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
22 interface.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
23 cfg.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
24 bitmap.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
25 skin/skin.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
26 skin/font.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
27 skin/cut.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
28 mplayer/widgets.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29 mplayer/play.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
30 mplayer/mw.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
31 mplayer/sw.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
32 mplayer/menu.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
33 mplayer/pb.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
34 mplayer/common.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
35 mplayer/gtk/menu.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
36 mplayer/gtk/mb.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
37 mplayer/gtk/about.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
38 mplayer/gtk/pl.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
39 mplayer/gtk/sb.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
40 mplayer/gtk/fs.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41 mplayer/gtk/opts.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
42 mplayer/gtk/url.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
43 mplayer/gtk/eq.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44 mplayer/gtk/common.c \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
45
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46 endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
47
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
48 include ../mpcommon.mak
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
49
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
50 clean::
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
51 rm -f mplayer/*.o mplayer/*~ mplayer/gtk/*.o mplayer/gtk/*~ \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52 skin/*.o skin/*~ \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
53 wm/*.o wm/*~ \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54 win32/*.o win32/*~ \