mirror of
https://github.com/FunKey-Project/picofe-irixxxx.git
synced 2025-12-13 02:08:53 +01:00
oss: use other sync macro
for compatibility with OSSv4
This commit is contained in:
parent
26ea18173c
commit
0415ebf191
@ -51,7 +51,7 @@ void sndout_oss_stop(void)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// sync causes trouble on Caanoo..
|
// sync causes trouble on Caanoo..
|
||||||
//ioctl(sounddev, SOUND_PCM_SYNC, 0);
|
//ioctl(sounddev, SNDCTL_DSP_SYNC, 0);
|
||||||
|
|
||||||
close(sounddev);
|
close(sounddev);
|
||||||
sounddev = -1;
|
sounddev = -1;
|
||||||
@ -178,7 +178,7 @@ int sndout_oss_can_write(int bytes)
|
|||||||
void sndout_oss_wait(void)
|
void sndout_oss_wait(void)
|
||||||
{
|
{
|
||||||
// FIXME?
|
// FIXME?
|
||||||
ioctl(sounddev, SOUND_PCM_SYNC, 0);
|
ioctl(sounddev, SNDCTL_DSP_SYNC, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sndout_oss_setvol(int l, int r)
|
void sndout_oss_setvol(int l, int r)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user