Not too long ago I fixed some bugs in channel reduction/recording
part of the oss-emulation layer (kernel modules).  It seemed clear
to me that the code had not been tested, since the problems were
kind of "in your face".  What kind of test suite does ALSA have?
One useful thing for testing, or so it seems to me, would be a fake
soundcard driver that gets it's data from a file (or writes to a file)
rather than from/to a physical device.  That way, to test the functionality
of the oss-emulation layer, or another library routine, you can feed
known files to the fake soundcard driver and compare what comes
out the other end with what ought to be coming out.  Of course this
only tests the high-level library routines, not drivers for particular sound
cards, but it should be possible, easy to automate, and useful.  What
do you think?

Duncan.

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to