Re: [Fwd: Re: Audio problem]

Bj|rn Englund <[email protected]> Tue, 12 Oct 2004 12:03:30 +0200
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Mon Oct 11 2004, John Ivens wrote:
> This is the audio portion of oglerc:
> 

When the <speakers> section is commented out as it is by default in the oglerc
ogle asks the soundcard how many channels it has, and your cards says 4.
Since you only listen in stereo with the headphones, you need to tell
ogle to open the soundcard in only 2 channel mode.

You should have the following channel_config active if you only
want stereo output (for your headphones or line out), if you also
want ac3/spdif output you need to add that channel_config too.
       <channel_config>
         <chtype>Left</chtype>
         <chtype>Right</chtype>
       </channel_config>

Add the lines I have added below (the lines _not_ starting with '>')
to your oglerc file to enable the "Left,Right" channel config.

>   <audio>
>     <device>
>       <driver>oss</driver>
>       <path>/dev/dsp</path>
>       <alsa>
>         <name>default</name>
>       </alsa>
>     </device>
> <!-- if you have a multichannel card or spdif, uncomment/edit this part
-->
>     <speakers>
<!--
>       <channel_config>
>         <chtype>AC3</chtype>
>       </channel_config>
>       <channel_config>
>         <chtype>DTS</chtype>
>       </channel_config>
>       <channel_config>
>         <chtype>MPEG</chtype>
>       </channel_config>
>       <channel_config>
>         <chtype>LPCM</chtype>
>       </channel_config>
-->
>       <channel_config>
>         <chtype>Left</chtype>
>         <chtype>Right</chtype>
>       </channel_config>
<!--
>       <channel_config>
>         <chtype>Left</chtype>
>         <chtype>Right</chtype>
>         <chtype>RearLeft</chtype>
>         <chtype>RearRight</chtype>
>         <chtype>Center</chtype>
>         <chtype>LFE</chtype>
>       </channel_config>
-->
>     </speakers>


/Bj|rn