mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
alsa: improve debug
Use a new state variable to store the device name and direction so that we consistently can debug those.
This commit is contained in:
parent
3c5da11706
commit
99cf172bc7
2 changed files with 49 additions and 48 deletions
|
|
@ -97,6 +97,7 @@ struct state {
|
|||
struct card *card;
|
||||
snd_pcm_stream_t stream;
|
||||
snd_output_t *output;
|
||||
char name[64];
|
||||
|
||||
struct spa_hook_list hooks;
|
||||
struct spa_callbacks callbacks;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue