summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2003-01-22 22:58:29 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2003-01-22 22:58:29 +0000
commit9348f715eb91755fbf54fb26bd9a01e443d74b0c (patch)
tree4db4631246a4cdd572cad0c0ea7aabf45274b89f
parent7198872f870991af6f2747a5ed9830c558e8cdea (diff)
downloadxine-lib-9348f715eb91755fbf54fb26bd9a01e443d74b0c.tar.gz
xine-lib-9348f715eb91755fbf54fb26bd9a01e443d74b0c.tar.bz2
sb live information provided by Marcel Janssen
CVS patchset: 3992 CVS date: 2003/01/22 22:58:29
-rw-r--r--doc/faq/faq.html389
-rw-r--r--doc/faq/faq.sgml172
-rw-r--r--doc/faq/faq.txt135
3 files changed, 696 insertions, 0 deletions
diff --git a/doc/faq/faq.html b/doc/faq/faq.html
index f8f45d6aa..81faaed8f 100644
--- a/doc/faq/faq.html
+++ b/doc/faq/faq.html
@@ -312,6 +312,41 @@ HREF="#SPDIF"
></DT
><DT
><A
+HREF="#SBLIVESPDIF"
+>Getting SPDIF output from a SBLive 5.1 using OSS drivers</A
+></DT
+><DD
+><DL
+><DT
+><A
+HREF="#AEN357"
+>Requirements</A
+></DT
+><DT
+><A
+HREF="#AEN369"
+>The OSS driver is maintained by creative and can be downloaded at
+ <A
+HREF="http://opensource.creative.com/"
+TARGET="_top"
+> http://opensource.creative.com/ </A
+></A
+></DT
+><DT
+><A
+HREF="#AEN391"
+>Setting up xine for SPDIF (AC3_passthrough) output</A
+></DT
+><DT
+><A
+HREF="#AEN396"
+>The cable used for the SBLive can easily be self-made
+ or buy a stereo 3.5mm jack to dual RCA cable.</A
+></DT
+></DL
+></DD
+><DT
+><A
HREF="#VOLUMECONTROL"
>Changing the volume with the GUI control has no effect! What's up!?</A
></DT
@@ -2260,6 +2295,360 @@ CLASS="SECT1"
><HR><H2
CLASS="SECT1"
><A
+NAME="SBLIVESPDIF"
+></A
+>Getting SPDIF output from a SBLive 5.1 using OSS drivers</H2
+><P
+> The following explains how to get the above configuration
+ going with xine. Some parts of it may applicable to other
+ configurations (cards that use the EMU10k1 chip) as well.
+ </P
+><P
+>&#13; </P
+><DIV
+CLASS="SECT2"
+><HR><H3
+CLASS="SECT2"
+><A
+NAME="AEN357"
+></A
+>Requirements</H3
+><P
+></P
+><OL
+TYPE="1"
+><LI
+><P
+> xine-lib &#62;= 1.x.x </P
+></LI
+><LI
+><P
+> OSS driver </P
+></LI
+><LI
+><P
+> An external decoder </P
+></LI
+><LI
+><P
+> A cable to connect the SBLive to the external decoder </P
+></LI
+></OL
+><P
+> The configuration described was tested using the following equipment :
+ Soundblaster live 5.1 (rev 7)
+ Yamaha DSP-AX620 external decoder
+ </P
+></DIV
+><DIV
+CLASS="SECT2"
+><HR><H3
+CLASS="SECT2"
+><A
+NAME="AEN369"
+></A
+>The OSS driver is maintained by creative and can be downloaded at
+ <A
+HREF="http://opensource.creative.com/"
+TARGET="_top"
+> http://opensource.creative.com/ </A
+></H3
+><P
+> The driver package contains documentation on how to install it.
+ Besides that I'd like to add the following notes.
+ </P
+><P
+> In order to compile and install these drivers, you need a valid kernel
+ configuration file. For RedHat Linux's pre-compiled kernels these
+ configuration files can be found in
+ <TT
+CLASS="FILENAME"
+>/usr/src/linux/configs</TT
+>
+ After you've located the correct config file for your kernel,
+ you need to copy it to <TT
+CLASS="FILENAME"
+>/usr/src/linux/.config</TT
+>
+ For example, when you run the 2.4.18-i686 kernel do :
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> cp /usr/src/linux/configs/kernel-2.4.18-i686.config /usr/src/linux/.config
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ Make sure that the emu10k1 module that is currently installed is
+ not loaded. To unload the modules :
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> /sbin/modprobe -rv emu10k1.o ac97_codec.o
+ </PRE
+></TD
+></TR
+></TABLE
+>
+
+ If this mentions that the device is busy, some program is
+ using the driver. Some example could be a mixer application
+ or sound daemon like artsd. You'll need to close down the
+ applications before continuing.
+ At success it should print something like :
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> # delete emu10k1
+ # delete ac97_codec
+ # delete soundcore
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ Run make in the directory where you unpacked the driver and follow the
+ instructions printed at the end of each step.
+ The last step should be:
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> make install-tools
+ </PRE
+></TD
+></TR
+></TABLE
+>
+
+ As the README of the driver package mentions the SPDIF AC3
+ output doesn't work by default. In the directory
+ <TT
+CLASS="FILENAME"
+>utils/scripts</TT
+> an <TT
+CLASS="FILENAME"
+>emu10k1.conf</TT
+>
+ file can be found which need to be placed in the default
+ installation directory (<TT
+CLASS="FILENAME"
+>/usr/local/etc</TT
+>).
+ After this the <TT
+CLASS="FILENAME"
+>emu10k1.conf</TT
+> needs to be modified.
+ The following settings worked fine for me (I don't use the analog
+ outputs of the card) :
+
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> CARD_IS_5_1=yes
+ USE_DIGITAL_OUTPUT=yes
+ ENABLE_TONE_CONTROL=yes
+ AC3PASSTHROUGH=yes
+ ENABLE_LIVEDRIVE_IR=no
+ INVERT_REAR=no
+ MULTICHANNEL=yes
+ ROUTE_ALL_TO_SUB=no
+ ANALOG_FRONT_BOOST=no
+ SURROUND=no
+ PROLOGIC=no
+ ENABLE_CD_Spdif=yes
+ ENABLE_OPTICAL_SPDIF=no
+ ENABLE_LINE2_MIC2=no
+ ENABLE_RCA_SPDIF=no
+ ENABLE_RCA_AUX=no
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ After modifying the <TT
+CLASS="FILENAME"
+>emu10k1.conf</TT
+>,
+ you need to modify your <TT
+CLASS="FILENAME"
+>/etc/modules.conf</TT
+> and
+ make sure the following lines are in there.
+
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> alias sound-slot-0 emu10k1
+ post-install emu10k1 /usr/local/etc/emu-script
+ </PRE
+></TD
+></TR
+></TABLE
+>
+
+ After saving the changes to <TT
+CLASS="FILENAME"
+>modules.conf</TT
+>,
+ run
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> /sbin/depmod -a
+ </PRE
+></TD
+></TR
+></TABLE
+>
+
+ Now, you're ready to load the new modules and set the correct
+ options for it. To load the modules run :
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> /sbin/modprobe emu10k1
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ </P
+></DIV
+><DIV
+CLASS="SECT2"
+><HR><H3
+CLASS="SECT2"
+><A
+NAME="AEN391"
+></A
+>Setting up xine for SPDIF (AC3_passthrough) output</H3
+><P
+> You can either use the config dialog or edit the config file
+ (<TT
+CLASS="FILENAME"
+>~/.xine/config2</TT
+>) yourself:
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> audio.a52_pass_through:1
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ In case the setting is not in the file you can add it.
+ </P
+></DIV
+><DIV
+CLASS="SECT2"
+><HR><H3
+CLASS="SECT2"
+><A
+NAME="AEN396"
+></A
+>The cable used for the SBLive can easily be self-made
+ or buy a stereo 3.5mm jack to dual RCA cable.</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> What you need to make the cable yourself :
+ a) stereo 3.5mm jack plug
+ b) RCA plug
+ c) shielded cable (video coax 75 Ohm will do)
+
+ Connect them as follows :
+
+ center pin jackplug ------|----- center pin RCA plug
+ GND __|__ GND
+ </PRE
+></TD
+></TR
+></TABLE
+><P
+> In order to test it use a DVD with AC3 or DTS track
+ start xine and select the right audio track
+ from user interface or start xine as:
+ <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="100%"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+> xine dvd://1 -a 0
+ </PRE
+></TD
+></TR
+></TABLE
+>
+ The external decoder should display something like
+ "Dolby Digital" in case the
+ selected audio track contains AC3 data or "DTS"
+ in case the selected audio
+ track contains DTS data.
+ Of course stereo audio also goes through the SPDIF output, so the analog
+ outputs of the SBLive 5.1 are not needed anymore.
+ </P
+></DIV
+></DIV
+><DIV
+CLASS="SECT1"
+><HR><H2
+CLASS="SECT1"
+><A
NAME="VOLUMECONTROL"
></A
>Changing the volume with the GUI control has no effect! What's up!?</H2
diff --git a/doc/faq/faq.sgml b/doc/faq/faq.sgml
index c6530b780..497ec73d8 100644
--- a/doc/faq/faq.sgml
+++ b/doc/faq/faq.sgml
@@ -1182,6 +1182,178 @@
</programlisting>
</para>
</sect1>
+ <sect1 id="sblivespdif">
+ <title>Getting SPDIF output from a SBLive 5.1 using OSS drivers</title>
+
+ <para>
+ The following explains how to get the above configuration
+ going with xine. Some parts of it may applicable to other
+ configurations (cards that use the EMU10k1 chip) as well.
+ <para>
+
+ <sect2>
+
+ <title> Requirements </title>
+
+ <orderedlist>
+ <listitem>
+ <para> xine-lib >= 1.x.x </para>
+ </listitem>
+ <listitem>
+ <para> OSS driver </para>
+ </listitem>
+ <listitem>
+ <para> An external decoder </para>
+ </listitem>
+ <listitem>
+ <para> A cable to connect the SBLive to the external decoder </para>
+ </listitem>
+ </orderedlist>
+
+ <para>
+ The configuration described was tested using the following equipment :
+ Soundblaster live 5.1 (rev 7)
+ Yamaha DSP-AX620 external decoder
+ </para>
+ </sect2>
+ <sect2>
+ <title> The OSS driver is maintained by creative and can be downloaded at
+ <ulink url="http://opensource.creative.com/">
+ http://opensource.creative.com/ </ulink> </title>
+
+ <para>
+ The driver package contains documentation on how to install it.
+ Besides that I'd like to add the following notes.
+ </para>
+
+ <para>
+ In order to compile and install these drivers, you need a valid kernel
+ configuration file. For RedHat Linux's pre-compiled kernels these
+ configuration files can be found in
+ <filename>/usr/src/linux/configs</filename>
+ After you've located the correct config file for your kernel,
+ you need to copy it to <filename>/usr/src/linux/.config</filename>
+ For example, when you run the 2.4.18-i686 kernel do :
+ <programlisting>
+ cp /usr/src/linux/configs/kernel-2.4.18-i686.config /usr/src/linux/.config
+ </programlisting>
+ Make sure that the emu10k1 module that is currently installed is
+ not loaded. To unload the modules :
+ <programlisting>
+ /sbin/modprobe -rv emu10k1.o ac97_codec.o
+ </programlisting>
+
+ If this mentions that the device is busy, some program is
+ using the driver. Some example could be a mixer application
+ or sound daemon like artsd. You'll need to close down the
+ applications before continuing.
+ At success it should print something like :
+ <programlisting>
+ # delete emu10k1
+ # delete ac97_codec
+ # delete soundcore
+ </programlisting>
+ Run make in the directory where you unpacked the driver and follow the
+ instructions printed at the end of each step.
+ The last step should be:
+ <programlisting>
+ make install-tools
+ </programlisting>
+
+ As the README of the driver package mentions the SPDIF AC3
+ output doesn't work by default. In the directory
+ <filename>utils/scripts</filename> an <filename>emu10k1.conf</filename>
+ file can be found which need to be placed in the default
+ installation directory (<filename>/usr/local/etc</filename>).
+ After this the <filename>emu10k1.conf</filename> needs to be modified.
+ The following settings worked fine for me (I don't use the analog
+ outputs of the card) :
+
+ <programlisting>
+ CARD_IS_5_1=yes
+ USE_DIGITAL_OUTPUT=yes
+ ENABLE_TONE_CONTROL=yes
+ AC3PASSTHROUGH=yes
+ ENABLE_LIVEDRIVE_IR=no
+ INVERT_REAR=no
+ MULTICHANNEL=yes
+ ROUTE_ALL_TO_SUB=no
+ ANALOG_FRONT_BOOST=no
+ SURROUND=no
+ PROLOGIC=no
+ ENABLE_CD_Spdif=yes
+ ENABLE_OPTICAL_SPDIF=no
+ ENABLE_LINE2_MIC2=no
+ ENABLE_RCA_SPDIF=no
+ ENABLE_RCA_AUX=no
+ </programlisting>
+ After modifying the <filename>emu10k1.conf</filename>,
+ you need to modify your <filename>/etc/modules.conf</filename> and
+ make sure the following lines are in there.
+
+ <programlisting>
+ alias sound-slot-0 emu10k1
+ post-install emu10k1 /usr/local/etc/emu-script
+ </programlisting>
+
+ After saving the changes to <filename>modules.conf</filename>,
+ run
+ <programlisting>
+ /sbin/depmod -a
+ </programlisting>
+
+ Now, you're ready to load the new modules and set the correct
+ options for it. To load the modules run :
+ <programlisting>
+ /sbin/modprobe emu10k1
+ </programlisting>
+ </para>
+ </sect2>
+ <sect2>
+ <title> Setting up xine for SPDIF (AC3_passthrough) output </title>
+
+ <para>
+ You can either use the config dialog or edit the config file
+ (<filename>~/.xine/config2</filename>) yourself:
+ <programlisting>
+ audio.a52_pass_through:1
+ </programlisting>
+ In case the setting is not in the file you can add it.
+ </para>
+ </sect2>
+ <sect2>
+ <title> The cable used for the SBLive can easily be self-made
+ or buy a stereo 3.5mm jack to dual RCA cable. </title>
+
+ <programlisting>
+ What you need to make the cable yourself :
+ a) stereo 3.5mm jack plug
+ b) RCA plug
+ c) shielded cable (video coax 75 Ohm will do)
+
+ Connect them as follows :
+
+ center pin jackplug ------|----- center pin RCA plug
+ GND __|__ GND
+ </programlisting>
+
+ <para>
+ In order to test it use a DVD with AC3 or DTS track
+ start xine and select the right audio track
+ from user interface or start xine as:
+ <programlisting>
+ xine dvd://1 -a 0
+ </programlisting>
+ The external decoder should display something like
+ "Dolby Digital" in case the
+ selected audio track contains AC3 data or "DTS"
+ in case the selected audio
+ track contains DTS data.
+ Of course stereo audio also goes through the SPDIF output, so the analog
+ outputs of the SBLive 5.1 are not needed anymore.
+ </para>
+ </sect2>
+ </sect1>
<sect1 id="volumecontrol">
<title>Changing the volume with the GUI control has no effect! What's up!?</title>
diff --git a/doc/faq/faq.txt b/doc/faq/faq.txt
index a0fb2608f..84644784d 100644
--- a/doc/faq/faq.txt
+++ b/doc/faq/faq.txt
@@ -74,6 +74,15 @@ Table of Contents
When I play this stream, xine shows video but there's no audio!
Can xine produce 4-/5-channel surround audio output?
What about ac3 output via spdif to an external ac3 decoder?
+ Getting SPDIF output from a SBLive 5.1 using OSS drivers
+
+ Requirements
+ The OSS driver is maintained by creative and can be downloaded at http:
+ //opensource.creative.com/
+ Setting up xine for SPDIF (AC3_passthrough) output
+ The cable used for the SBLive can easily be self-made or buy a stereo
+ 3.5mm jack to dual RCA cable.
+
Changing the volume with the GUI control has no effect! What's up!?
Audio is stuttering and i see a lot of "metronom: fixing sound card drift
by -2115 pts" on the console output
@@ -871,6 +880,132 @@ xine can do that too. Pretty much the same story as for 4-/5-channel surround
-------------------------------------------------------------------------------
+Getting SPDIF output from a SBLive 5.1 using OSS drivers
+
+The following explains how to get the above configuration going with xine. Some
+parts of it may applicable to other configurations (cards that use the EMU10k1
+chip) as well.
+
+
+
+-------------------------------------------------------------------------------
+
+Requirements
+
+ 1. xine-lib >= 1.x.x
+
+ 2. OSS driver
+
+ 3. An external decoder
+
+ 4. A cable to connect the SBLive to the external decoder
+
+The configuration described was tested using the following equipment :
+Soundblaster live 5.1 (rev 7) Yamaha DSP-AX620 external decoder
+
+-------------------------------------------------------------------------------
+
+The OSS driver is maintained by creative and can be downloaded at http://
+opensource.creative.com/
+
+The driver package contains documentation on how to install it. Besides that
+I'd like to add the following notes.
+
+In order to compile and install these drivers, you need a valid kernel
+configuration file. For RedHat Linux's pre-compiled kernels these configuration
+files can be found in /usr/src/linux/configs After you've located the correct
+config file for your kernel, you need to copy it to /usr/src/linux/.config For
+example, when you run the 2.4.18-i686 kernel do :
+ cp /usr/src/linux/configs/kernel-2.4.18-i686.config /usr/src/linux/.config
+
+Make sure that the emu10k1 module that is currently installed is not loaded. To
+unload the modules :
+ /sbin/modprobe -rv emu10k1.o ac97_codec.o
+
+If this mentions that the device is busy, some program is using the driver.
+Some example could be a mixer application or sound daemon like artsd. You'll
+need to close down the applications before continuing. At success it should
+print something like :
+ # delete emu10k1
+ # delete ac97_codec
+ # delete soundcore
+
+Run make in the directory where you unpacked the driver and follow the
+instructions printed at the end of each step. The last step should be:
+ make install-tools
+
+As the README of the driver package mentions the SPDIF AC3 output doesn't work
+by default. In the directory utils/scripts an emu10k1.conf file can be found
+which need to be placed in the default installation directory (/usr/local/etc).
+After this the emu10k1.conf needs to be modified. The following settings worked
+fine for me (I don't use the analog outputs of the card) :
+ CARD_IS_5_1=yes
+ USE_DIGITAL_OUTPUT=yes
+ ENABLE_TONE_CONTROL=yes
+ AC3PASSTHROUGH=yes
+ ENABLE_LIVEDRIVE_IR=no
+ INVERT_REAR=no
+ MULTICHANNEL=yes
+ ROUTE_ALL_TO_SUB=no
+ ANALOG_FRONT_BOOST=no
+ SURROUND=no
+ PROLOGIC=no
+ ENABLE_CD_Spdif=yes
+ ENABLE_OPTICAL_SPDIF=no
+ ENABLE_LINE2_MIC2=no
+ ENABLE_RCA_SPDIF=no
+ ENABLE_RCA_AUX=no
+
+After modifying the emu10k1.conf, you need to modify your /etc/modules.conf and
+make sure the following lines are in there.
+ alias sound-slot-0 emu10k1
+ post-install emu10k1 /usr/local/etc/emu-script
+
+After saving the changes to modules.conf, run
+ /sbin/depmod -a
+
+Now, you're ready to load the new modules and set the correct options for it.
+To load the modules run :
+ /sbin/modprobe emu10k1
+
+
+-------------------------------------------------------------------------------
+
+Setting up xine for SPDIF (AC3_passthrough) output
+
+You can either use the config dialog or edit the config file (~/.xine/config2)
+yourself:
+ audio.a52_pass_through:1
+
+In case the setting is not in the file you can add it.
+
+-------------------------------------------------------------------------------
+
+The cable used for the SBLive can easily be self-made or buy a stereo 3.5mm
+jack to dual RCA cable.
+
+ What you need to make the cable yourself :
+ a) stereo 3.5mm jack plug
+ b) RCA plug
+ c) shielded cable (video coax 75 Ohm will do)
+
+ Connect them as follows :
+
+ center pin jackplug ------|----- center pin RCA plug
+ GND __|__ GND
+
+
+In order to test it use a DVD with AC3 or DTS track start xine and select the
+right audio track from user interface or start xine as:
+ xine dvd://1 -a 0
+
+The external decoder should display something like "Dolby Digital" in case the
+selected audio track contains AC3 data or "DTS" in case the selected audio
+track contains DTS data. Of course stereo audio also goes through the SPDIF
+output, so the analog outputs of the SBLive 5.1 are not needed anymore.
+
+-------------------------------------------------------------------------------
+
Changing the volume with the GUI control has no effect! What's up!?
Some xine drivers do not support volume changing although the GUI will show the