Skip to contentSkip to conversation

How to Test my Driver

DISCUSSION Julien Bramary 2 participants 3 messages Aug 10, 2006 – Aug 11, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

At Thu, 10 Aug 2006 04:30:26 +0100,

Quoted 10 lines · Julien Bramary

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

#2 lore raw
Quoted 19 lines · Takashi Iwai

At Thu, 10 Aug 2006 04:30:26 +0100,

Quoted 10 lines · Julien Bramary

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.

Quoted 6 lines

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