From: Timur Tabi <timur@freescale.com>
To: alsa-devel@alsa-project.org
Subject: Why is ALSA sending STOP/START commands to my driver during MP3 playback?
Date: Fri, 07 Sep 2007 10:09:38 -0500 [thread overview]
Message-ID: <46E169B2.3010509@freescale.com> (raw)
I'm developing an ASoC driver, and when I play an MP3 with mpg123, my driver's
trigger() function is called with the SNDRV_PCM_TRIGGER_STOP command and then
is immediately called again with SNDRV_PCM_TRIGGER_START.
Can someone tell me why ALSA would do this?
This only happens when playing an MP3. When I use aplay to play a regular
Wave file, I don't see this behavior.
My driver does not have the SNDRV_PCM_INFO_PAUSE bit set, because I haven't
gotten around to testing that capability. I suspect that if I did have that
bit set, I would be getting SNDRV_PCM_TRIGGER_PAUSE_PUSH and
SNDRV_PCM_TRIGGER_PAUSE_RELEASE calls instead.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next reply other threads:[~2007-09-07 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 15:09 Timur Tabi [this message]
2007-09-07 23:44 ` Why is ALSA sending STOP/START commands to my driver during MP3 playback? Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E169B2.3010509@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.