pipewire/spa/plugins/alsa
Martin Geier 4c11a2aa9a alsa-pcm: start playback immediately if there is start delay set
Without this change, playback_ready or capture_ready was called
immediately after spa_alsa_start even tho start-delay was set.
Ready function was called with not precise "nsec" value, as "nsec"
plus latency should return time when the next buffer should be played
which wasn't true as start-delay was not included.

Now the playback is started immediately when the start_delay is set.
The alsa_do_wakeup_work is still called immediately but two things can
happened. Either start-delay is smaller then max_error and *_ready
function is called immediately, or start-delay is bigger then max_error
and state->next_time will be updated to correct value.

Signed-off-by: Martin Geier <martin.geier@streamunlimited.com>
2024-04-09 09:03:49 +00:00
..
acp acp: move acp_dict_lookup to public header 2024-03-18 11:41:01 +01:00
mixer Add SOC-style jack names to HDMI audio paths 2024-03-01 09:33:55 +00:00
90-pipewire-alsa.rules Update 90-pipewire-alsa.rules with support for Astro Mixamp Pro TR. 2024-04-01 18:31:10 +00:00
acp-tool.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-acp-device.c alsa: improve acp device/node object paths 2024-03-18 11:41:37 +01:00
alsa-compress-offload-device.c alsa-compress-offload-device: notify observers when profile changes 2024-04-09 09:03:49 +00:00
alsa-compress-offload-sink.c alsa: use debug types instead of custom function 2024-01-30 12:19:13 +01:00
alsa-pcm-device.c alsa-pcm-device: notify observers when profile changes 2024-04-09 09:03:49 +00:00
alsa-pcm-sink.c alsa: increase buffers when using small buffer 2024-01-22 12:10:51 +01:00
alsa-pcm-source.c alsa: Move ctl sources to a main loop 2023-11-22 16:00:25 +00:00
alsa-pcm.c alsa-pcm: start playback immediately if there is start delay set 2024-04-09 09:03:49 +00:00
alsa-pcm.h spa: alsa: Read ctl events instead of doing a global diff 2024-03-14 10:13:41 -04:00
alsa-seq-bridge.c spa: small cleanups 2024-01-10 11:35:54 +01:00
alsa-seq.c alsa: fix rate matching in the sequencer 2023-12-05 15:12:27 +01:00
alsa-seq.h alsa: fix rate matching in the sequencer 2023-12-05 15:12:27 +01:00
alsa-udev.c alsa: add option to skip the busy check 2024-03-22 12:42:48 +01:00
alsa.c meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00
alsa.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
compress-offload-api-util.c alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
compress-offload-api-util.h alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
compress-offload-api.c alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
compress-offload-api.h alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00
test-hw-params.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-timer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00