Help: snd_pcm_memmap_begin() and number of channels
The definition of snd_pcm_mmap_begin():
int snd_pcm_mmap_begin ( snd_pcm_t * pcm,
const snd_pcm_channel_area_t ** areas,
snd_pcm_uframes_t * offset,
snd_pcm_uframes_t * frames
)
Am I correct to assume that after this call there is one area for each of the channels the sound card has been successfully set up for?
Asbjørn
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
At Fri, 11 Nov 2005 10:24:42 +0100,
Quoted 10 lines · Asbjørn
The definition of
snd_pcm_mmap_begin():int
snd_pcm_mmap_begin(snd_pcm_t* pcm,
constsnd_pcm_channel_area_t** areas,
snd_pcm_uframes_t* offset,
snd_pcm_uframes_t* frames
)
Quoted 2 lines
Am I correct to assume that after this call there is one area for each of the channels the sound card has been successfully set up for?
Yes.
Takashi
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php