mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: redirect alsa output to log file
Make a custom snd_output object that redirects output to the log file.
This commit is contained in:
parent
0dc5a08bfd
commit
73073eb33f
2 changed files with 59 additions and 19 deletions
|
|
@ -106,6 +106,8 @@ struct state {
|
|||
struct spa_system *data_system;
|
||||
struct spa_loop *data_loop;
|
||||
|
||||
FILE *log_file;
|
||||
|
||||
uint32_t card_index;
|
||||
struct card *card;
|
||||
snd_pcm_stream_t stream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue