Greg, I noticed several things about ossaudiodev. It
doesn't seem to be mentioned in Misc/NEWS. Likewise,
the deprecation of linuxaudiodev.
linuxaudiodev is still in setup.py, but ossaudiodev
isn't mentioned in setup.py or Modules/Setup.
I added it to setup.py and tried to build, but got 2
compilation errors: SNDCTL_DSP_GETSPDIF and
SNDCTL_DSP_SETSPDIF are not defined (Redhat 7.2, Linux
2.4.7-10). After commenting out lines 1019 and 1031
(those with the two constants) and it compiled.
The test failed:
*** lines 2-7 of actual output doesn't appear in
expected output after line 1:
+ expected rate >= 0, not -1
+ expected sample size >= 0, not -2
+ nchannels must be 1 or 2, not 3
+ unknown audio encoding: 177
+ for linear unsigned 16-bit little-endian audio,
expected sample size 16, not 8
+ for linear unsigned 8-bit audio, expected sample size
8, not 16
I'm not sure the status of ossaudiodev or if you know
about these problems.
|