All of lore.kernel.org
 help / color / mirror / Atom feed
* What causes a STOP in the trigger?
@ 2018-09-13  6:09 Rob
  2018-09-13  7:29 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Rob @ 2018-09-13  6:09 UTC (permalink / raw)
  To: alsa-user, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 784 bytes --]

I'm seeing a weird issue where ALSA doesn't ever hit the pointer function,
and we go straight from START to STOP. Debugging the DMA, we get IRQs, I
call the period_elapsed.

It looks like we hit STOP before we even get the first IRQ. I've checked my
parentheses, and theres no overrun or underrun messages. I don't hit the
close function, nor any other functions until i control-C. Once I do that,
I get a large series of pointer() printks showing multiples of IRQ
positions, as if it queued up the commands...

I thought I was IRQing too fast maybe, but as mentioned above, the
irqreturn function doesn't even get called before we STOP.

What in aplay would instantly force a STOP?

Audio plays a few frames (I can hear a chord), then stalls and repeats
until i Ctrl-C.

Thanks,
Rob

[-- Attachment #1.2: Type: text/html, Size: 994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What causes a STOP in the trigger?
  2018-09-13  6:09 What causes a STOP in the trigger? Rob
@ 2018-09-13  7:29 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2018-09-13  7:29 UTC (permalink / raw)
  To: alsa-devel

Rob wrote:
> I'm seeing a weird issue where ALSA doesn't ever hit the pointer function,
> and we go straight from START to STOP. Debugging the DMA, we get IRQs, I
> call the period_elapsed.

The pointer is called from that.

Sounds like a bug somewhere.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-13  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13  6:09 What causes a STOP in the trigger? Rob
2018-09-13  7:29 ` Clemens Ladisch

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.