- constify

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/wav@963 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-13 17:51:03 +00:00
parent 81f11c4d5e
commit e8ae8b8f91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -52,7 +52,7 @@ extern "C" {
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 WavOpen (struct _sWAV*, char*);
uint32_t WavOpen (struct _sWAV*, const char*);
uint32_t WavCreate(struct _sWAV*, char*, uint32_t);
uint32_t WavClose(struct _sWAV*);
uint32_t WavRead(struct _sWAV*, void*, uint32_t);