473,378 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

typo in the library reference?

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
8 1259
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
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
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
[...]
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
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

"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lady_A | last post by:
Hi, I need to add a reference to a static library (*.lib) to a COM/ATL project in VS.NET. Apparently if this library is not in my solution that is not possible using the ordinary way : Add...
2
by: Zippy | last post by:
Some months ago, we requested help from this newsgroup on how to replace the library reference of a database with another library reference, prior to creating an MDE. I got the following answer...
13
by: Rolf | last post by:
I have Office97Pro, Office2000Premium and OfficeXP Pro all installed. I'm creating an Access97 application for another person and need to set a reference to Microsoft Office 8.0 Object Library....
6
by: Steve | last post by:
What would happen if an Access97 database had a reference to Microsoft Office 10 library (but only used Access97 stuff) and it was run on a machine that only had Access97 and correspondingly only...
19
by: Deniz Bahar | last post by:
Hi, I would like to call one of my functions the exact name as an existing C library function (for example K&R2 exercises asks me to make an atof function). If I don't include the header with...
4
by: Brian Shannon | last post by:
I am playing around with class libraries trying to understand how they work. I created a class library, library.vb. I placed the library.dll into the bin directory and set my reference. If I...
8
by: Metaosp | last post by:
Is there any good on-line reference manual for the latest standard c++ library? In the Java world the library documents are so readily available that makes coding a lot easier, I really wish to...
0
by: tony | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file called A One project that build a user control dll. In this user control we have a class...
11
by: Eigenvector | last post by:
I apologize if this is a trivial question, but it's always made me wonder when I have to compile my code. There are some #includes that you don't really need to reference in your library and...
7
by: rockdale | last post by:
hi, I just downloaded Microsoft Enterprise Library Jan 2006 and try to integrate it into my asp.net application. As i am going to connect to mySQL database, I need to include the source code in my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.