summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-09-04 23:31:05 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-09-04 23:31:05 +0000
commit403f01979cef7e03b8322ddb870e3959c8de0f77 (patch)
tree0c40e03354069d59379b924ac9deeee0d17b10d8 /src/xine-engine/audio_decoder.c
parentd1010f51a2cb07ba83d71423ab740a5a0c3d0934 (diff)
downloadxine-lib-403f01979cef7e03b8322ddb870e3959c8de0f77.tar.gz
xine-lib-403f01979cef7e03b8322ddb870e3959c8de0f77.tar.bz2
merging in the new_api branch ... unfortunately video_out / vo_scale is broken now ... matthias/miguel: please fix it :-)
CVS patchset: 2606 CVS date: 2002/09/04 23:31:05
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index b40675912..cabd18b03 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.82 2002/07/26 14:51:23 mroi Exp $
+ * $Id: audio_decoder.c,v 1.83 2002/09/04 23:31:13 guenter Exp $
*
*
* functions that implement audio decoding
@@ -234,7 +234,7 @@ void *audio_decoder_loop (void *this_gen) {
int streamtype = (buf->type>>16) & 0xFF;
- decoder = this->audio_decoder_plugins [streamtype];
+ decoder = get_audio_decoder (this, streamtype);
/* close old decoder of audio type has changed */
@@ -362,19 +362,3 @@ int xine_get_audio_channel (xine_t *this) {
return this->audio_type & 0xFFFF;
}
-void xine_select_audio_channel (xine_t *this, int channel) {
-
- pthread_mutex_lock (&this->xine_lock);
-
- if (channel < -2)
- channel = -2;
-
- this->audio_channel_user = channel;
-
- pthread_mutex_unlock (&this->xine_lock);
-}
-
-int xine_get_audio_selection (xine_t *this) {
-
- return this->audio_channel_user;
-}