typo in the library reference?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nicke

    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
  • Scott David Daniels

    #2
    Re: typo in the library reference?

    nicke wrote:[color=blue]
    > Note how the U:s and S:s are switched compared to signed and unsigned,
    > this should surely not be like this?[/color]

    Sounds like an opportunity for you to submit a documentation bug report.
    [color=blue]
    > If it really is like this it is uncoherent and quite stupid :P[/color]

    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
    Scott.Daniels@A cm.Org

    Comment

    • Peter Hansen

      #3
      Re: typo in the library reference?

      Scott David Daniels wrote:[color=blue]
      > nicke wrote:[color=green]
      >> If it really is like this it is uncoherent and quite stupid :P[/color]
      >
      > 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.[/color]

      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

      Comment

      • nicke

        #4
        Re: typo in the library reference?

        On Tue, 22 Mar 2005 23:30:51 -0500
        Peter Hansen <peter@engcorp. com> wrote:
        [color=blue]
        > Scott David Daniels wrote:[color=green]
        > > nicke wrote:[color=darkred]
        > >> If it really is like this it is uncoherent and quite stupid :P[/color]
        > >
        > > 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.[/color]
        >
        > 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
        > --[/color]

        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

        Comment

        • nicke

          #5
          Re: typo in the library reference?

          [...]
          [color=blue]
          >I could
          > have formulated myself a bit annorlund though, ...[/color]

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

          Comment

          • Scott David Daniels

            #6
            Re: typo in the library reference?

            nicke wrote:[color=blue]
            > Peter Hansen <peter@engcorp. com> wrote:[color=green]
            >>Scott David Daniels wrote:[color=darkred]
            >>>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
            >>>_collectiv e_ effort. You spotted a problem; submit at least a bug
            >>>report if not a fix.[/color]
            >>
            >>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[/color]
            >
            > 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[/color]

            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
            Scott.Daniels@A cm.Org

            Comment

            • Terry Reedy

              #7
              Re: typo in the library reference?


              "nicke" <hiower4@elitem ail.org> wrote in message
              news:2005032309 1646.3acd5872@n adir...[color=blue]
              > I'm going to submit a bug report, just don't have much experience with
              > that... but hey, sometime must be the first! ;)[/color]

              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



              Comment

              • nicke

                #8
                Re: typo in the library reference?

                On Wed, 23 Mar 2005 05:13:45 -0800
                Scott David Daniels <Scott.Daniels@ Acm.Org> wrote:
                [color=blue]
                >
                > My apologies belong in this thread.[/color]

                No worries, apology accepted


                On Wed, 23 Mar 2005 11:44:27 -0500
                "Terry Reedy" <tjreedy@udel.e du> wrote:
                [color=blue]
                >
                > "nicke" <hiower4@elitem ail.org> wrote in message
                > news:2005032309 1646.3acd5872@n adir...[color=green]
                > > I'm going to submit a bug report, just don't have much experience with
                > > that... but hey, sometime must be the first! ;)[/color]
                >
                > 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
                >[/color]

                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

                Comment

                • Bengt Richter

                  #9
                  Re: typo in the library reference?

                  On Wed, 23 Mar 2005 05:13:45 -0800, Scott David Daniels <Scott.Daniels@ Acm.Org> wrote:
                  [...][color=blue]
                  >and only now noticed the smiley after it. What is the typogram for
                  >"I feel like an idiot?"[/color]
                  I sometimes use variations of *<8^P
                  ;-)

                  Regards,
                  Bengt Richter

                  Comment

                  Working...