Skip to content

disallow rialtomseaudio in webaudio#1680

Open
BunioFH wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
BunioFH:bunio_disallow_rialtomseaudio_in_webaudio
Open

disallow rialtomseaudio in webaudio#1680
BunioFH wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
BunioFH:bunio_disallow_rialtomseaudio_in_webaudio

Conversation

@BunioFH
Copy link
Copy Markdown

@BunioFH BunioFH commented May 27, 2026

this affects AudioContext.decodeAudioData usage when there is a discrepancy between rialtomseaudiosink and software decoding plugins available on the platform. such a situation causes HTMLMediaElement::canPlayType declare support for content type but it should be understood as playback and not decoding to PCM. in turn it makes autoplug-select as used in AudioFileReaderGStreamer.cpp to pick rialtomseaudiosink which is invalid as per case when:

  • non-PCM content is used - get stuck in sample passing loop, it will be waiting to play which doesn't really happen in this scenario as samples were to be pulled and passed to another pipeline
  • PCM content is used - crash as the samples pulled won't be available to be taken

adding rialtomseaudiosink to disallowed plugins list in quirks corrects the situation and in case of missing browser side decoding plugin makes it simply fail. when they are present however they will be the only and right choice for decoding making it work as expected.
d50c86f

Build-Tests Layout-Tests
✅ 🛠 wpe-238-amd64-build ✅ 🧪 wpe-238-amd64-layout
✅ 🛠 wpe-238-arm32-build ✅ 🧪 wpe-238-arm32-layout

@BunioFH BunioFH force-pushed the bunio_disallow_rialtomseaudio_in_webaudio branch 2 times, most recently from 21cbe42 to acad87f Compare May 27, 2026 08:55
@BunioFH BunioFH force-pushed the bunio_disallow_rialtomseaudio_in_webaudio branch from acad87f to d50c86f Compare May 27, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant