All of lore.kernel.org
 help / color / mirror / Atom feed
* changed snd_pcm_close() behaviour
@ 2002-06-26 18:18 Jaroslav Kysela
  2002-06-26 18:29 ` Abramo Bagnara
  0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Kysela @ 2002-06-26 18:18 UTC (permalink / raw)
  To: ALSA development

Hi all,

	after discussion with Takashi and others on this list, the 
behaviour of snd_pcm_close() function has been changed in this way:

The stream is stoped and all samples (if any) are droped. It means, that
if the user space code wants to flush samples to output, the
snd_pcm_drain() function must be called before the snd_pcm_close() call.

	I hope that this change doesn't cause any problems in any 
application. Anyway, please, report all problems.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn

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

* Re: changed snd_pcm_close() behaviour
  2002-06-26 18:18 changed snd_pcm_close() behaviour Jaroslav Kysela
@ 2002-06-26 18:29 ` Abramo Bagnara
  2002-06-26 20:42   ` Jaroslav Kysela
  0 siblings, 1 reply; 3+ messages in thread
From: Abramo Bagnara @ 2002-06-26 18:29 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: ALSA development

Jaroslav Kysela wrote:
> 
> Hi all,
> 
>         after discussion with Takashi and others on this list, the
> behaviour of snd_pcm_close() function has been changed in this way:
> 
> The stream is stoped and all samples (if any) are droped. It means, that
> if the user space code wants to flush samples to output, the
> snd_pcm_drain() function must be called before the snd_pcm_close() call.
> 
>         I hope that this change doesn't cause any problems in any
> application. Anyway, please, report all problems.

Please don't forget to fix alsa-oss.

-- 
Abramo Bagnara                       mailto:abramo@alsa-project.org

Opera Unica                          Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy

ALSA project               http://www.alsa-project.org
It sounds good!


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn

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

* Re: changed snd_pcm_close() behaviour
  2002-06-26 18:29 ` Abramo Bagnara
@ 2002-06-26 20:42   ` Jaroslav Kysela
  0 siblings, 0 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2002-06-26 20:42 UTC (permalink / raw)
  To: Abramo Bagnara; +Cc: ALSA development

On Wed, 26 Jun 2002, Abramo Bagnara wrote:

> Jaroslav Kysela wrote:
> > 
> > Hi all,
> > 
> >         after discussion with Takashi and others on this list, the
> > behaviour of snd_pcm_close() function has been changed in this way:
> > 
> > The stream is stoped and all samples (if any) are droped. It means, that
> > if the user space code wants to flush samples to output, the
> > snd_pcm_drain() function must be called before the snd_pcm_close() call.
> > 
> >         I hope that this change doesn't cause any problems in any
> > application. Anyway, please, report all problems.
> 
> Please don't forget to fix alsa-oss.

Done.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/

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

end of thread, other threads:[~2002-06-26 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-26 18:18 changed snd_pcm_close() behaviour Jaroslav Kysela
2002-06-26 18:29 ` Abramo Bagnara
2002-06-26 20:42   ` Jaroslav Kysela

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.