- Code:
if (m_Sound.Open() == E_OK) {
m_Sound.SetSoundVolume(222);
m_Sound.SetMusicVolume(200);
if (m_Sound.LoadSoundEffect(1, "go.wav") == E_OK)
{
m_Sound.PlaySound(1);
}
if (m_Sound.LoadMusic(0, "tianji.mp3") == E_OK)
{
m_Sound.PlayMusic(0);
}
}
I do it like this , but it was silence.
I used edgelib 3.97.
Is something wrong in my code ?