[Python-bugs-list] [ python-Bugs-660697 ] ossaudiodev issues
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 01 Jan 2003 07:08:13 -0800
Bugs item #660697, was opened at 2003-01-01 10:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=660697&group_id=5470
Category: Extension Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Greg Ward (gward)
Summary: ossaudiodev issues
Initial Comment:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=660697&group_id=5470