Merge pull request #20 from LoneBoco/master
Fixed unicode support and minor crash.
This commit is contained in:
commit
9e85ee9520
|
@ -31,15 +31,6 @@ static cAudioString getExt(const cAudioString& filename)
|
|||
return filename.substr(filename.find_last_of(_CTEXT(".")) + 1, filename.length()-filename.find_last_of(_CTEXT("."))-1);
|
||||
}
|
||||
|
||||
//! Prevents a bug with NULL passed into cAudioString.
|
||||
|
||||
static cAudioString safeCStr(const char* str)
|
||||
{
|
||||
if( str != NULL ) return cAudioString(str);
|
||||
else return cAudioString("");
|
||||
}
|
||||
|
||||
|
||||
//! Returns a list of files/directories in the supplied directory. Used internally for auto-installation of plugins.
|
||||
static cAudioVector<cAudioString>::Type getFilesInDirectory(cAudioString path)
|
||||
{
|
||||
|
|
|
@ -44,9 +44,10 @@ namespace cAudio
|
|||
#endif
|
||||
|
||||
|
||||
#if defined(CAUDIO_PLATFORM_WIN) && (defined(UNICODE) || defined(_UNICODE))
|
||||
#if defined(CAUDIO_PLATFORM_WIN)
|
||||
static const TCHAR* toWINSTR(const char* str)
|
||||
{
|
||||
#if (defined(UNICODE) || defined(_UNICODE))
|
||||
static int id = 0;
|
||||
static wchar_t buffer[8][1024];
|
||||
id = ++id & 0x7;
|
||||
|
@ -56,10 +57,16 @@ namespace cAudio
|
|||
buffer[id][buff_size] = 0;
|
||||
buffer[id][1023] = 0;
|
||||
return buffer[id];
|
||||
#else
|
||||
return str;
|
||||
#endif
|
||||
}
|
||||
|
||||
static const TCHAR* toWINSTR(const wchar_t* str)
|
||||
{
|
||||
#if (defined(UNICODE) || defined(_UNICODE))
|
||||
return str;
|
||||
#else
|
||||
static int id = 0;
|
||||
static char buffer[8][1024];
|
||||
id = ++id & 0x7;
|
||||
|
@ -69,6 +76,7 @@ namespace cAudio
|
|||
buffer[id][buff_size] = 0;
|
||||
buffer[id][1023] = 0;
|
||||
return buffer[id];
|
||||
#endif
|
||||
}
|
||||
|
||||
static const char* toUTF8(const cAudioString& str)
|
||||
|
@ -90,7 +98,6 @@ namespace cAudio
|
|||
if (buff_size == 0)
|
||||
return cAudioString();
|
||||
|
||||
|
||||
buffer = new wchar_t[buff_size + 1];
|
||||
memset((void*)buffer, 0, sizeof(wchar_t) * (buff_size + 1));
|
||||
MultiByteToWideChar(CP_UTF8, 0, str, (int)strlen(str), buffer, buff_size);
|
||||
|
@ -102,7 +109,7 @@ namespace cAudio
|
|||
#else
|
||||
static const char* toWINSTR(const char* str)
|
||||
{
|
||||
return str;
|
||||
return str;
|
||||
}
|
||||
|
||||
static const char* toUTF8(const cAudioString& str)
|
||||
|
|
|
@ -39,10 +39,10 @@ namespace cAudio
|
|||
if(DeviceName.empty())
|
||||
CaptureDevice = alcCaptureOpenDevice(NULL, Frequency, convertAudioFormatEnum(Format), InternalBufferSize / SampleSize);
|
||||
else
|
||||
CaptureDevice = alcCaptureOpenDevice(DeviceName.c_str(), Frequency, convertAudioFormatEnum(Format), InternalBufferSize / SampleSize);
|
||||
CaptureDevice = alcCaptureOpenDevice(toUTF8(DeviceName), Frequency, convertAudioFormatEnum(Format), InternalBufferSize / SampleSize);
|
||||
if(CaptureDevice)
|
||||
{
|
||||
DeviceName = alcGetString(CaptureDevice, ALC_CAPTURE_DEVICE_SPECIFIER);
|
||||
DeviceName = fromUTF8(alcGetString(CaptureDevice, ALC_CAPTURE_DEVICE_SPECIFIER));
|
||||
Ready = true;
|
||||
checkError();
|
||||
getLogger()->logDebug("AudioCapture", "OpenAL Capture Device Opened.");
|
||||
|
@ -214,7 +214,7 @@ namespace cAudio
|
|||
bool cAudioCapture::setDevice(const char* deviceName)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
DeviceName = safeCStr(deviceName);
|
||||
DeviceName = fromUTF8(deviceName);
|
||||
|
||||
shutdownOpenALDevice();
|
||||
return initOpenALDevice();
|
||||
|
@ -223,7 +223,7 @@ namespace cAudio
|
|||
bool cAudioCapture::initialize(const char* deviceName, unsigned int frequency, AudioFormats format, unsigned int internalBufferSize)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
DeviceName = safeCStr(deviceName);
|
||||
DeviceName = fromUTF8(deviceName);
|
||||
Frequency = frequency;
|
||||
InternalBufferSize = internalBufferSize;
|
||||
|
||||
|
|
|
@ -240,15 +240,15 @@ namespace cAudio
|
|||
audioIndex[audioName] = audio;
|
||||
|
||||
audioSources.push_back(audio);
|
||||
getLogger()->logInfo("AudioManager", "Audio Source (%s) created from Data Source %s.", audioName.c_str(), dataSource.c_str());
|
||||
getLogger()->logInfo("AudioManager", "Audio Source (%s) created from Data Source %s.", toUTF8(audioName), toUTF8(dataSource));
|
||||
return audio;
|
||||
}
|
||||
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Error creating audio source.", audioName.c_str());
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Error creating audio source.", toUTF8(audioName));
|
||||
audio->drop();
|
||||
return NULL;
|
||||
}
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Audio data could not be decoded by (.%s) decoder.", audioName.c_str(), decoder->getType().c_str());
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Audio data could not be decoded by (.%s) decoder.", toUTF8(audioName), toUTF8(decoder->getType()));
|
||||
decoder->drop();
|
||||
return NULL;
|
||||
}
|
||||
|
@ -258,13 +258,13 @@ namespace cAudio
|
|||
if(!Initialized) return NULL;
|
||||
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString audioName = safeCStr(name);
|
||||
cAudioString path = safeCStr(filename);
|
||||
cAudioString audioName = fromUTF8(name);
|
||||
cAudioString path = fromUTF8(filename);
|
||||
cAudioString ext = getExt(path);
|
||||
IAudioDecoderFactory* factory = getAudioDecoderFactory(ext.c_str());
|
||||
IAudioDecoderFactory* factory = getAudioDecoderFactory(toUTF8(ext));
|
||||
|
||||
if(!factory) {
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): No decoder could be found for (.%s).", audioName.c_str(), ext.c_str());
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): No decoder could be found for (.%s).", toUTF8(audioName), toUTF8(ext));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -299,12 +299,12 @@ namespace cAudio
|
|||
if(!Initialized) return NULL;
|
||||
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString audioName = safeCStr(name);
|
||||
cAudioString ext = safeCStr(extension);
|
||||
IAudioDecoderFactory* factory = getAudioDecoderFactory(ext.c_str());
|
||||
cAudioString audioName = fromUTF8(name);
|
||||
cAudioString ext = fromUTF8(extension);
|
||||
IAudioDecoderFactory* factory = getAudioDecoderFactory(toUTF8(ext));
|
||||
|
||||
if(!factory) {
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Codec (.%s) is not supported.", audioName.c_str(), ext.c_str());
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Codec (.%s) is not supported.", toUTF8(audioName), toUTF8(ext));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -314,7 +314,7 @@ namespace cAudio
|
|||
IAudioDecoder* decoder = factory->CreateAudioDecoder(source);
|
||||
source->drop();
|
||||
|
||||
IAudioSource* audio = createAudioSource(decoder, audioName, "cMemorySource");
|
||||
IAudioSource* audio = createAudioSource(decoder, audioName, _CTEXT("cMemorySource"));
|
||||
if(audio != NULL)
|
||||
return audio;
|
||||
|
||||
|
@ -334,11 +334,11 @@ namespace cAudio
|
|||
if(!Initialized) return NULL;
|
||||
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString audioName = safeCStr(name);
|
||||
cAudioString audioName = fromUTF8(name);
|
||||
IAudioDecoderFactory* factory = getAudioDecoderFactory("raw");
|
||||
|
||||
if(!factory) {
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Codec (.raw) is not supported.", audioName.c_str());
|
||||
getLogger()->logError("AudioManager", "Failed to create Audio Source (%s): Codec (.raw) is not supported.", toUTF8(audioName));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -348,7 +348,7 @@ namespace cAudio
|
|||
IAudioDecoder* decoder = ((cRawAudioDecoderFactory*)factory)->CreateAudioDecoder(source, frequency, format);
|
||||
source->drop();
|
||||
|
||||
IAudioSource* audio = createAudioSource(decoder, audioName, "cMemorySource");
|
||||
IAudioSource* audio = createAudioSource(decoder, audioName, _CTEXT("cMemorySource"));
|
||||
if(audio != NULL)
|
||||
return audio;
|
||||
|
||||
|
@ -361,28 +361,28 @@ namespace cAudio
|
|||
bool cAudioManager::registerAudioDecoder(IAudioDecoderFactory* factory, const char* extension)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString ext = safeCStr(extension);
|
||||
cAudioString ext = fromUTF8(extension);
|
||||
decodermap[ext] = factory;
|
||||
getLogger()->logInfo("AudioManager", "Audio Decoder for extension .%s registered.", ext.c_str());
|
||||
getLogger()->logInfo("AudioManager", "Audio Decoder for extension .%s registered.", toUTF8(ext));
|
||||
return true;
|
||||
}
|
||||
|
||||
void cAudioManager::unRegisterAudioDecoder(const char* extension)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString ext = safeCStr(extension);
|
||||
cAudioString ext = fromUTF8(extension);
|
||||
decodermapIterator it = decodermap.find(ext);
|
||||
if(it != decodermap.end())
|
||||
{
|
||||
decodermap.erase(it);
|
||||
getLogger()->logInfo("AudioManager", "Audio Decoder for extension .%s unregistered.", ext.c_str());
|
||||
getLogger()->logInfo("AudioManager", "Audio Decoder for extension .%s unregistered.", toUTF8(ext));
|
||||
}
|
||||
}
|
||||
|
||||
bool cAudioManager::isAudioDecoderRegistered(const char* extension)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString ext = safeCStr(extension);
|
||||
cAudioString ext = fromUTF8(extension);
|
||||
decodermapIterator it = decodermap.find(ext);
|
||||
return (it != decodermap.end());
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ namespace cAudio
|
|||
IAudioDecoderFactory* cAudioManager::getAudioDecoderFactory(const char* extension)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString ext = safeCStr(extension);
|
||||
cAudioString ext = fromUTF8(extension);
|
||||
decodermapIterator it = decodermap.find(ext);
|
||||
if(it != decodermap.end())
|
||||
{
|
||||
|
@ -413,24 +413,24 @@ namespace cAudio
|
|||
bool cAudioManager::registerDataSource(IDataSourceFactory* factory, const char* name, int priority)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString safeName = safeCStr(name);
|
||||
cAudioString safeName = fromUTF8(name);
|
||||
datasourcemap[safeName] = factory;
|
||||
dataSourcePriorityList.push_back(std::pair<int, cAudioString>(priority, safeName));
|
||||
std::sort(dataSourcePriorityList.begin(), dataSourcePriorityList.end(), compareDataSourcePriorities);
|
||||
|
||||
getLogger()->logInfo("AudioManager", "Data Source named %s registered (Priority %i).", safeName.c_str(), priority);
|
||||
getLogger()->logInfo("AudioManager", "Data Source named %s registered (Priority %i).", toUTF8(safeName), priority);
|
||||
return true;
|
||||
}
|
||||
|
||||
void cAudioManager::unRegisterDataSource(const char* name)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString safeName = safeCStr(name);
|
||||
cAudioString safeName = fromUTF8(name);
|
||||
datasourcemapIterator it = datasourcemap.find(safeName);
|
||||
if(it != datasourcemap.end())
|
||||
{
|
||||
datasourcemap.erase(it);
|
||||
getLogger()->logInfo("AudioManager", "Data Source named %s unregistered.", safeName.c_str());
|
||||
getLogger()->logInfo("AudioManager", "Data Source named %s unregistered.", toUTF8(safeName));
|
||||
}
|
||||
|
||||
for(size_t i=0; i<dataSourcePriorityList.size(); ++i)
|
||||
|
@ -448,7 +448,7 @@ namespace cAudio
|
|||
bool cAudioManager::isDataSourceRegistered(const char* name)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString safeName = safeCStr(name);
|
||||
cAudioString safeName = fromUTF8(name);
|
||||
datasourcemapIterator it = datasourcemap.find(safeName);
|
||||
return (it != datasourcemap.end());
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ namespace cAudio
|
|||
IDataSourceFactory* cAudioManager::getDataSourceFactory(const char* name)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString safeName = safeCStr(name);
|
||||
cAudioString safeName = fromUTF8(name);
|
||||
datasourcemapIterator it = datasourcemap.find(safeName);
|
||||
if(it != datasourcemap.end())
|
||||
{
|
||||
|
@ -562,7 +562,7 @@ namespace cAudio
|
|||
IAudioSource* cAudioManager::getSoundByName(const char* name)
|
||||
{
|
||||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioString audioName = safeCStr(name);
|
||||
cAudioString audioName = fromUTF8(name);
|
||||
audioIndexIterator i = audioIndex.find(audioName);
|
||||
if (i == audioIndex.end())
|
||||
{
|
||||
|
@ -576,11 +576,16 @@ namespace cAudio
|
|||
cAudioMutexBasicLock lock(Mutex);
|
||||
cAudioVector<IAudioSource*>::Type::iterator audioSourcesIter;
|
||||
|
||||
for(audioSourcesIter = audioSources.begin(); audioSourcesIter != audioSources.end(); audioSourcesIter++)
|
||||
cAudioVector<IAudioSource*>::Type deleteSources;
|
||||
for(audioSourcesIter = audioSources.begin(); audioSourcesIter != audioSources.end(); ++audioSourcesIter)
|
||||
{
|
||||
if((*audioSourcesIter))
|
||||
(*audioSourcesIter)->drop();
|
||||
deleteSources.push_back(*audioSourcesIter);
|
||||
}
|
||||
for(audioSourcesIter = deleteSources.begin(); audioSourcesIter != deleteSources.end(); ++audioSourcesIter)
|
||||
(*audioSourcesIter)->drop();
|
||||
|
||||
deleteSources.clear();
|
||||
audioSources.clear();
|
||||
audioIndex.clear();
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ namespace cAudio
|
|||
|
||||
cFileSource::cFileSource(const char* filename) : pFile(NULL), Valid(false), Filesize(0)
|
||||
{
|
||||
cAudioString safeFilename = safeCStr(filename);
|
||||
cAudioString safeFilename = fromUTF8(filename);
|
||||
if(safeFilename.length() != 0)
|
||||
{
|
||||
pFile = fopen(safeFilename.c_str(),"rb");
|
||||
pFile = fopen(toUTF8(safeFilename),"rb");
|
||||
if(pFile)
|
||||
Valid = true;
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ namespace cAudio
|
|||
bool cLogger::registerLogReceiver(ILogReceiver* receiver, const char* name)
|
||||
{
|
||||
Mutex.lock();
|
||||
cAudioString logName = safeCStr(name);
|
||||
cAudioString logName = fromUTF8(name);
|
||||
Receivers[logName] = receiver;
|
||||
Mutex.unlock();
|
||||
return true;
|
||||
|
@ -105,7 +105,7 @@ namespace cAudio
|
|||
void cLogger::unRegisterLogReceiver(const char* name)
|
||||
{
|
||||
Mutex.lock();
|
||||
cAudioString logName = safeCStr(name);
|
||||
cAudioString logName = fromUTF8(name);
|
||||
ReceiversIterator it = Receivers.find(logName);
|
||||
if(it != Receivers.end())
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ namespace cAudio
|
|||
bool cLogger::isLogReceiverRegistered(const char* name)
|
||||
{
|
||||
Mutex.lock();
|
||||
cAudioString logName = safeCStr(name);
|
||||
cAudioString logName = fromUTF8(name);
|
||||
ReceiversIterator it = Receivers.find(logName);
|
||||
bool result = (it != Receivers.end());
|
||||
Mutex.unlock();
|
||||
|
@ -127,7 +127,7 @@ namespace cAudio
|
|||
ILogReceiver* cLogger::getLogReceiver(const char* name)
|
||||
{
|
||||
Mutex.lock();
|
||||
cAudioString logName = safeCStr(name);
|
||||
cAudioString logName = fromUTF8(name);
|
||||
ReceiversIterator it = Receivers.find(logName);
|
||||
if(it != Receivers.end())
|
||||
{
|
||||
|
|
|
@ -178,7 +178,7 @@ namespace cAudio
|
|||
|
||||
cAudioString cOggDecoder::getType() const
|
||||
{
|
||||
return cAudioString("cOggDecoder");
|
||||
return cAudioString(_CTEXT("cOggDecoder"));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -42,14 +42,14 @@ namespace cAudio
|
|||
{
|
||||
while(*deviceList)
|
||||
{
|
||||
cAudioString device(deviceList);
|
||||
cAudioString device(fromUTF8(deviceList));
|
||||
AvailableDevices.push_back(device);
|
||||
deviceList += strlen(deviceList) + 1;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the name of the 'default' capture device
|
||||
DefaultDevice = alcGetString(NULL, defaultDevice);
|
||||
DefaultDevice = fromUTF8(alcGetString(NULL, defaultDevice));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ namespace cAudio
|
|||
{
|
||||
return AvailableDevices[idx];
|
||||
}
|
||||
return cAudioString("");
|
||||
return cAudioString(_CTEXT(""));
|
||||
}
|
||||
|
||||
cAudioString cOpenALAudioDeviceList::getDeviceDescription(unsigned int idx)
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace cAudio
|
|||
it->first->drop();
|
||||
if(DYNLIB_UNLOAD(it->second))
|
||||
{
|
||||
getLogger()->logError("cPluginManager", "Plugin Error: %s.", getError().c_str());
|
||||
getLogger()->logError("cPluginManager", "Plugin Error: %s.", toUTF8(getError()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ namespace cAudio
|
|||
{
|
||||
if(plugin)
|
||||
{
|
||||
cAudioString theName = safeCStr(name);
|
||||
cAudioString theName = fromUTF8(name);
|
||||
if(theName.empty())
|
||||
theName = plugin->getPluginName();
|
||||
|
||||
|
@ -70,7 +70,7 @@ namespace cAudio
|
|||
}
|
||||
}
|
||||
else
|
||||
getLogger()->logError("cPluginManager", "installPlugin Error: %s.", getError().c_str());
|
||||
getLogger()->logError("cPluginManager", "installPlugin Error: %s.", toUTF8(getError()));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ namespace cAudio
|
|||
it2->first->drop();
|
||||
if(DYNLIB_UNLOAD(it2->second))
|
||||
{
|
||||
getLogger()->logError("cPluginManager", "Plugin Error: %s.", getError().c_str());
|
||||
getLogger()->logError("cPluginManager", "Plugin Error: %s.", toUTF8(getError()));
|
||||
}
|
||||
DynamicallyLoadedPlugins.erase(it2->first);
|
||||
}
|
||||
|
@ -146,10 +146,10 @@ namespace cAudio
|
|||
cAudioVector<cAudioString>::Type fileList = getFilesInDirectory(".");
|
||||
for(size_t i=0; i<fileList.size(); ++i)
|
||||
{
|
||||
if(fileList[i].substr(0, 4) == "cAp_")
|
||||
if(fileList[i].substr(0, 4) == _CTEXT("cAp_"))
|
||||
{
|
||||
#ifdef CAUDIO_PLATFORM_WIN
|
||||
if(fileList[i].substr(fileList[i].length()-4, 4) == ".dll")
|
||||
if(fileList[i].substr(fileList[i].length()-4, 4) == _CTEXT(".dll"))
|
||||
#elif defined(CAUDIO_PLATFORM_LINUX)
|
||||
if(fileList[i].substr(fileList[i].length()-3, 3) == ".so")
|
||||
#elif defined(CAUDIO_PLATFORM_MAC)
|
||||
|
@ -157,7 +157,7 @@ namespace cAudio
|
|||
#endif
|
||||
{
|
||||
//Found a plugin, load it
|
||||
installPlugin(cAudioString("./" + fileList[i]).c_str(), NULL);
|
||||
installPlugin(toUTF8(cAudioString(_CTEXT("./") + fileList[i])), NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ namespace cAudio
|
|||
NULL
|
||||
);
|
||||
|
||||
cAudioString ret = (char*)lpMsgBuf;
|
||||
cAudioString ret = fromUTF8((char*)lpMsgBuf);
|
||||
// remove line break
|
||||
ret = ret.substr(0, ret.length()-2);
|
||||
LocalFree(lpMsgBuf);
|
||||
|
|
|
@ -114,6 +114,6 @@ namespace cAudio{
|
|||
|
||||
cAudioString cRawDecoder::getType() const
|
||||
{
|
||||
return cAudioString("cRawDecoder");
|
||||
return cAudioString(_CTEXT("cRawDecoder"));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -228,7 +228,7 @@ namespace cAudio
|
|||
|
||||
cAudioString cWavDecoder::getType() const
|
||||
{
|
||||
return cAudioString("cWavDecoder");
|
||||
return cAudioString(_CTEXT("cWavDecoder"));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue