summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_dsp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r--winsup/cygwin/fhandler_dsp.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc
index 5c7f42a0e..b98bb391e 100644
--- 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;