oss_audio: use a macro to simplify ioctl() error checking
Also add a note about SNDCTL_DSP_GETFMTS which may fail even if OSS is available. Signed-off-by: NTimothy Gu <timothygu99@gmail.com> Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
Showing
想要评论请 注册 或 登录