OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d839673
)
* fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
author
cgf
<cgf>
Tue, 14 Jan 2003 02:08:35 +0000
(
02:08
+0000)
committer
cgf
<cgf>
Tue, 14 Jan 2003 02:08:35 +0000
(
02:08
+0000)
SNDCTL_DSP_GETFMTS.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/fhandler_dsp.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
743a376
..
feda978
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,8
@@
+2003-01-14 David Huang <davehzhr@hotmail.com>
+
+ * fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
+ SNDCTL_DSP_GETFMTS.
+
2003-01-12 Christopher Faylor <cgf@redhat.com>
* ntdll.h: Fix typo.
diff --git
a/winsup/cygwin/fhandler_dsp.cc
b/winsup/cygwin/fhandler_dsp.cc
index
5c7f42a
..
b98bb39
100644
(file)
--- a/
winsup/cygwin/fhandler_dsp.cc
+++ b/
winsup/cygwin/fhandler_dsp.cc
@@
-623,6
+623,13
@@
fhandler_dev_dsp::ioctl (unsigned int cmd, void *ptr)
}
break;
+ CASE (SNDCTL_DSP_GETFMTS)
+ {
+ *intptr = AFMT_S16_LE | AFMT_U8 | AFMT_S8; // more?
+ return 0;
+ }
+ break;
+
default:
debug_printf ("/dev/dsp: ioctl not handled yet! FIXME:");
break;