Hi, On Tuesday 15 December 2009 03:42:20 pm Jaroslav Kysela wrote: > On Fri, 11 Dec 2009, Peter Vrabec wrote: > > Hi all, > > > > please can you help me. I can't play 24bit samples on ESI Juli@ thru > > optical out. > > > > driver: snd_ice1724 > > alsa version: I need to find out when I get home. But something in > > Fedora11. I guess 1.0.21. > > > > $ aplay -D plughw:1,1 01.Desafinado.wav > > Playing WAVE '01.Desafinado.wav' : Signed 24 bit Little Endian in 3bytes, > > Rate 96000 Hz, Stereo > > > > $cat /proc/asound/card1/pcm1p/sub0/hw_params > > access: MMAP_INTERLEAVED > > format: S32_LE > > subformat: STD > > channels: 2 > > rate: 96000 (96000/1) > > period_size: 2048 > > buffer_size: 8192 > > > > result: no sound > > Note I didn't get any error/warning. > > > > same results with > > speaker-test -c2 --device plughw:1,1 --rate 96000 --format S24_LE > > > > but I can hear some noise with: > > speaker-test -c2 --device plughw:1,1 --rate 44100 --format S16_LE > > speaker-test -c2 --device plughw:1,1 --rate 96000 --format S32_LE > > I guess noise is expected (OK), isn't? > > > > My goal is to play bit perfect 16/44.1 and 24/96 via optical out into my > > DAC Styleaudio Topaz. > > You hit probably two bugs. I was able to reproduce the speaker-test > problem - the S24_LE format is not supported in this tool (so you got > silence). This tool didn't check the supported formats. I added > appropriate checks to the ALSA GIT repository: > > http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=075becdb1ace74 > 3149eae9a32bc48f22d027092f > > Unfortunately, I don't know the reason, why aplay does not play > your wav file. I have one S24_LE file here and it is played on > 96kHz/24-bit hardware without problems. Could I download your .wav file > somewhere for tests? Or you may try to test another player. Jaroslav, my problem is already solved. It sounds silly but problem was NOT in ALSA. I have played with different sample rates and discovered that when I get to lower rates I can actually hear the sound (not just noise). Lower sample rates -> more sound and less noise. To make story short - problem was my optical switch. So the message for all would be: be cautious about optical switch devices, my was pretty cheap and it could not handle 24/96. I have no problems with 16/44.1-96. I'm not sure if this make sense it's just experience. Peter. > Jaroslav > > ----- > Jaroslav Kysela <perex@xxxxxxxx> > Linux Kernel Sound Maintainer > ALSA Project, Red Hat, Inc. > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user