You are not logged in.

#1 2013-03-31 01:27:02

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

[SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

I've been getting crackly audio with the latest chrome-dev/chromium and pepperflash (11.6 & 11.7).  Other system audio is fine.  Firefox (with 11.2 flash) is fine. 

Is this a known issue?  Is there a solution?

This only happens on my 32-bit Arch install.  My 64-bit install is fine...

Last edited by wilberfan (2013-04-01 00:23:42)


Hey, be nice...I'm new at this!

Offline

#2 2013-03-31 08:28:02

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

try launching chromium with --audio-buffer-size=2048

Offline

#3 2013-04-01 00:23:25

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

bangkok_manouel wrote:

try launching chromium with --audio-buffer-size=2048

Awesome.  That made all the difference!  :-)

Thanks so much!


Hey, be nice...I'm new at this!

Offline

#4 2013-04-01 04:04:55

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

Interesting - what buffer size does it otherwise use? Try, while playing sound:

cat /proc/asound/card0/pcm0p/sub0/hw_params

Offline

#5 2013-04-01 12:06:26

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

brebs wrote:

Interesting - what buffer size does it otherwise use?]

512, more details here: https://code.google.com/p/chromium/issu … ?id=178626

Offline

#6 2013-04-01 12:34:58

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

That's incredibly low, I'm not surprised the hardware can't keep up.

If they care about startup latency, they should be paying attention to ALSA's period_size, rather than buffer_size - IIRC, it is the period_size that has to be filled with data before the sound can begin to be played.

Usual values (as in the config in my sig):
period_size 1024
buffer_size 8192

Offline

#7 2013-04-08 06:12:09

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: [SOLVED] Crackling YouTube Audio with latest chromium/chrome-dev

just FTR, guilty commit has been reverted
http://src.chromium.org/viewvc/chrome/b … rev=191659

Offline

Board footer

Powered by FluxBB