annotate parser-mpcmd.h @ 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 5385740067a1
children d88f5f82826e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
1 #ifndef _parser_mpcmd_h
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
2 #define _parser_mpcmd_h
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
3
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
4 extern play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv);
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
5
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
6 #endif