By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

typo in the library reference?

P: n/a
from http://docs.python.org/lib/ossaudio-...-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
Jul 18 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
nicke wrote:
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
Sc***********@Acm.Org
Jul 18 '05 #2

P: n/a
Scott David Daniels wrote:
nicke wrote:
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.


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
Jul 18 '05 #3

P: n/a
On Tue, 22 Mar 2005 23:30:51 -0500
Peter Hansen <pe***@engcorp.com> wrote:
Scott David Daniels wrote:
nicke wrote:
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.


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
Jul 18 '05 #4

P: n/a
[...]
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
Jul 18 '05 #5

P: n/a
nicke wrote:
Peter Hansen <pe***@engcorp.com> wrote:
Scott David Daniels wrote:
nicke wrote:
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.


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


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
Sc***********@Acm.Org
Jul 18 '05 #6

P: n/a

"nicke" <hi*****@elitemail.org> wrote in message
news:20050323091646.3acd5872@nadir...
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

Jul 18 '05 #7

P: n/a
On Wed, 23 Mar 2005 05:13:45 -0800
Scott David Daniels <Sc***********@Acm.Org> wrote:

My apologies belong in this thread.
No worries, apology accepted
On Wed, 23 Mar 2005 11:44:27 -0500
"Terry Reedy" <tj*****@udel.edu> wrote:

"nicke" <hi*****@elitemail.org> wrote in message
news:20050323091646.3acd5872@nadir...
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


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
Jul 18 '05 #8

P: n/a
On Wed, 23 Mar 2005 05:13:45 -0800, Scott David Daniels <Sc***********@Acm.Org> wrote:
[...]
and only now noticed the smiley after it. What is the typogram for
"I feel like an idiot?"

I sometimes use variations of *<8^P
;-)

Regards,
Bengt Richter
Jul 18 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.