All of lore.kernel.org
 help / color / mirror / Atom feed
* Audio artefacts but no xruns
@ 2014-02-02 12:04 Mark Hills
  0 siblings, 0 replies; only message in thread
From: Mark Hills @ 2014-02-02 12:04 UTC (permalink / raw)
  To: alsa-devel

Hi,

I have several applications for realtime processing of audio in/out, using 
small buffer sizes.

I often find that I can get audible time-based distoritions, yet no xrun 
is reported, and the application is unaware.

This problem is something I have, for a long time, taken for granted with 
ALSA. But it doesn't seem right and I would like to understand what's 
going on here.

I am testing using different USB audio devices; snd-usb-audio and 
snd-usb-caiaq. Often using plughw or hw.

Is this some fundamental limitation of USB, that it is unaware of problems 
nearer to the hardware?

Or is this some bug where it's worth me narrowing down a specific test 
case and trying to fix it?

Or some limitation of the use of intermediate processing like plughw?

The effects range from occasional subtle clicks through ringing or 
noticable gaps in the audio, on record or playback.

At very least I would like to guarantee a notification in userland that 
the integrity of the recording or playback is affected.

This is particularly prevalent on, eg. Raspberry Pi. My other tests are on 
x86 platforms.

Thanks

-- 
Mark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-02 12:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-02 12:04 Audio artefacts but no xruns Mark Hills

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.