This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ossaudiodev issues
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gward Nosy List: gward, nnorwitz
Priority: normal Keywords:

Created on 2003-01-01 15:08 by nnorwitz, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (2)
msg13773 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-01 15:08
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.
msg13774 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-01-10 21:31
Logged In: YES 
user_id=33168

This has been fixed by various checkins, including my last
one -- ossaudiodev.c 1.21
History
Date User Action Args
2022-04-10 16:06:05adminsetgithub: 37677
2003-01-01 15:08:13nnorwitzcreate