mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
parent
917d865ea8
commit
108715ebfb
1 changed files with 3 additions and 2 deletions
|
|
@ -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 "
|
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 "
|
"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->props.device,
|
||||||
state->stream == SND_PCM_STREAM_CAPTURE ? "capture" : "playback",
|
state->stream == SND_PCM_STREAM_CAPTURE ? "capture" : "playback",
|
||||||
snd_pcm_format_name(state->format),
|
snd_pcm_format_name(state->format),
|
||||||
state->use_mmap ? "mmap" : "rw",
|
state->use_mmap ? "mmap" : "rw",
|
||||||
planar ? "planar" : "interleaved",
|
planar ? "planar" : "interleaved",
|
||||||
state->rate, state->channels, state->buffer_frames, state->period_frames,
|
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 */
|
/* write the parameters to device */
|
||||||
CHECK(snd_pcm_hw_params(hndl, params), "set_hw_params");
|
CHECK(snd_pcm_hw_params(hndl, params), "set_hw_params");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue