- fixed wav

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/wav@987 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-15 14:56:34 +00:00
parent e8ae8b8f91
commit 63b07c3918
2 changed files with 29 additions and 7 deletions
+3 -2
View File
@@ -50,10 +50,11 @@ typedef struct _sWAV
extern "C" {
#endif
void WavInit(struct _sWAV*, uint32_t nSamplesPerSec, uint16_t nBits, uint16_t nChannels, uint16_t format);
void WavInit(struct _sWAV*);
uint32_t WavSetFormat(struct _sWAV*, uint32_t, uint16_t, uint16_t, uint16_t format);
uint32_t WavSetHeader(struct _sWAV *pObj, const WAVEHEADER *pHeader);
uint32_t WavOpen (struct _sWAV*, const char*);
uint32_t WavCreate(struct _sWAV*, char*, uint32_t);
uint32_t WavCreate(struct _sWAV*, const char*, uint32_t, const WAVEHEADER *pHeader);
uint32_t WavClose(struct _sWAV*);
uint32_t WavRead(struct _sWAV*, void*, uint32_t);
uint32_t WavWrite(struct _sWAV*, void*, uint32_t);