X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fgp2x.c;h=18c5e48ca26a1047f66daf1ad98fc953f52df08c;hb=42c7b14797fad5ad8adc822e8d0cebf326eb620b;hp=d1a844fc56a6f7818edc0337046852b5dbb41153;hpb=b837b69b3fcff1737431c8be1c78d1cfd64003a6;p=picodrive.git diff --git a/platform/gp2x/gp2x.c b/platform/gp2x/gp2x.c index d1a844fc..18c5e48c 100644 --- a/platform/gp2x/gp2x.c +++ b/platform/gp2x/gp2x.c @@ -204,6 +204,10 @@ void gp2x_sound_write(void *buff, int len) write(sounddev, buff, len); } +void gp2x_sound_sync(void) +{ + ioctl(sounddev, SOUND_PCM_SYNC, 0); +} void gp2x_sound_volume(int l, int r) {