- constify
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/wav@963 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -44,7 +44,7 @@ uint32_t WavSetFormat(struct _sWAV *pObj, uint32_t nSamplesPerSec, uint16_t nBit
|
|||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
uint32_t WavOpen (struct _sWAV *pObj, char* FileName)
|
uint32_t WavOpen (struct _sWAV *pObj, const char* FileName)
|
||||||
{
|
{
|
||||||
uint32_t stat;
|
uint32_t stat;
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ extern "C" {
|
|||||||
|
|
||||||
void WavInit(struct _sWAV*, uint32_t nSamplesPerSec, uint16_t nBits, uint16_t nChannels, uint16_t format);
|
void WavInit(struct _sWAV*, uint32_t nSamplesPerSec, uint16_t nBits, uint16_t nChannels, uint16_t format);
|
||||||
uint32_t WavSetFormat(struct _sWAV*, uint32_t, uint16_t, uint16_t, uint16_t format);
|
uint32_t WavSetFormat(struct _sWAV*, uint32_t, uint16_t, uint16_t, uint16_t format);
|
||||||
uint32_t WavOpen (struct _sWAV*, char*);
|
uint32_t WavOpen (struct _sWAV*, const char*);
|
||||||
uint32_t WavCreate(struct _sWAV*, char*, uint32_t);
|
uint32_t WavCreate(struct _sWAV*, char*, uint32_t);
|
||||||
uint32_t WavClose(struct _sWAV*);
|
uint32_t WavClose(struct _sWAV*);
|
||||||
uint32_t WavRead(struct _sWAV*, void*, uint32_t);
|
uint32_t WavRead(struct _sWAV*, void*, uint32_t);
|
||||||
|
|||||||
Reference in New Issue
Block a user