X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x-sound.c;h=e1888733038b923136847b861ee15dec62ec19d4;hb=c0623dcfadb00843e43c0f8cdcb8898bfc1f08f5;hp=20af608275be69cf690e2fdbcddd7b6147e82ff8;hpb=b2b95d2e0d1fd5e52d03c2152605b09b024c1d0e;p=fceu.git diff --git a/drivers/gp2x/gp2x-sound.c b/drivers/gp2x/gp2x-sound.c index 20af608..e188873 100644 --- a/drivers/gp2x/gp2x-sound.c +++ b/drivers/gp2x/gp2x-sound.c @@ -37,12 +37,10 @@ void SilenceSound(int n) soundvol=0; } -int InitSound(FCEUGI *gi) +int InitSound(void) { - Settings.sound=22050; - FCEUI_Sound(Settings.sound); + FCEUI_Sound(Settings.sound_rate); gp2x_sound_volume(soundvol, soundvol); - printf("InitSound() sound_rate: %d\n", Settings.sound); return 1; } @@ -58,7 +56,7 @@ uint32 GetWriteSound(void) int KillSound(void) { - FCEUI_Sound(0); + //FCEUI_Sound(0); return 1; }