diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-30 23:09:25 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-30 23:09:25 +0000 |
commit | 61451b353e19b7df8f259345c404bfd9beee72c4 (patch) | |
tree | f5e21d42a5fc031f0795ededae04a51af2f278e4 /src | |
parent | 2ff4c6b739540f329315bd8c78e09d83b3bd7864 (diff) | |
download | xine-lib-61451b353e19b7df8f259345c404bfd9beee72c4.tar.gz xine-lib-61451b353e19b7df8f259345c404bfd9beee72c4.tar.bz2 |
(hopefully) fixed alsa driver
CVS patchset: 237
CVS date: 2001/06/30 23:09:25
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index fca95f20d..430aaeace 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -24,7 +24,7 @@ * (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk> * * - * $Id: audio_alsa_out.c,v 1.10 2001/06/23 19:45:47 guenter Exp $ + * $Id: audio_alsa_out.c,v 1.11 2001/06/30 23:09:25 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -118,6 +118,7 @@ typedef struct alsa_functions_s { int capabilities; + uint32_t last_audio_vpts; } alsa_functions_t; void write_pause_burst(alsa_functions_t *,int ); @@ -168,6 +169,7 @@ static int ao_open(ao_functions_t *this_gen, uint32_t bits, uint32_t rate, int m this->sync_frames_in_buffer = 0; this->audio_started = 0; this->open_mode = mode; + this->last_audio_vpts = 0; /* * open audio device */ @@ -478,6 +480,8 @@ static int ao_write_audio_data(ao_functions_t *this_gen, return 1; } + this->last_audio_vpts = vpts; + /* * check if these samples "fit" in the audio output buffer |