Call open_null to open fake handle
* fhandler_dsp.cc (fhandler_dev_dsp::open): Call open_null. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
ab8bc7614c
commit
aadd5f0295
|
@ -1,3 +1,7 @@
|
|||
2015-04-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_dsp.cc (fhandler_dev_dsp::open): Call open_null.
|
||||
|
||||
2015-04-08 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* pwdgrp.h (sidfromuid): New inline function.
|
||||
|
|
|
@ -1037,7 +1037,7 @@ fhandler_dev_dsp::fixup_after_exec ()
|
|||
|
||||
|
||||
int
|
||||
fhandler_dev_dsp::open (int flags, mode_t mode)
|
||||
fhandler_dev_dsp::open (int flags, mode_t)
|
||||
{
|
||||
int ret = 0, err = 0;
|
||||
UINT num_in = 0, num_out = 0;
|
||||
|
@ -1068,7 +1068,7 @@ fhandler_dev_dsp::open (int flags, mode_t mode)
|
|||
if (err)
|
||||
set_errno (err);
|
||||
else
|
||||
ret = fhandler_base::open (flags, mode);
|
||||
ret = open_null (flags);
|
||||
|
||||
debug_printf ("ACCMODE=%y audio_in=%d audio_out=%d, err=%d, ret=%d",
|
||||
flags & O_ACCMODE, num_in, num_out, err, ret);
|
||||
|
|
Loading…
Reference in New Issue