From: Takashi Iwai Subject: Re: Re: Speaker-test improvements Date: Fri, 24 Jun 2005 17:16:54 +0200 Message-ID: References: <20050414204147.78276.qmail@web60808.mail.yahoo.com> <42BA8D0B.5060501@netvigator.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <42BA8D0B.5060501@netvigator.com> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Raymond Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 23 Jun 2005 18:20:59 +0800, Raymond wrote: > > > >>>Takashi Iwai writes: > >>> > >>> > >>>>At Wed, 13 Apr 2005 21:02:31 +0100, > >>>>James Courtier-Dutton wrote: > >>>> > >>>>>Hi, > >>>>> > >>>>>I have got some voice samples saying things like "Front Right" etc. that > >>>>>I want the speaker-test program to output instead of the loud sine wave > >>>>>it currently does. The sine wave will stay there as an option as I find > >>>>>it useful for some things. > >>>>> > >>>>>The samples are 10 .wav files in 48khz mono S16_LE format. > >>>>>Where abouts should I put them in the CVS, and where abouts should they > >>>>>get installed to, so that speaker-test can find them? > >>>> > > It seem most onboard audio (intel8x0,hda) have ".channels_min = 2". > > You may need to merge the mono "Left" and "Right" wav to a stereo > left_right.wav > > > static snd_pcm_hardware_t snd_intel8x0_stream = > { > .channels_min = 2, > .channels_max = 2, > } > > > aplay -D hw:1,0 speaker-test/samples/*.wav > Playing WAVE 'speaker-test/samples/Front_Center.wav' : Signed 16 bit > Little Endian, Rate 48000 Hz, Mono > aplay: set_params:887: Channels count non available > > > aplay -Dplughw:1,0 speaker-test/samples/*.wav > Playing WAVE 'speaker-test/samples/Front_Left.wav' : Signed 16 bit > Little Endian, Rate 48000 Hz, Mono > Playing WAVE 'speaker-test/samples/Front_Right.wav' : Signed 16 bit > Little Endian, Rate 48000 Hz, Mono Hmm, I don't see the point. If you have stereo output and output a mono stream, it's always split to left and right. The mono stream should be used together with -s option. Takashi ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click