Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Michael T. Dean

Dave Ansell wrote:


Look at the audio.device.alsa_front_device option in the config file
or under "audio" in the gui config.


 Yes, I saw this also.
 Mine says default at the moment.
 Do you know what should I put in there to select card 1?


Assuming you're using the .asoundrc configuration specified at the 
alsa-project.org site ( 
http://alsa-project.org/alsa-doc/doc-php/template.php?company=Creative+Labs&card=Sound+Blaster+Audigy+ES.&chip=emu10k2&module=emu10k1 
), use "emu10k1" (no quotes) to get analog output on the Audigy.  I've 
noticed that--although the GUI shows an asterisk (which says I have to 
restart xine to see the changes)--the change happens immediately (i.e. 
it doesn't prompt me to restart).  Also, if you change it then close 
xine without playing a video, it won't save the changes, so change it 
then open and play your video.


However, it sounds like you want digital output (i.e. 5.1 output), so 
you'll need a real .asoundrc instead (see 
.http://www.mythtv.info/moin.cgi/DigitalSoundHowTo for some info).


You may also want to consider--since there's really no reason to use the 
integrated soundcard if you have a "real" soundcard (unless you need it 
for capture with a frame grabber)--is to simply ensure you don't load 
the drivers for the integrated soundcard.  Then, you don't have to worry 
about it getting in the way (and you save memory and resources).  If 
you're having a problem with udev automatically loading the drivers for 
you, just disable the on-board sound in the BIOS.


Mike
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Dave Ansell


- Original Message - 
From: "James Stembridge" <[EMAIL PROTECTED]>

To: "Discussion about mythtv" 
Sent: Tuesday, June 21, 2005 2:38 PM
Subject: Re: [mythtv-users] [OT] xine with multiple sound cards


On 6/21/05, Dave Ansell <[EMAIL PROTECTED]> wrote:

xine -A ALSA:hw:1,0

also for good measure:
xine -A alsa:hw:1,0

Xine seems to just ignore it and continue to output to card 0.


That's because xine doesn't use them. 


Look at the audio.device.alsa_front_device option in the config file
or under "audio" in the gui config.

James.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


James,

 Yes, I saw this also.
 Mine says default at the moment.
 Do you know what should I put in there to select card 1?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Nick
On 6/21/05, James Stembridge <[EMAIL PROTECTED]> wrote:
> On 6/21/05, Dave Ansell <[EMAIL PROTECTED]> wrote:
> > xine -A ALSA:hw:1,0
> >
> > also for good measure:
> > xine -A alsa:hw:1,0
> >
> > Xine seems to just ignore it and continue to output to card 0.
> 
> That's because xine doesn't use them.
> 
> Look at the audio.device.alsa_front_device option in the config file
> or under "audio" in the gui config.

Sorry - when I read from the ALSA manual:

"You can select the audio driver using the -A option"

I figured you'd be able to use it to override any settings in the
config file on a per-run basis. You can at least use it to change
driver i.e. alsa/oss/arts.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread James Stembridge
On 6/21/05, Dave Ansell <[EMAIL PROTECTED]> wrote:
> xine -A ALSA:hw:1,0
> 
> also for good measure:
> xine -A alsa:hw:1,0
> 
> Xine seems to just ignore it and continue to output to card 0.

That's because xine doesn't use them. 

Look at the audio.device.alsa_front_device option in the config file
or under "audio" in the gui config.

James.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Dave Ansell


- Original Message - 
From: "Nick" <[EMAIL PROTECTED]>

To: "Discussion about mythtv" 
Sent: Tuesday, June 21, 2005 1:55 PM
Subject: Re: [mythtv-users] [OT] xine with multiple sound cards


On 6/21/05, Dave Ansell <[EMAIL PROTECTED]> wrote:

My frontend has two soundcards,  one onboard for TV-out and a plug-in
Soundblaster Audigy which connects to my Hi-Fi.

I am trying to use Xine to stream audio to the Hi-Fi via the SB card, but 
it

defaultes to the internal sound device instead.

Can anyone tell me how to tell xine to switch output to the SB card? 
( It

needs to be switchable because I use the internal card at other times)


What audio parameters (if any) are you currently giving xine at startup?

I think you should be able to specify something like '-A ALSA:hw:1,1'
(using the correct card number and device number to get audio from the
particular card/device combo you want) This also requires that your
.asoundrc and modules.conf (or equiv) files are setup correctly. You
can check /proc/asound or 'aplay -l' and 'aplay -L' to get a listing
of all cards and devices currently recognised.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Thanks Nick,

 From aplay -l I have
card 0:  I82801BAICH2 [Intel 82801-ICH2], device 0: Intel ICH
and
card 1: Audigy [Sound Blaster Audigy], device 0: emu10k1 [EMU10K1]

  so I have tried
xine -A ALSA:hw:1,0

also for good measure:
xine -A alsa:hw:1,0

Xine seems to just ignore it and continue to output to card 0.

I can't find any detailed instructions on the -A command line options.   Any 
further ideas?



thanks,
Dave


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Nick
On 6/21/05, Dave Ansell <[EMAIL PROTECTED]> wrote:
> My frontend has two soundcards,  one onboard for TV-out and a plug-in
> Soundblaster Audigy which connects to my Hi-Fi.
> 
> I am trying to use Xine to stream audio to the Hi-Fi via the SB card, but it
> defaultes to the internal sound device instead.
> 
> Can anyone tell me how to tell xine to switch output to the SB card?( It
> needs to be switchable because I use the internal card at other times)

What audio parameters (if any) are you currently giving xine at startup?

I think you should be able to specify something like '-A ALSA:hw:1,1'
(using the correct card number and device number to get audio from the
particular card/device combo you want) This also requires that your
.asoundrc and modules.conf (or equiv) files are setup correctly. You
can check /proc/asound or 'aplay -l' and 'aplay -L' to get a listing
of all cards and devices currently recognised.

Nick
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] [OT] xine with multiple sound cards

2005-06-21 Thread Dave Ansell
My frontend has two soundcards,  one onboard for TV-out and a plug-in 
Soundblaster Audigy which connects to my Hi-Fi.


I am trying to use Xine to stream audio to the Hi-Fi via the SB card, but it 
defaultes to the internal sound device instead.


Can anyone tell me how to tell xine to switch output to the SB card?( It 
needs to be switchable because I use the internal card at other times)


thanks,
Dave 


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users