X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x-sound.c;fp=drivers%2Fgp2x%2Fgp2x-sound.c;h=b4a38e076679aa76b07541a709dabca61bb624d4;hp=666aee107029b1e02cc553656e166690fd463df2;hb=4a2a617ac879a95babe3b8a822188b71e9769ba4;hpb=396c448eb538587248ddbf586a90371c71b48183 diff --git a/drivers/gp2x/gp2x-sound.c b/drivers/gp2x/gp2x-sound.c index 666aee1..b4a38e0 100644 --- a/drivers/gp2x/gp2x-sound.c +++ b/drivers/gp2x/gp2x-sound.c @@ -18,9 +18,9 @@ #include #include "../../driver.h" -#include "gp2x.h" +#include "../common/settings.h" +#include "../common/throttle.h" #include "minimal.h" -#include "throttle.h" extern int soundvol; @@ -54,6 +54,11 @@ uint32 GetWriteSound(void) return 1024; } +void StartSound(void) +{ + gp2x_start_sound(Settings.sound_rate, 16, 0); +} + int KillSound(void) { //FCEUI_Sound(0);