git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37878
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxUint8 *data = new wxUint8[len];
if ( fileWave.Read(data, len) != lenOrig )
{
wxUint8 *data = new wxUint8[len];
if ( fileWave.Read(data, len) != lenOrig )
{
wxLogError(_("Couldn't load sound data from '%s'."), fileName.c_str());
return false;
}
if (!LoadWAV(data, len, false))
{
wxLogError(_("Couldn't load sound data from '%s'."), fileName.c_str());
return false;
}
if (!LoadWAV(data, len, false))
{
wxLogError(_("Sound file '%s' is in unsupported format."),
fileName.c_str());
return false;
wxLogError(_("Sound file '%s' is in unsupported format."),
fileName.c_str());
return false;