Menu

Fail to tell sample size...

user
JIA Pei
2009-03-12
2013-05-09
  • JIA Pei

    JIA Pei - 2009-03-12

    It seems FOBS is missing a variable to tell size of one audio sample!!

    As is known to all, generally, audio sample is described in 16bits.
    However, if using Audacity, you can see that this 16bits (2bytes) might be changed to 4 bytes as wish.

    FOBS has a function
    getAudioSamplesSize(), which tells bytes in one audio chunk.
    But, how many bytes is for one audio sample? This should be indicated!!

    Am I correct?

    Rgds
    JIA

     
    • Jose San Pedro

      Jose San Pedro - 2009-03-14

      Hi there,

      ffmpeg used to provide samples only in 16 bits some time ago. I don't know whether this has actually changed, but given your question I guess it has ;)

      I'll look into it for the next release. Thanks for the tip!

      Cheers,

      Jose San Pedro

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.