* fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
SNDCTL_DSP_GETFMTS.
This commit is contained in:
parent
bd14387749
commit
2673d5f209
|
@ -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>
|
2003-01-12 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* ntdll.h: Fix typo.
|
* ntdll.h: Fix typo.
|
||||||
|
|
|
@ -623,6 +623,13 @@ fhandler_dev_dsp::ioctl (unsigned int cmd, void *ptr)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
CASE (SNDCTL_DSP_GETFMTS)
|
||||||
|
{
|
||||||
|
*intptr = AFMT_S16_LE | AFMT_U8 | AFMT_S8; // more?
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
debug_printf ("/dev/dsp: ioctl not handled yet! FIXME:");
|
debug_printf ("/dev/dsp: ioctl not handled yet! FIXME:");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue