From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: latency.c: some feature requests Date: Sat, 27 Nov 2004 23:58:14 -0500 Message-ID: <1101617894.21427.9.camel@krustophenia.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: 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: alsa-devel List-Id: alsa-devel@alsa-project.org While trying to use latency.c to test my full duplex device for the emu10k1 driver I have found some problems with it. The first thing that doesn't work is that latency.c sets the sample rate to 22050Hz. Both of my hw devices only support 48000Hz. This is fixed by not setting the sample rate at all, causing it to default to the correct rate. I also need the capture device interleaved and the playback device noninterleaved. latency.c does not support this at all, it just assumes that all hardware supports interleaved format. I thought about adding command line options but it should just do the right thing by default because my hw devices only support one sample rate and one access type. Anyway since the alsa documentation constantly refers to this file, sometimes in lieu of any other documentation, it really needs to be more flexible. -- Lee Revell ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/