All of lore.kernel.org
 help / color / mirror / Atom feed
* how to resume pcm streams in driver? (esp. powermac snapper)
@ 2004-11-25  7:18 John Steele Scott
  2004-11-25 16:24 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: John Steele Scott @ 2004-11-25  7:18 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi,

In the last week or so Benjamin Herrenschmidt has released a kernel patch which
enables the sleep functionality on the iBook G4 and AlBook laptops.

I have an iBook G4 with Powermac Snapper audio. Most of the suspend/resume
functionality is fine, but one issue I am having a problem with is that pcm
streams are not being resumed.

The streams _are_ being suspended, but how are the supposed to be resumed? What
is the opposite of snd_pcm_suspend_all()?

I know the actual sound hardware is being restored (mostly) correctly, because
the "beep" functionality of the pmac driver works.

Any thoughts?

cheers,

John

[-- Attachment #2: Type: application/pgp-signature, Size: 282 bytes --]

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

* Re: how to resume pcm streams in driver? (esp. powermac snapper)
  2004-11-25  7:18 how to resume pcm streams in driver? (esp. powermac snapper) John Steele Scott
@ 2004-11-25 16:24 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2004-11-25 16:24 UTC (permalink / raw)
  To: John Steele Scott; +Cc: alsa-devel

At Thu, 25 Nov 2004 17:48:12 +1030,
John Steele Scott wrote:
> 
> Hi,
> 
> In the last week or so Benjamin Herrenschmidt has released a kernel patch which
> enables the sleep functionality on the iBook G4 and AlBook laptops.
> 
> I have an iBook G4 with Powermac Snapper audio. Most of the suspend/resume
> functionality is fine, but one issue I am having a problem with is that pcm
> streams are not being resumed.
> 
> The streams _are_ being suspended, but how are the supposed to be resumed? What
> is the opposite of snd_pcm_suspend_all()?

Nothing.  The application is required to call resume by itself
(i.e. preparing the PCM status, start the stream again).
In the case of OSS emulation, the oss emul module does it.


Takashi


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

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

end of thread, other threads:[~2004-11-25 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25  7:18 how to resume pcm streams in driver? (esp. powermac snapper) John Steele Scott
2004-11-25 16:24 ` Takashi Iwai

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.