All of lore.kernel.org
 help / color / mirror / Atom feed
* How to Test my Driver
@ 2006-08-10  3:30 Julien Bramary
  2006-08-10 13:16 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Bramary @ 2006-08-10  3:30 UTC (permalink / raw)
  To: alsa-devel

Hello all,

I am writing an alsa driver for a Micronas DAC on an embedded arm 
system. (I am still an Alsa beginner).
The device is now able to play wav with aplay and mp3 with madplay 
without too much trouble (pause-resume works etc).

However, I'd like to know if there is a way to test the driver more 
extensively (at various sampling rates etc...).

Thanks in advance.

Julien


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to Test my Driver
  2006-08-10  3:30 How to Test my Driver Julien Bramary
@ 2006-08-10 13:16 ` Takashi Iwai
  2006-08-11  0:42   ` Julien Bramary
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2006-08-10 13:16 UTC (permalink / raw)
  To: Julien Bramary; +Cc: alsa-devel

At Thu, 10 Aug 2006 04:30:26 +0100,
Julien Bramary wrote:
> 
> Hello all,
> 
> I am writing an alsa driver for a Micronas DAC on an embedded arm 
> system. (I am still an Alsa beginner).
> The device is now able to play wav with aplay and mp3 with madplay 
> without too much trouble (pause-resume works etc).
> 
> However, I'd like to know if there is a way to test the driver more 
> extensively (at various sampling rates etc...).

I usually try aplay with various wav files that are converted to
different rates, channels and formats by sox or other tools.
Also, using different buffer size and period size with aplay is
recommended.

For multiple channels, speaker-test is a good tool, too.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to Test my Driver
  2006-08-10 13:16 ` Takashi Iwai
@ 2006-08-11  0:42   ` Julien Bramary
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Bramary @ 2006-08-11  0:42 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai wrote:
> At Thu, 10 Aug 2006 04:30:26 +0100,
> Julien Bramary wrote:
>   
>> Hello all,
>>
>> I am writing an alsa driver for a Micronas DAC on an embedded arm 
>> system. (I am still an Alsa beginner).
>> The device is now able to play wav with aplay and mp3 with madplay 
>> without too much trouble (pause-resume works etc).
>>
>> However, I'd like to know if there is a way to test the driver more 
>> extensively (at various sampling rates etc...).
>>     
>
> I usually try aplay with various wav files that are converted to
> different rates, channels and formats by sox or other tools.
> Also, using different buffer size and period size with aplay is
> recommended.
>
> For multiple channels, speaker-test is a good tool, too.
>
>
> Takashi
>
>   
Thank you Takashi,
I will use audacity to generate the adequate wav files and tweak the 
buffer and period sizes in aplay as you suggested.


Julien


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-11  0:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10  3:30 How to Test my Driver Julien Bramary
2006-08-10 13:16 ` Takashi Iwai
2006-08-11  0:42   ` Julien Bramary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.