Menu

Compressioned Formats

Help
2000-06-22
2000-06-24
  • Davy Durham

    Davy Durham - 2000-06-22

    When I call getSamples on say a wave file that is ALAW encoded, does it give me raw audio data or is it compressed data?

    Also, is there anyway to have it do sample rate and perhaps bit rate conversion as I read it out?  This would be a good derivation if not.  Say: 
    class CRawAudio : public AudioFile
    {
    public:
        CRawAudio(... desired format ...);
    ...
        ... getSamples ...
    };
    Where getSamples is overloaded to do sample rate conversion, bit rate conversion and even if mono or stereo was required that it would convert from mono to stereo and vice versa (of course mono->stereo would just be the same data in both channels)

    Thanks,
        Davy

     
    • David Sugar

      David Sugar - 2000-06-24

      I am planning to add audio conversion later on for the convenience of normal audio devices.  However, my primary use for ccaudio is in feeding audio frames to dsp devices which already have conversion capability.

       

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.