Hi,

Up to a recent kernel upgrade (I think it was Gentoo 2.6.16-r'something') the 
following would result in sound being output to my amp via my spdif output :

aplay -D hw:0,1 whatever.wav

however, now it does not

aplay -D spdif whatever.wav

still does work. I've tried 1.0.11 and 1.0.12 with no change.

This would be fine, but for MythMusic i had a .asoundrc file that does rate 
conversion (otherwise anything sampled not at 48000Hz play ultra fast!)

The relevant section from my .asoundrc :

<snip>
# Alias for digital (S/PDIF) output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.digital-hw {
        type hw
        card 0
        device 1
#  - Comment out "device 1" above and uncomment one of the below or create a
#    new "device N" line as appropriate for your sound card or
#  device 2
#  device 4
}

# Direct software mixing plugin for digital (S/PDIF) output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.dmix-digital {
        type dmix
        ipc_key 1235
        slave {
                pcm "digital-hw"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 48000
        }
}
</snip>

Is this loss of hw:0,1 an intentional change?  If it is how can I do the rate 
conversion I need?  If it isn't intentional, any ideas how to resolve this?

Some other info :

[EMAIL PROTECTED] ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Any help you can give would be good.

Cheers, Bryan.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to