All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: trigger commands
Date: Mon, 24 Mar 2003 12:00:20 +0100	[thread overview]
Message-ID: <s5hu1dtowqj.wl@alsa2.suse.de> (raw)
In-Reply-To: <XFMail.20030324114850.pochini@shiny.it>

At Mon, 24 Mar 2003 11:48:50 +0100 (CET),
Giuliano Pochini wrote:
> 
> 
> >> What are PUSH, RELEASE, SUSPEND, RESUME trigger commands supposed to do
> >> ?
> >
> > * pcm stream pausing
> > imagine the pause-button is pushed and released.
> > these commands are issued only when SNDRV_PCM_INFO_PAUSE is set to
> > info field of snd_pcm_hardware_t.
> >
> > - PAUSE_PUSH
> >       pause the stream
> > - PAUSE_RELEASE
> >       restart the paused stream
> 
> Ok, PAUSE_PUSH-->stop() and TRIGGER_STOP-->stop()-and-reset dma
> pointer. In my case RELEASE and START are the same thing.

note that resetting the dma pointer wouldn't be necessary in STOP
trigger (although it may be safer), since the dma pointer will be
reprogrammed anyway by the succeeding call or prepare callback from
the ALSA middle layer.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-03-24 11:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-23 18:31 trigger commands Giuliano Pochini
2003-03-24  9:55 ` Takashi Iwai
2003-03-24 10:48   ` Giuliano Pochini
2003-03-24 11:00     ` Takashi Iwai [this message]
2003-03-24 16:10       ` Giuliano Pochini
2003-03-25 17:24   ` pcm interfaces questions Giuliano Pochini
2003-03-25 17:51     ` Paul Davis
2003-03-26  9:32     ` Takashi Iwai
2003-03-26 14:18       ` Giuliano Pochini
2003-03-26 15:48         ` Paul Davis
2003-03-26 20:32         ` Jaroslav Kysela

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=s5hu1dtowqj.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pochini@shiny.it \
    /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.