X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fgp2x.c;h=6e442433c48651860da46e412e91a16a6fa5fff6;hb=3ef975c9e4839978545919a2684ba97d1a2a881a;hp=2651a50b56336cd80ea6b98d64832d812a48364a;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/linux/gp2x.c b/linux/gp2x.c index 2651a50..6e44243 100644 --- a/linux/gp2x.c +++ b/linux/gp2x.c @@ -298,6 +298,11 @@ 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) { l=l<0?0:l; l=l>255?255:l; r=r<0?0:r; r=r>255?255:r; @@ -327,7 +332,7 @@ void Pause940(int yes) { } -void Reset940(int yes) +void Reset940(int yes, int bank) { }