diff options
| author | phintuka <phintuka> | 2012-01-09 07:36:52 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2012-01-09 07:36:52 +0000 |
| commit | 2aa3cab518a9d28b030b9dcddf417c1a503427d8 (patch) | |
| tree | 959de8a4495571fdfac3438b2aaf9f44b194a855 | |
| parent | 52a9a19b35766c1a486b7498e634603adce6dd52 (diff) | |
| download | xineliboutput-2aa3cab518a9d28b030b9dcddf417c1a503427d8.tar.gz xineliboutput-2aa3cab518a9d28b030b9dcddf417c1a503427d8.tar.bz2 | |
Removed xine-lib version based checks from audio out branch code
| -rw-r--r-- | xine_post_audiochannel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xine_post_audiochannel.c b/xine_post_audiochannel.c index 16d5ad15..1c95f6f1 100644 --- a/xine_post_audiochannel.c +++ b/xine_post_audiochannel.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_post_audiochannel.c,v 1.8 2012-01-08 11:16:33 rofafor Exp $ + * $Id: xine_post_audiochannel.c,v 1.9 2012-01-09 07:36:52 phintuka Exp $ * */ @@ -70,7 +70,7 @@ typedef struct audioch_post_plugin_s /* * Port functions */ -#if XINE_VERSION_CODE <= 10200 +#if 1 static int audioch_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode) #else @@ -85,7 +85,7 @@ static int audioch_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, _x_post_inc_usage(port); port->stream = stream; -#if XINE_VERSION_CODE <= 10200 +#if 1 port->bits = bits; port->rate = rate; port->mode = mode; @@ -112,7 +112,7 @@ static void audioch_port_put_buffer (xine_audio_port_t *port_gen, int i; if(this->channels == 2) { -#if XINE_VERSION_CODE <= 10200 +#if 1 int step = buf->format.bits / 8; #else int step = sample_bytes_table[buf->format.sample_format]; @@ -122,7 +122,7 @@ static void audioch_port_put_buffer (xine_audio_port_t *port_gen, newbuf->vpts = buf->vpts; newbuf->frame_header_count = buf->frame_header_count; newbuf->first_access_unit = buf->first_access_unit; -#if XINE_VERSION_CODE <= 10200 +#if 1 newbuf->format.bits = buf->format.bits; newbuf->format.rate = buf->format.rate; newbuf->format.mode = buf->format.mode; |
