Improve some debug messages

This commit is contained in:
Julian Ospald 2017-07-19 17:51:38 +02:00
parent 3613f8831b
commit a64923b818
2 changed files with 3 additions and 1 deletions

View File

@ -113,6 +113,9 @@ impl AudioFrontend for AlsaBackend {
*ac = AlsaCard::new(card_name, elem_name, cb)?; *ac = AlsaCard::new(card_name, elem_name, cb)?;
} }
debug!("New card name: {}", self.card_name().unwrap());
debug!("New chan name: {}", self.chan_name().unwrap());
invoke_handlers( invoke_handlers(
&self.handlers.borrow(), &self.handlers.borrow(),
AudioSignal::CardInitialized, AudioSignal::CardInitialized,

View File

@ -233,7 +233,6 @@ extern "C" fn watch_cb(
match stat { match stat {
glib_sys::G_IO_STATUS_AGAIN => { glib_sys::G_IO_STATUS_AGAIN => {
debug!("G_IO_STATUS_AGAIN");
continue; continue;
} }
glib_sys::G_IO_STATUS_NORMAL => { glib_sys::G_IO_STATUS_NORMAL => {