Improve some debug messages
This commit is contained in:
parent
3613f8831b
commit
a64923b818
@ -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,
|
||||||
|
@ -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 => {
|
||||||
|
Loading…
Reference in New Issue
Block a user