Fixed compile issue
This commit is contained in:
parent
f90f421b16
commit
9ae3bfcbc5
|
@ -170,10 +170,12 @@ int telephone_init(telephone_t *telephone_ep, const char *name, const char *call
|
|||
|
||||
static void telephone_close(telephone_t *telephone_ep)
|
||||
{
|
||||
#ifdef HAVE_ALSA
|
||||
if (telephone_ep->sound) {
|
||||
sound_close(telephone_ep->sound);
|
||||
telephone_ep->sound = NULL;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue