<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7566&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / debug firefox-esr microfone sound]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7566</link>
		<description><![CDATA[The most recent posts in debug firefox-esr microfone sound.]]></description>
		<lastBuildDate>Wed, 19 Nov 2025 16:40:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59856#p59856</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>To get <span style="color: green"><strong>microphone working</strong></span> with Firefox, you should completely disable <strong>sandboxing</strong>.<br />This is, of course, <span style="color: red"><strong>a security problem</strong></span>.</p></div></blockquote></div><p><strong>SETUP for DEBUG (MOZ_LOG):</strong></p><div class="codebox"><pre><code>$ inxi -Sxxx
System:
  Host: devuan Kernel: 6.1.0-41-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 Desktop: MATE v: 1.26.0 info: mate-panel wm: marco v: 1.26.1 vt: 7
    dm: LightDM v: 1.26.0 Distro: Devuan GNU/Linux 5 (daedalus)</code></pre></div><p><span class="bbc">about:support</span></p><div class="codebox"><pre><code>Name 	Firefox
Version 	140.5.0esr
Build ID 	20251106203603
...
Audio Backend	alsa
Max Channels	10000
Preferred Sample Rate	48000
Roundtrip latency (standard deviation)	NaNms (NaN)</code></pre></div><p><span class="bbc">about:config</span></p><div class="codebox"><pre><code>media.cubeb.backend		alsa
media.cubeb.sandbox		false</code></pre></div><p>Default Debian/Devuan ALSA config (without any changes).<br />1 soundcard iMic USB</p><div class="codebox"><pre><code>$ cat ~/.asoundrc
cat: ~/.asoundrc: No such file or directory</code></pre></div><p>Debug (Mozilla logging): </p><div class="codebox"><pre><code>MOZ_DISABLE_CONTENT_SANDBOX=1 MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support</code></pre></div><div class="codebox"><pre><code>	Type:	input
	State:	enabled
	Maximum channels:	10000
	Format:	S16LE (0x10) (default: S16LE)
	Rate:	[48000, 48000] (default: 48000)
	Latency: lo 0 frames, hi 0 frames</code></pre></div><div class="codebox"><pre class="vscroll"><code>$ MOZ_DISABLE_CONTENT_SANDBOX=1 MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support
[Parent 10304: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Parent 10304: Main Thread]: V/cubeb media.cubeb.sandbox: true
[Parent 10304: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 10401: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 10401: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Parent 10304: Main Thread]: I/cubeb media.cubeb.sandbox: false
[Parent 10304: Main Thread]: E/cubeb cubeb.c:654:DeviceID: &quot;default&quot; (PREFERRED)
	Name:	&quot;default&quot;
	Group:	&quot;default&quot;
	Vendor:	&quot;default&quot;
	Type:	output
	State:	enabled
	Maximum channels:	10000
	Format:	S16LE (0x10) (default: S16LE)
	Rate:	[48000, 48000] (default: 48000)
	Latency: lo 0 frames, hi 0 frames
[Parent 10304: Main Thread]: E/cubeb cubeb.c:654:DeviceID: &quot;default&quot; (PREFERRED)
	Name:	&quot;default&quot;
	Group:	&quot;default&quot;
	Vendor:	&quot;default&quot;
	Type:	input
	State:	enabled
	Maximum channels:	10000
	Format:	S16LE (0x10) (default: S16LE)
	Rate:	[48000, 48000] (default: 48000)
	Latency: lo 0 frames, hi 0 frames
[Child 10461: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 10461: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Parent 10304: BackgroundThreadPool #1]: E/cubeb Could not get input latency
[Parent 10304: BackgroundThreadPool #1]: E/cubeb Could not get input latency</code></pre></div><p>The <strong>&quot;Could not get input latency&quot;</strong> error in Firefox with ALSA is <strong>a known limitation in Cubeb</strong>.</p><p>Despite <span class="bbc">dsnoop</span> working and audio flowing, Cubeb fails to query latency from ALSA input devices — especially when using <span class="bbc">dmix</span>/<span class="bbc">dsnoop</span> via the <span class="bbc">default</span> PCM. This results in <strong>0 frames reported for input latency</strong>, even though capture works.</p><p>This issue is documented in:<br /><span style="color: blue"><strong>Bugzilla #1650131</strong></span> : ALSA input shows <span class="bbc">Latency: lo 0 frames, hi 0 frames</span> <br />_https://bugzilla.mozilla.org/show_bug.cgi?id=1650131 <br /><span style="color: blue"><strong>Bugzilla #907817</strong></span> : ALSA backend does not implement proper latency reporting<br />_https://bugzilla.mozilla.org/show_bug.cgi?id=907817</p><p>Cubeb assumes PulseAudio or PipeWire for accurate timing — with raw ALSA, it falls back to <strong>estimated or fixed latency values</strong>.</p><p>The setup works — the error is cosmetic and reflects Cubeb’s lack of ALSA input latency support, not a functional failure.</p><p>Right — the setup works, really. Only a <em><strong>minor</strong></em> security oversight, nothing one wouldn’t overlook. PulseAudio, of course, enjoys a rather privileged position — able to wander in and out as it pleases. ALSA, on the other hand, is quite content with its role: quietly serving, obeying, and generally staying out of the way. One might say its freedom is… <em><strong>limited</strong></em>, just enough to make independent use a tad inconvenient.&#160; </p><p>And if one happens to hear perfectly well, well — perhaps macOS was the intended destination all along.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Wed, 19 Nov 2025 16:40:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59856#p59856</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59796#p59796</link>
			<description><![CDATA[<p>@igorzwx</p><div class="codebox"><pre><code>MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support &gt; alsadebug.txt</code></pre></div><div class="codebox"><pre><code>grep -A1 Type: alsadebug.txt
	Type:	output
	State:	enabled
--
	Type:	output
	State:	enabled</code></pre></div><div class="codebox"><pre><code>grep -c input alsadebug.txt
40</code></pre></div><p>40*</p><div class="codebox"><pre><code>Parent 5845: BackgroundThreadPool #1]: E/cubeb Could not get input latency</code></pre></div><div class="codebox"><pre class="vscroll"><code>MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support
[Parent 5845: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Parent 5845: Main Thread]: V/cubeb media.cubeb.sandbox: true
[Parent 5845: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Parent 5845: Main Thread]: E/cubeb media.cubeb.sandbox: false, but content sandbox enabled - forcing true
[Child 5935: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 5935: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 5935: Main Thread]: E/cubeb media.cubeb.sandbox: false, but content sandbox enabled - forcing true
[Child 5935: Main Thread]: I/cubeb media.cubeb.sandbox: true
[Parent 5845: Main Thread]: D/cubeb Starting cubeb server...
[Parent 5845: Main Thread]: D/cubeb media.audioipc.shm_area_size: 0
[Parent 5845: Main Thread]: I/cubeb media.cubeb.sandbox: true
[Parent 5845: Main Thread]: D/cubeb media.audioipc.shm_area_size: 0
[Parent 5845: Main Thread]: D/cubeb media.audioipc.stack_size: 262144
[Parent 5845: AudioIPC Server RPC]: E/cubeb cubeb.c:654:DeviceID: &quot;default&quot; (PREFERRED)
        Name:   &quot;default&quot;
        Group:  &quot;default&quot;
        Vendor: &quot;default&quot;
        Type:   output
        State:  enabled
        Maximum channels:       10000
        Format: S16LE (0x10) (default: S16LE)
        Rate:   [48000, 48000] (default: 48000)
        Latency: lo 0 frames, hi 0 frames
[Parent 5845: Main Thread]: E/cubeb cubeb.c:654:DeviceID: &quot;default&quot; (PREFERRED)
        Name:   &quot;default&quot;
        Group:  &quot;default&quot;
        Vendor: &quot;default&quot;
        Type:   output
        State:  enabled
        Maximum channels:       10000
        Format: S16LE (0x10) (default: S16LE)
        Rate:   [48000, 48000] (default: 48000)
        Latency: lo 0 frames, hi 0 frames
[Parent 5845: BackgroundThreadPool #1]: E/cubeb Could not get input latency
....
MOZ_LOG=&quot;cubeb:5&quot; firefox about:support 2&gt;&amp;1  9,65s user 2,25s system 22% cpu 52,439 total</code></pre></div><p>While chromium shows all the micro inputs in the settings menu, firefox shows default only .</p><p>@rrq : done with the modificaion shown </p><p>@rrq : The change in /etc/asound.conf had adverse effects on chromium : no sound on my receiving end. I eliminated this change.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Tue, 18 Nov 2025 01:04:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59796#p59796</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59773#p59773</link>
			<description><![CDATA[<p><strong>Firefox with</strong> <span class="bbc">apulse</span></p><div class="codebox"><pre><code>Firefox pulse-rust → apulse → ALSA   Input is ENABLED  Roundtrip latency 162.86ms (18.90)</code></pre></div><div class="codebox"><pre><code>$ MOZ_LOG=&quot;cubeb:5&quot; apulse firefox 2&gt;&amp;1 about:support
...
	Type:	output
	State:	enabled
...
	Type:	input
	State:	enabled
	Maximum channels:	2
	Format:	S16LE S16BE F32LE F32BE (0x3030) (default: S16LE)
	Rate:	[1, 384000] (default: 44100)
	L</code></pre></div><p><span class="bbc">about:support</span></p><div class="codebox"><pre><code>Name 	Firefox
Version 	140.5.0esr
Build ID 	20251106203603
...
Audio Backend	pulse-rust
Max Channels	2
Preferred Sample Rate	44100
Roundtrip latency (standard deviation)	162.86ms (18.90)</code></pre></div><p><strong>Firefox with ALSA without</strong> <span class="bbc">apulse</span></p><div class="codebox"><pre><code>Firefox → ALSA   NOTHING about Input   Roundtrip latency ?</code></pre></div><div class="codebox"><pre><code>$ MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support
...
	Type:	output
	State:	enabled
	Maximum channels:	10000
	Format:	S16LE (0x10) (default: S16LE)
	Rate:	[48000, 48000] (default: 48000)
	Latency: lo 0 frames, hi 0 frames

# NOTHING about Input</code></pre></div><p><span class="bbc">about:support</span></p><div class="codebox"><pre><code>Name 	Firefox
Version 	140.5.0esr
Build ID 	20251106203603
...
Audio Backend	alsa
Max Channels	10000
Preferred Sample Rate	48000
Roundtrip latency (standard deviation)	NaNms (NaN)</code></pre></div><p>Défault ALSA config, only one soundcard iMic USB</p><p>You can file a bug to Firefox (CUBEB&#039;s ALSA backend)</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 17 Nov 2025 15:28:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59773#p59773</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59769#p59769</link>
			<description><![CDATA[<p>Full duplex is also enabled by default with <span class="bbc">asym</span>&#160; in <span class="bbc">/usr/share/alsa/cards/HDA-Intel.conf<br /></span></p><p><span class="bbc">MOZ_LOG=&quot;cubeb:5&quot;</span> should show</p><div class="codebox"><pre><code>        Type:	input
	State:	enabled</code></pre></div><p>DMIX <strong><em>IS</em></strong> ENABLED by default.</p><div class="quotebox"><blockquote><div><p>Remove your ALSA config, play audio from two sources at once, and you’ll hear the default <span class="bbc">dmix</span> quietly doing its job. When using multiple sound cards, setting <span class="bbc">defaults.pcm.!card</span> and <span class="bbc">defaults.ctl.!card</span> in <span class="bbc">~/.asoundrc</span> ensures ALSA directs audio and control to the correct device. Without this, removing your config may cause ALSA to default to a different card — potentially making sound &quot;disappear.&quot; Use the card’s name (e.g., <span class="bbc">PCH</span>) or index to lock the default.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 17 Nov 2025 12:53:30 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59769#p59769</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59768#p59768</link>
			<description><![CDATA[<p>@bai4Iej2need yes it would be in addition. Your settings defines the CARD &quot;variable&quot; and it thus applies separately and together.</p><p>Though, as @igorzwx noted, the default setup might already have dsnoop and dmix.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 17 Nov 2025 12:46:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59768#p59768</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59766#p59766</link>
			<description><![CDATA[<p>Set defaults in <span class="bbc">~/.asoundrc</span>:</p><div class="codebox"><pre><code>$ cat ~/.asoundrc 
defaults.pcm.!card PCH
defaults.ctl.!card PCH</code></pre></div><p>and run</p><div class="codebox"><pre><code>apulse firefox</code></pre></div><div class="codebox"><pre><code>$ apt-cache search apulse
apulse - PulseAudio emulation for ALSA</code></pre></div><p>Debug (logging):</p><p>with <span class="bbc">apulse</span></p><div class="codebox"><pre><code>MOZ_LOG=&quot;cubeb:5&quot; apulse firefox 2&gt;&amp;1 about:support</code></pre></div><p>without <span class="bbc">apulse</span></p><div class="codebox"><pre><code>MOZ_LOG=&quot;cubeb:5&quot; firefox 2&gt;&amp;1 about:support</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 17 Nov 2025 11:14:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59766#p59766</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59765#p59765</link>
			<description><![CDATA[<p>@rrq</p><p>my current /etc/asound.conf is : </p><div class="codebox"><pre><code>defaults.pcm.!card PCH
defaults.ctl.!card PCH</code></pre></div><p>Is the here <a href="https://dev1galaxy.org/viewtopic.php?pid=59668#p59668" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=59668#p59668</a> proposed solution an addition to that setting ?</p><p>thx</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Mon, 17 Nov 2025 10:25:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59765#p59765</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59698#p59698</link>
			<description><![CDATA[<p>If anyone else has been looking for the documentation for the <span class="bbc">.asoundrc</span> format, I found it at <a href="https://www.alsa-project.org/wiki/Asoundrc" rel="nofollow">the official ALSA wiki</a>. It was kind of buried in a half-broken list of links on the Documentation page. If that link ever goes down, there&#039;s also <a href="https://web.archive.org/web/20250826054557/https://www.alsa-project.org/wiki/Asoundrc" rel="nofollow">an archive here</a>. It would be nice if <span class="bbc">.asoundrc</span> actually had a man page, like <span class="bbc">xorg.conf</span>, and many other system configuration files.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Sun, 16 Nov 2025 05:43:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59698#p59698</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59692#p59692</link>
			<description><![CDATA[<p>That&#039;s a great .asoundrc example. Though you could have omitted &quot;primary_system&quot; tree which most likely will confuse the casual reader <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I suggest the OP should only consider the part following <span class="bbc"># Configuration for PCH</span>.</p><p>You, the reader, may however note the similarities between the &quot;default&quot; tree and the &quot;primary_system&quot; tree (which targets the USB sound card), and pay attention to the differences in their sample rates and bit sizes (48k, 16 bits versus 192k, 32 bits). In both cases rate conversions are handled by fftrate which @igorzwx introduced us to last year.</p><p>See e.g, <a href="https://dev1galaxy.org/viewtopic.php?id=7142" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=7142</a> or search <span class="bbc">fftrate</span> on the forum. We are still longing for a debian packaging of this.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 15 Nov 2025 23:53:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59692#p59692</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59691#p59691</link>
			<description><![CDATA[<p>Do you need a fully functional ALSA software mixer? For example:</p><div class="codebox"><pre class="vscroll"><code>$ cat ~/.asoundrc
# ALSA library configuration file managed by arateconf.
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.

#=====================================================
# Configuration for system
#-----------------------------------------------------

# Perform dmixer
pcm.dmixer_system
{
	type			dmix
	ipc_key			1024
	ipc_perm		0666

	hint
	{
		show		off
		description	&quot;Direct mixing of multiple audio streams (system)&quot;
	}

	slave
	{
		pcm		&quot;hw:system,0&quot;

		rate		48000
		channels	2
		format		S16_LE

		period_size	1920
		buffer_size	7680
	}
}

# Perform dsnooper
pcm.dsnooper_system
{
	type			dsnoop
	ipc_key			1025
	ipc_perm		0666

	hint
	{
		show		off
		description	&quot;Recording from the same device for several applications simultaneously (system)&quot;
	}

	slave
	{
		pcm		&quot;hw:system,0&quot;

		rate		48000
		format		S16_LE

		period_size	1920
		buffer_size	7680
	}
}

# Perform duplex
pcm.duplex_system
{
	type			asym
	playback.pcm		&quot;dmixer_system&quot;
	capture.pcm		&quot;dsnooper_system&quot;

	hint
	{
		show		off
		description	&quot;Full duplex for simultaneous playback and recording (system)&quot;
	}
}

# Perform convert
pcm.convert_system
{
	type			rate
	converter		fftrate

	hint
	{
		show		off
		description	&quot;Sample rate converter (system)&quot;
	}

	slave
	{
		pcm	&quot;duplex_system&quot;
		rate	48000
		format	S16_LE
	}
}

# Perform plug device
pcm.primary_system
{
	type			plug
	slave.pcm		&quot;convert_system&quot;
	hint.description	&quot;Default device (system)&quot;
}

#=====================================================
# Configuration for PCH
#-----------------------------------------------------

# Perform dmixer
pcm.dmixer_PCH
{
	type			dmix
	ipc_key			1026
	ipc_perm		0666

	hint
	{
		show		off
		description	&quot;Direct mixing of multiple audio streams (PCH)&quot;
	}

	slave
	{
		pcm		&quot;hw:PCH,0&quot;

		rate		192000
		channels	2
		format		S32_LE

		period_size	7680
		buffer_size	30720
	}
}

# Perform dsnooper
pcm.dsnooper_PCH
{
	type			dsnoop
	ipc_key			1027
	ipc_perm		0666

	hint
	{
		show		off
		description	&quot;Recording from the same device for several applications simultaneously (PCH)&quot;
	}

	slave
	{
		pcm		&quot;hw:PCH,0&quot;

		rate		192000
		format		S32_LE

		period_size	7680
		buffer_size	30720
	}
}

# Perform duplex
pcm.duplex_PCH
{
	type			asym
	playback.pcm		&quot;dmixer_PCH&quot;
	capture.pcm		&quot;dsnooper_PCH&quot;

	hint
	{
		show		off
		description	&quot;Full duplex for simultaneous playback and recording (PCH)&quot;
	}
}

# Perform convert
pcm.convert_PCH
{
	type			rate
	converter		fftrate

	hint
	{
		show		off
		description	&quot;Sample rate converter (PCH)&quot;
	}

	slave
	{
		pcm	&quot;duplex_PCH&quot;
		rate	192000
		format	S32_LE
	}
}

#=====================================================
# Configuration for default audio device
#-----------------------------------------------------

# Perform plug device
pcm.!default
{
	type			plug
	slave.pcm		&quot;convert_PCH&quot;
	hint.description	&quot;Default device&quot;
}</code></pre></div><div class="codebox"><pre><code>$ cat /proc/asound/cards
 0 [system         ]: USB-Audio - iMic USB audio system
                      Griffin Technology, Inc iMic USB audio system at usb-0000:00:1a.0-1.3.4, full s
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7e10000 irq 31</code></pre></div><p>Firefox has <span class="bbc">cubeb</span> inside</p><p><strong>libcubeb - Cross-platform Audio I/O Library</strong><br />_https://github.com/mozilla/cubeb</p><p>All backends are still buggy, except for the backend for CoreAudio (macOS).<br />A standalone <span class="bbc">cubeb</span> is easy to compile with CMake and <span class="bbc">ninja</span>. You can debug ALSA backend.</p><p>Zoom app works with ALSA, provided that you have a fully functional software mixer.<br />But Discord should be used with apulse</p><div class="codebox"><pre><code>apulse discord</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Sat, 15 Nov 2025 22:40:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59691#p59691</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59690#p59690</link>
			<description><![CDATA[<p>Yes I noticed you mentioned that some while ago (and has verified on my system).</p><p>I still needed the setup on that (daedalus) system, so thought to mention it. Baybe it rather was the S16_LE setting for the microphone that made the difference, or the 48k sampling (?) I&#039;m not sure.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 15 Nov 2025 22:13:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59690#p59690</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59670#p59670</link>
			<description><![CDATA[<p>Ralph, haven&#039;t you noticed that Debian/Devuan has already both dmix and dsnoop enabled by default?</p><div class="quotebox"><blockquote><div><p>Debian Wiki:<br />Advanced features such as mixing should already be configured with sane defaults.<br />_https://wiki.debian.org/ALSA#Configuration</p></div></blockquote></div><p>Try this command:</p><div class="codebox"><pre><code>grep -r &quot;defaults.pcm.dmix.rate&quot; /usr/share/alsa/</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Sat, 15 Nov 2025 12:37:51 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59670#p59670</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59668#p59668</link>
			<description><![CDATA[<p>For some firefox version I had to introduce a &quot;dsnoop&quot; pcm on the capture side, so that it could handle multiple concurrent accesses to the microphone. It appeared to be that firefox opened the microphone device before forking and thereby ended up in access contention with itself; the &quot;dsnoop&quot; pcm allows the microphone to be shared. </p><p>It resulted in a few pcm declarations in ~/.asoundrc:</p><div class="codebox"><pre><code>pcm.!default {
    type plug
    slave {
        pcm splitter
        rate 48000 ; channels 2
    }
}
pcm.splitter {
    type asym
    playback.pcm plughw
    capture.pcm mic
}

# The &quot;mic&quot; PCM adds &quot;dsnoop&quot; to source opening, which allows a single
# source be used by many &quot;consuming processes&quot;. This is required by
# firefox, which otherwise locks out itself from using the microphone.
pcm.mic {
    type dsnoop
    ipc_key 5
    ipc_key_add_uid false
    slave {
        pcm &quot;hw:0,0&quot;
        period_size 2048 ; buffer_size 16384
        periods 0 ; period_time 0
        format S16_LE ; rate 48000 ; channels 2
    }
}</code></pre></div><p>Something like that; it was a while ago and I&#039;m not totally sure about it.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 15 Nov 2025 10:36:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59668#p59668</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59667#p59667</link>
			<description><![CDATA[<p>alsamixer : all channels are open.<br />no, as mic works in chromium and loopback, problem is with interface to firefox-esr and librewolf.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sat, 15 Nov 2025 10:16:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59667#p59667</guid>
		</item>
		<item>
			<title><![CDATA[Re: debug firefox-esr microfone sound]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=59666#p59666</link>
			<description><![CDATA[<p>Did you check the mixer? The Mic channel is often muted (or set to 0 volume) when you first set up a new system with ALSA. I&#039;m not sure what desktop you&#039;re using, but you should be able to at least open <span class="bbc">alsamixer</span> in a terminal and check the mic channel.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Sat, 15 Nov 2025 10:10:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=59666#p59666</guid>
		</item>
	</channel>
</rss>
