mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
oss: use other sync macro
for compatibility with OSSv4
This commit is contained in:
parent
26ea18173c
commit
0415ebf191
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue