From 108715ebfb6552ee03aa3e9352824a6f11c62135 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 30 Mar 2023 17:50:35 +0200 Subject: [PATCH] alsa: add tsched use to info log Fixes !1580 --- spa/plugins/alsa/alsa-pcm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spa/plugins/alsa/alsa-pcm.c b/spa/plugins/alsa/alsa-pcm.c index 45748ffe9..7ddd980f8 100644 --- a/spa/plugins/alsa/alsa-pcm.c +++ b/spa/plugins/alsa/alsa-pcm.c @@ -1637,14 +1637,15 @@ int spa_alsa_set_format(struct state *state, struct spa_audio_info *fmt, uint32_ spa_log_info(state->log, "%s (%s): format:%s access:%s-%s rate:%d channels:%d " "buffer frames %lu, period frames %lu, periods %u, frame_size %zd " - "headroom %u start-delay:%u", + "headroom %u start-delay:%u tsched:%u", state->props.device, state->stream == SND_PCM_STREAM_CAPTURE ? "capture" : "playback", snd_pcm_format_name(state->format), state->use_mmap ? "mmap" : "rw", planar ? "planar" : "interleaved", state->rate, state->channels, state->buffer_frames, state->period_frames, - periods, state->frame_size, state->headroom, state->start_delay); + periods, state->frame_size, state->headroom, state->start_delay, + !state->disable_tsched); /* write the parameters to device */ CHECK(snd_pcm_hw_params(hndl, params), "set_hw_params");