- public:
- wxSoundFormatMSAdpcm();
- ~wxSoundFormatMSAdpcm();
-
- void SetSampleRate(wxUint32 srate);
- wxUint32 GetSampleRate() const;
-
- void SetSamplesBlock(wxUint16 sampblock);
- wxUint16 GetSamplesBlock() const;
-
- void SetCoefs(wxMSAdpcmCoefs& coefs);
- wxMSAdpcmCoefs& GetCoefs() const;
-
- wxSoundFormatType GetType() const { return wxSOUND_ULAW; }
- wxSoundFormatBase *Clone() const;
-
- wxUint32 GetTimeFromBytes(wxUint32 bytes) const;
- wxUint32 GetBytesFromTime(wxUint32 time) const;
+public:
+ wxSoundFormatMSAdpcm();
+ ~wxSoundFormatMSAdpcm();
+
+ void SetSampleRate(wxUint32 srate);
+ wxUint32 GetSampleRate() const;
+
+ void SetCoefs(wxInt16 **coefs, wxUint16 ncoefs, wxUint16 coefs_len);
+ void GetCoefs(wxInt16 **&coefs, wxUint16& ncoefs,
+ wxUint16& coefs_len) const;