Skip to contentSkip to conversation

Q: Is there a testsuite?

DISCUSSION P. Christeas 4 participants 4 messages May 7, 2005 – May 11, 2005

lore
Share & tools
lore
#0 lore raw

Hello all.
I was wondering if there is some ALSA testsuite, that will detect if -my- soundcard covers all the ALSA functionality it exports with some X kernel. From kernel version to version, some things get fixed, some break etc. Thus, it would be nice to run a simple program and wait to see if ALSA works fine each time..

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r

#1 lore raw
Quoted 1 line · P. Christeas

I was wondering if there is some ALSA testsuite,

There are some programe in alsa-lib/test/, but those are for testing the ALSA library.

Quoted 2 lines

that will detect if -my- soundcard covers all the ALSA functionality it exports with some X kernel.

Sound card capabilities are too different to be able to create a test suite that fits all.

You could create a script specific to your sound card that calls aplay/arecord/amidi/aplaymidi/amixer/etc.

Regards,
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20

#2 lore raw
Quoted 11 lines · Clemens Ladisch
Quoted 1 line · P. Christeas

I was wondering if there is some ALSA testsuite,

There are some programe in alsa-lib/test/, but those are for testing the ALSA library.

Quoted 2 lines

that will detect if -my- soundcard covers all the ALSA functionality it exports with some X kernel.

Sound card capabilities are too different to be able to create a test suite that fits all.

A test suite is well within the realms of possibility and saying its not possible only discourages people from trying.

A generalised test suite would be of great benefit to the ALSA project.

Erik

Signature · 14 lines
+-----------------------------------------------------------+
  Erik de Castro Lopo  [email protected] (Yes it's valid)
+-----------------------------------------------------------+
"I could never learn to use C++, because of the completely 
overwhelming desire to redesign the language every time I tried 
to use it, but this is the normal, healthy reaction to C++."
-- Erik Naggum


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
#3 lore raw

At Tue, 10 May 2005 17:53:07 +1000,

Quoted 12 lines · Erik de Castro Lopo
Quoted 9 lines · Clemens Ladisch
Quoted 1 line · P. Christeas

I was wondering if there is some ALSA testsuite,

There are some programe in alsa-lib/test/, but those are for testing the ALSA library.

Quoted 2 lines

that will detect if -my- soundcard covers all the ALSA functionality it exports with some X kernel.

Quoted 8 lines
Quoted 2 lines

Sound card capabilities are too different to be able to create a test suite that fits all.

A test suite is well within the realms of possibility and saying its not possible only discourages people from trying.

A generalised test suite would be of great benefit to the ALSA project.

Right, but a problem is that the audio test is not always self consistent.

Anyway, a set of sample audio data (or wave/noise generators) in different settings (rates, formats, channels, etc) would be useful for playback tests. Any volunteers?

But the capture tests are more difficult (from the generalization perspective)...

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click