Closed Bug 915515 Opened 11 years ago Closed 6 years ago

Investigate why there is a limit on cubeb alsa streams and/or why webaudio tests are reaching that limit

Categories

(Core :: Audio/Video: cubeb, defect, P5)

x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: karlt, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #911777 +++

CUBEB_STREAM_MAX in cubeb_alsa is half what it is in cubeb_winmm.
It's restricted in cubeb_winmm to avoid what appears to be an OS issue: bug 742154.

It's less in cubeb_alsa because the alsa-pulse plugin causes a 64MB mapping to be created per PCM, so 16 is already 1024MB.  That's avoidable by doing the last bits of work to enable PulseAudio by default on Linux: bug 837563.
Priority: -- → P3
Do we still care about this?
Flags: needinfo?(karlt)
Priority: P3 → --
I don't but maybe other people care? We don't use Alsa by default these days, but it's still supported.
Priority: -- → P4
With multiple AudioContexts mixed into one stream (and with close on page unload) now, this is no longer an issue for Web Audio.

I guess now that alsa is only used when pulseaudio is not available, the alsa-pulse plugin won't be involved, so perhaps there is no longer the need for such a limit with alsa, but this doesn't seem very important now.
Component: Web Audio → Audio/Video: MSG/cubeb/GMP
Flags: needinfo?(karlt)
Summary: Investigate why there is a limit on cubeb streams and/or why webaudio tests are reaching that limit → Investigate why there is a limit on cubeb alsa streams and/or why webaudio tests are reaching that limit
Component: Audio/Video: MediaStreamGraph → Audio/Video: cubeb
Mass change P4->P5 to align with new Mozilla triage process.
Priority: P4 → P5
No longer relevant for Gecko, as it no longer uses cubeb_alsa.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.