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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel