summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.h
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2006-03-07 08:03:08 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2006-03-07 08:03:08 +0000
commit013d38071c3579a2006baf107b9f43cbef0bc569 (patch)
tree67a1d3e9b18985e995f82f6b2138f5937052a49e /src/xine-engine/audio_out.h
parentfffa38ba786165e6c4f3c449ec29e3bdc6be0820 (diff)
downloadxine-lib-013d38071c3579a2006baf107b9f43cbef0bc569.tar.gz
xine-lib-013d38071c3579a2006baf107b9f43cbef0bc569.tar.bz2
Fixed channels to mode translation in audio decoders.
Patch from Chris Brien. CVS patchset: 7922 CVS date: 2006/03/07 08:03:08
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r--src/xine-engine/audio_out.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h
index 853c338ca..7754ff3a7 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.75 2005/09/11 22:07:48 miguelfreitas Exp $
+ * $Id: audio_out.h,v 1.76 2006/03/07 08:03:29 tmattern Exp $
*/
#ifndef HAVE_AUDIO_OUT_H
#define HAVE_AUDIO_OUT_H
@@ -293,6 +293,10 @@ xine_audio_port_t *_x_ao_new_port (xine_t *xine, ao_driver_t *driver, int grab_o
* converts the audio output mode into the number of channels
*/
int _x_ao_mode2channels( int mode );
+/*
+ * converts the number of channels into the audio output mode
+ */
+int _x_ao_channels2mode( int channels );
#define AO_CAP_MIXER_VOL 0x00000100 /* driver supports mixer control */
#define AO_CAP_PCM_VOL 0x00000200 /* driver supports pcm control */