From: James Courtier-D. <jcd...@us...> - 2001-09-11 14:10:07
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory usw-pr-cvs1:/tmp/cvs-serv21157/xine-lib/src/xine-engine Modified Files: audio_out.c audio_out.h Log Message: Fix some Floating point exceptions Document return values of audio_out.c:open Index: audio_out.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/audio_out.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- audio_out.c 2001/09/10 21:52:59 1.14 +++ audio_out.c 2001/09/11 14:10:04 1.15 @@ -169,7 +169,7 @@ this->metronom->set_audio_rate(this->metronom, this->audio_step); - return 1; + return this->output_frame_rate; } static void ao_fill_gap (ao_instance_t *this, uint32_t pts_len) { Index: audio_out.h =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/audio_out.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- audio_out.h 2001/09/10 03:04:48 1.14 +++ audio_out.h 2001/09/11 14:10:04 1.15 @@ -127,6 +127,7 @@ uint32_t (*get_capabilities) (ao_instance_t *this); /* for constants see below */ /* open audio driver for audio output */ + * return value: 0:failure, >0:output sample rate int (*open) (ao_instance_t *this, uint32_t bits, uint32_t rate, int mode); |