diff options
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/audio_out.c | 4 | ||||
-rw-r--r-- | src/xine-engine/audio_out.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index 4df9082b3..578847af3 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.14 2001/09/10 21:52:59 guenter Exp $ + * $Id: audio_out.c,v 1.15 2001/09/11 14:10:04 jcdutton Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe <andy@alsaplayer.org> @@ -169,7 +169,7 @@ static int ao_open(ao_instance_t *this, 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) { diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index 83a18a1ce..c6addcfb9 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.h,v 1.14 2001/09/10 03:04:48 guenter Exp $ + * $Id: audio_out.h,v 1.15 2001/09/11 14:10:04 jcdutton Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -127,6 +127,7 @@ struct ao_instance_s { 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); |