notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ea181
)
oss: use other sync macro
author
notaz
<notasas@gmail.com>
Fri, 28 Aug 2015 22:18:03 +0000
(
01:18
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 28 Aug 2015 22:20:17 +0000
(
01:20
+0300)
for compatibility with OSSv4
linux/sndout_oss.c
patch
|
blob
|
blame
|
history
diff --git
a/linux/sndout_oss.c
b/linux/sndout_oss.c
index
2ac91c4
..
e10d96a
100644
(file)
--- 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, S
OUND_PCM
_SYNC, 0);
+ //ioctl(sounddev, S
NDCTL_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, S
OUND_PCM
_SYNC, 0);
+ ioctl(sounddev, S
NDCTL_DSP
_SYNC, 0);
}
void sndout_oss_setvol(int l, int r)