Takashi Iwai wrote: >> Also I really don't get the relationship between the sample rate of the >> wav file I'm using for testing (with aplay) and iecset. I'd expect that >> aplay would set the sample (locking) rate of the spdif interface to the >> sample frequency as the wav file, what is the use of iecset (rate) then? >> I am using hw:0,0 to really avoid software resampling. > Well, still I didn't write what you did and what you got... Spotted well, it takes some time to recreate the complete test suite. I will have a go once more with newer alsa libs/utils and then submit the results. I wasn't too eager before because I didn't get any reply for weeks... >>>>>> Maybe I am using the wrong "hw", there is also a "hw:0,2" device, which >>>>>> I cannot make work properly at all (only one channel is output, large >>>>>> chunks are discarded, much much clipping). >>>>> The first PCM device is for the multi-output PCM. It's for both >>>>> analog and digital. The dedicated SPDIF is the secondary one. >>>> But why does the second interface gives _some_ (although wrong) output >>>> on my spdif output then? >>> No idea, possibly wrong parameters are passed. >> By whom or what? Actually I don't care that much, but it looks like a >> bug to me. > Possibly. But too little information to analyze. I think you're misunderstanding me here. aplay -Dhw:0,0 sample.wav gives valid sound through spdif (though limited), but aplay -Dhw:0,1 gives garbage on the same spdif output. That doesn't look like an issue of aplay or the alsa lib, but a driver issue. >> [ rate bitfields in proc #codec# output ] > Try HG version, and you'll see what they mean better. The driver version in the kernel is kind of recent, so I really doubt that. If you can give me a pointer to a file that has defines or enums, that actually resolve to numbers, for this bitfield, I'd be obliged.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- 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-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel