Woops, my fault
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@420 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
454cee4d1e
commit
6638ed20a6
|
@ -55,7 +55,7 @@ namespace AOSound
|
|||
|
||||
return(false);*/
|
||||
//if(soundData[0] != 0)
|
||||
if(!device)
|
||||
if(device)
|
||||
ao_play(device, soundData, numSoundBytes);
|
||||
return true;
|
||||
|
||||
|
@ -122,8 +122,8 @@ namespace AOSound
|
|||
}
|
||||
void AOSound_StopSound()
|
||||
{
|
||||
free(buffer);
|
||||
ao_close(device);
|
||||
ao_shutdown();
|
||||
free(buffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue