summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-08-25 07:12:16 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-08-25 07:12:16 +0000
commitf3265672dc2071d68740903a6b562e9d988f6343 (patch)
tree6977dfc982230238363ced4cc637299e836082e6 /src/xine-engine/audio_decoder.c
parent1129dc86b5e2e39167f20a9db3cc13caedbb5df8 (diff)
downloadxine-lib-f3265672dc2071d68740903a6b562e9d988f6343.tar.gz
xine-lib-f3265672dc2071d68740903a6b562e9d988f6343.tar.bz2
fixed seeking (back to the old method), implementing true pause function, introducing trick playback (slow motion and fast forward)
CVS patchset: 482 CVS date: 2001/08/25 07:12:16
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 07d64114b..ca701d0ad 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.c
@@ -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_decoder.c,v 1.28 2001/08/15 11:35:47 f1rmb Exp $
+ * $Id: audio_decoder.c,v 1.29 2001/08/25 07:12:16 guenter Exp $
*
*
* functions that implement audio decoding
@@ -116,6 +116,14 @@ void *audio_decoder_loop (void *this_gen) {
break;
default:
+
+ while (this->audio_mute==2) {
+ usleep (50000);
+ }
+
+ if (this->audio_mute)
+ break;
+
if ( (buf->type & 0xFF000000) == BUF_AUDIO_BASE ) {
/* printf ("audio_decoder: got an audio buffer, type %08x\n", buf->type); */