mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
don't use error()
This commit is contained in:
parent
6720ded529
commit
9934e62fe4
3 changed files with 17 additions and 16 deletions
|
|
@ -26,7 +26,8 @@ static int spa_alsa_open(struct state *state)
|
|||
|
||||
CHECK(snd_output_stdio_attach(&state->output, stderr, 0), "attach failed");
|
||||
|
||||
spa_log_info(state->log, "%p: ALSA device open '%s'", state, props->device);
|
||||
spa_log_info(state->log, "%p: ALSA device open '%s' %s", state, props->device,
|
||||
state->stream == SND_PCM_STREAM_CAPTURE ? "capture" : "playback");
|
||||
CHECK(snd_pcm_open(&state->hndl,
|
||||
props->device,
|
||||
state->stream,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue