All of lore.kernel.org
 help / color / mirror / Atom feed
* proper suspend / resume for PCM streams
@ 2005-08-15 19:47 Jaroslav Kysela
  2005-08-15 19:55 ` Jaroslav Kysela
  2005-08-16 10:50 ` Takashi Iwai
  0 siblings, 2 replies; 12+ messages in thread
From: Jaroslav Kysela @ 2005-08-15 19:47 UTC (permalink / raw)
  To: ALSA development

Hi,

	I'm digging to add the proper suspend and resume to the HDA intel 
driver (PCM) and I noticed that some drivers incorrectly uses 
the SNDRV_PCM_INFO_RESUME flag (notably intel8x0.c, intel8x0m.c, 
hda_intel.c and perhaps more - I'll check).
	The semantics of this flag is: The driver can do full recovery
for the suspended stream and can trigger it back to previous state 
(including position in the ring buffer and all other related things).
If the PCM stream must be restarted with the prepare callback, this flag 
MUST NOT be set.
	For the first glance: cs4281.c and es1968.c drivers are restoring 
the registers, so it appears that the full resume should work for them.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

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

end of thread, other threads:[~2005-08-17  9:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 19:47 proper suspend / resume for PCM streams Jaroslav Kysela
2005-08-15 19:55 ` Jaroslav Kysela
2005-08-16 10:50 ` Takashi Iwai
2005-08-16 10:57   ` Jaroslav Kysela
2005-08-16 11:08     ` Takashi Iwai
2005-08-16 11:18       ` Jaroslav Kysela
2005-08-16 11:25         ` Takashi Iwai
2005-08-16 11:33           ` Jaroslav Kysela
2005-08-16 12:28             ` Takashi Iwai
2005-08-16 15:00             ` Lee Revell
2005-08-16 17:33               ` Takashi Iwai
2005-08-17  9:48                 ` 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.