All of lore.kernel.org
 help / color / mirror / Atom feed
* accessing sw data buffers in card driver?
@ 2002-11-05 16:02 John Shepherd
  2002-11-05 17:21 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: John Shepherd @ 2002-11-05 16:02 UTC (permalink / raw)
  To: alsa-devel

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

hi,

um ....how do i extract the audio buffers from memory inside say a card driver, like the snd-dummy.  i am just experimenting with ALSA to see if it is possible to stream the audio data to the 1394 bus...
so i just need to know how to get the data out of the buffer...

i assume a call to this gets the size out:

snd_pcm_lib_buffer_bytes(substream);


what pcm_function will return the *buffer?  do i access it through runtime->dma_area?

thanx,
john.

================================
John Shepherd 

Dept. of Computer Science
Rhodes University
Grahamstown
South Africa
6140.
================================

[-- Attachment #2: Type: text/html, Size: 1692 bytes --]

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

end of thread, other threads:[~2002-11-05 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 16:02 accessing sw data buffers in card driver? John Shepherd
2002-11-05 17:21 ` 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.