No need to test alsa open at object creationg, since
we don't have a fallback.
This commit is contained in:
parent
be7b97dde7
commit
5ecfcba365
@ -300,16 +300,6 @@ static void
|
||||
acme_volume_alsa_init (AcmeVolumeAlsa *self)
|
||||
{
|
||||
self->_priv = g_new0 (AcmeVolumeAlsaPrivate, 1);
|
||||
|
||||
if (acme_volume_alsa_open (self) == FALSE)
|
||||
{
|
||||
g_warning ("Cannot open alsa.");
|
||||
}
|
||||
|
||||
if (self->_priv->handle != NULL) {
|
||||
acme_volume_alsa_close_real (self);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user