mirror of
https://github.com/buserror/mii_emu.git
synced 2024-11-25 05:32:20 +00:00
speaker: Initialize debug fd
Was outputing garbage on the console. Doh. Signed-off-by: Michel Pollet <buserror@gmail.com>
This commit is contained in:
parent
3ee0061de6
commit
938be1724e
@ -88,6 +88,7 @@ mii_speaker_init(
|
|||||||
mii_speaker_t *s)
|
mii_speaker_t *s)
|
||||||
{
|
{
|
||||||
s->mii = mii;
|
s->mii = mii;
|
||||||
|
s->debug_fd = -1;
|
||||||
s->fsize = MII_SPEAKER_FRAME_SIZE;
|
s->fsize = MII_SPEAKER_FRAME_SIZE;
|
||||||
#ifdef HAS_ALSA
|
#ifdef HAS_ALSA
|
||||||
if (!s->off)
|
if (!s->off)
|
||||||
|
Loading…
Reference in New Issue
Block a user