[Python-Dev] Test results of linuxaudiodev.c

Ka-Ping Yee pingster@ilm.com
Thu, 29 Jun 2000 16:24:28 -0700 (PDT)


On 29 Jun 2000, Michael Hudson wrote:
> $ play audiotest.au
> 
> sounds fine,
> 
> $  ../../../build/python regrtest.py test_linuxaudiodev.py \
> test_linuxaudiodev
> 
> sounds horrible; it sounds like it's being rammed through at far too
> high a volume

Sounds like u-law to me.  linuxaudiodev.c selects /dev/dsp by
default, which accepts raw data, not .au format.

Try setting the environment variable AUDIODEV to /dev/audio
before running the test script.  Does that work any better?


-- ?!ng