I have no idea how to do it within the config file. You can google for
that. But first check that it works when you use mplayer:
mplayer -ao alsa:device=hw=0.2 blah.mp3
You might need to resample to 48K, not sure about it:
mplayer -srate 48000 -ao alsa:device=hw=0.2 blah.mp3
If this still doesn't work, try plughw (wiht or without resampling):
mplayer -srate 48000 -ao alsa:device=plughw=0.2 blah.mp3

2008/9/12 Eric T. Barnett <[EMAIL PROTECTED]>:
> Ok I'm going to sound stupid here, but how?
>
> The software I'm using doesn't have an option to choose the alsa device.  How 
> do you do this in the asound.conf?
>
> Thanks for the help so far, this list is pretty much my last hope.
>
> --Eric
>
> -----Original Message-----
> From: Vedran Miletić [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2008 10:36 AM
> To: Eric T. Barnett
> Cc: alsa-user@lists.sourceforge.net
> Subject: Re: [Alsa-user] Need SPDIF out asound.conf for CMI8768
>
> Try setting alsa device to plughw:0,2 or hw:0,2 when playing. Did it work?
>
> 2008/9/12 Eric T. Barnett <[EMAIL PROTECTED]>:
>> Sure!
>>
>> Here's my aplay -l
>>
>> card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI 
>> DAC/ADC]
>> Subdevices: 1/1
>> Subdevice #0: subdevice #0
>> card 0: CMI8768 [C-Media CMI8768], device 1: CMI8738-MC8 [C-Media PCI 2nd 
>> DAC]
>> Subdevices: 1/1
>> Subdevice #0: subdevice #0
>> card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
>> Subdevices: 1/1
>> Subdevice #0: subdevice #0
>>
>> -----Original Message-----
>> From: Vedran Miletić [mailto:[EMAIL PROTECTED]
>> Sent: Friday, September 12, 2008 10:06 AM
>> To: Eric T. Barnett
>> Cc: alsa-user@lists.sourceforge.net
>> Subject: Re: [Alsa-user] Need SPDIF out asound.conf for CMI8768
>>
>> Can you post output of "aplay -l"?
>>
>> 2008/9/12 Eric T. Barnett <[EMAIL PROTECTED]>:
>>> Nope.  Didn't work.  Even tried pcm.!default iec958
>>>
>>>
>>>
>>> Does anyone on the list have a Diamond xtreme 7.1?  or this chipset?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Eric
>>>
>>>
>>>
>>> -----Original Message-----
>>>
>>> From: [EMAIL PROTECTED] on behalf of Floris
>>>
>>> Sent: Wed 9/10/2008 7:48 AM
>>>
>>> To: alsa-user@lists.sourceforge.net
>>>
>>> Subject: Re: [Alsa-user] Need SPDIF out asound.conf for CMI8768
>>>
>>>
>>>
>>> Hey Eric,
>>>
>>>
>>>
>>> here is the solution I use with the Audigy 2 ZS sound card:
>>>
>>> In ~/.asoundrc or asound.conf write only this line
>>>
>>>
>>>
>>> pcm.!default spdif
>>>
>>>
>>>
>>> restart Alsa
>>>
>>> Now all the "default sounds" will go to the spdif output.
>>>
>>> hope this will fix your problem
>>>
>>>
>>>
>>> Floris
>>>
>>>
>>>
>>>
>>>
>>> Eric T. Barnett schreef:
>>>
>>>>
>>>
>>>> Hi folks,
>>>
>>>>
>>>
>>>> I'm new to the list and relatively new to Linux. I've been everywhere
>>>
>>>> and I can't get a straight (or working) answer for something that is
>>>
>>>> about to drive me nuts!
>>>
>>>>
>>>
>>>> I'm running the newest version of Knoppmyth. I'm using a Diamond
>>>
>>>> XtremeSound 7.1 card that has the CMI8768 chipset. I can get the SPDIF
>>>
>>>> out working for any program that will allow me to specifically direct
>>>
>>>> the sound to the IEC port. However, I cannot get the sound to work on
>>>
>>>> programs that do not have this capability and run off of the DEFAULT.
>>>
>>>> Obviously, I've got something hosed with my asound.conf. I just can't
>>>
>>>> figure out what!! HELP!! I've been working on this for weeks.
>>>
>>>>
>>>
>>>> The aplay -l command gives me that the IEC958 port is on card 0 device
>>>
>>>> 2. Can someone give me a config that they have working on their
>>>
>>>> machine? I've got this question floating around in about 3 forums now,
>>>
>>>> so I thought I'd go straight to the source.
>>>
>>>>
>>>
>>>> Many thanks in advance,
>>>
>>>>
>>>
>>>> Eric
>>>
>>>>
>>>
>>>> ----------------------------------------------------------------------
>>>
>>>> --
>>>
>>>>
>>>
>>>> ----------------------------------------------------------------------
>>>
>>>> --- This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>
>>>> challenge Build the coolest Linux based applications with Moblin SDK &
>>>
>>>> win great prizes Grand prize is a trip for two to an Open Source event
>>>
>>>> anywhere in the world
>>>
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>
>>>> ----------------------------------------------------------------------
>>>
>>>> --
>>>
>>>>
>>>
>>>> _______________________________________________
>>>
>>>> Alsa-user mailing list
>>>
>>>> Alsa-user@lists.sourceforge.net
>>>
>>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>>
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes Grand prize is a trip for two to an Open Source event anywhere in the
>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>
>>> _______________________________________________
>>>
>>> Alsa-user mailing list
>>>
>>> Alsa-user@lists.sourceforge.net
>>>
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Alsa-user mailing list
>>> Alsa-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>>
>>
>>
>>
>> --
>> Vedran Miletić
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Alsa-user mailing list
>> Alsa-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>
>
>
>
> --
> Vedran Miletić
>



-- 
Vedran Miletić
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to