typo in the library reference?

N

nicke

from http://docs.python.org/lib/ossaudio-device-objects.html:

AFMT_U8 Unsigned, 8-bit audio
AFMT_S16_LE Unsigned, 16-bit audio, little-endian byte order
(as used by Intel processors)
AFMT_S16_BE Unsigned, 16-bit audio, big-endian byte order
(as used by 68k, PowerPC, Sparc)
AFMT_S8 Signed, 8 bit audio
AFMT_U16_LE Signed, 16-bit little-endian audio
AFMT_U16_BE Signed, 16-bit big-endian audio

Note how the U:s and S:s are switched compared to signed and unsigned,
this should surely not be like this? If it really is like this it is
uncoherent and quite stupid :p
 
S

Scott David Daniels

nicke said:
Note how the U:s and S:s are switched compared to signed and unsigned,
this should surely not be like this?

Sounds like an opportunity for you to submit a documentation bug report.
If it really is like this it is uncoherent and quite stupid :p

Name-calling won't make anyone more likely to help you out. This is a
_collective_ effort. You spotted a problem; submit at least a bug
report if not a fix.


--Scott David Daniels
(e-mail address removed)
 
P

Peter Hansen

Scott said:
Name-calling won't make anyone more likely to help you out. This is a
_collective_ effort. You spotted a problem; submit at least a bug
report if not a fix.

To be fair, Scott, I think he was saying in effect "if
the docs are really accurate about this, then the
design is f**ked", which would be a fair and reasonable
statement. I don't think he's saying that the docs
are incoherent and stupid as written... just wrong.

-Peter
 
N

nicke

To be fair, Scott, I think he was saying in effect "if
the docs are really accurate about this, then the
design is f**ked", which would be a fair and reasonable
statement. I don't think he's saying that the docs
are incoherent and stupid as written... just wrong.

-Peter
--

Thanks for sticking up for me, and yes, this was what i meant. I could
have formulated myself a bit annorlund though, have to blame the late
hours :p

I'm going to submit a bug report, just don't have much experience with
that... but hey, sometime must be the first! ;)

nicke
 
N

nicke

[...]
I could
have formulated myself a bit annorlund though, ...

uups, forgot to look up the word that I directly just didn't come up
with; annorlunda is swedish for differently
 
S

Scott David Daniels

nicke said:
Thanks for sticking up for me, and yes, this was what i meant. I could
have formulated myself a bit annorlund though, have to blame the late
hours :p
I'm going to submit a bug report, just don't have much experience with
that... but hey, sometime must be the first! ;)

nicke

My apologies belong in this thread. Sorry, nicke, I react to the
"f**ked" without considering that you might have only meant "... could
not really have been designed this way." I seldom use such language,
and only now noticed the smiley after it. What is the typogram for
"I feel like an idiot?"

In any case I should have been a bit more gentle in suggesting that
this is the way we help ourselves forward -- by fixing when the first
instinct is to curse. Certainly calling anything "name-calling"
was a pretty lousy invitation to play along.

--Scott David Daniels
(e-mail address removed)
 
T

Terry Reedy

nicke said:
I'm going to submit a bug report, just don't have much experience with
that... but hey, sometime must be the first! ;)

If you can, you might also look at the ossaudio source to verify that the
mixup is strictly in the doc and not the code.

TJR
 
N

nicke

My apologies belong in this thread.

No worries, apology accepted


If you can, you might also look at the ossaudio source to verify that the
mixup is strictly in the doc and not the code.

TJR

Well, sorry, the ossaudiodev module seem to be coded in c or c++ (?)
which i don't have any experience with. However, according to the python
interpreter help the AFMT_U8...etc are differently ordered and have
numeric values, which probably means that the sources doesn't say
anythin to anyone without deep understanding of the oss interface. (if
they aren't very well documented)

nicke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top