X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fsndout_oss.c;h=e10d96ac4706f63133eb0186c1ad52c25e361a23;hb=e7f580052c03fa3f4603051c1b718be4bd8b2db7;hp=2ac91c49cfb511457fc554d613f1347dbbdbc64d;hpb=39014486f9e50110d23dece007ce4c0ed90d15b1;p=libpicofe.git diff --git a/linux/sndout_oss.c b/linux/sndout_oss.c index 2ac91c4..e10d96a 100644 --- a/linux/sndout_oss.c +++ b/linux/sndout_oss.c @@ -51,7 +51,7 @@ void sndout_oss_stop(void) return; // sync causes trouble on Caanoo.. - //ioctl(sounddev, SOUND_PCM_SYNC, 0); + //ioctl(sounddev, SNDCTL_DSP_SYNC, 0); close(sounddev); sounddev = -1; @@ -178,7 +178,7 @@ int sndout_oss_can_write(int bytes) void sndout_oss_wait(void) { // FIXME? - ioctl(sounddev, SOUND_PCM_SYNC, 0); + ioctl(sounddev, SNDCTL_DSP_SYNC, 0); } void sndout_oss_setvol(int l, int r)