https://bugs.kde.org/show_bug.cgi?id=490633

Harald Sitter <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Harald Sitter <[email protected]> ---
Sample rate aside (which is probably worth filing a bug against the sound theme
separately) I think this ultimately needs fixing in pipewire.

We set the canberra cache control to permanent

>     ca_context_play(context, cindex,
>                     CA_PROP_EVENT_ID, "audio-volume-change",
>                     CA_PROP_CANBERRA_CACHE_CONTROL, "permanent", // For 
> better performance
>                     nullptr);

which ultimately seems to result in 

>         if (pa_stream_connect_upload(out->stream, (size_t) 
> ca_sound_file_get_size(out->file)) < 0) {

respectively the play call of the sample. So technically pipewire could just
cache the resample, if it had to resample. Indeed, since pipewire is entirely
in the driver seat because of the cache, any workaround to this could and
probably should ultimately be made on the pipewire side anyway.

Any thoughts?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to