Skip to contentSkip to conversation

Clearification needed about structure _snd_pcm

DISCUSSION William Estrada 1 participant 1 message Sep 6, 2008

lore
Share & tools
lore
#0 lore raw

Hi group,

I have found the documentation about ALSA very confusing. Where can I
find the definitions
about the fields in the structure_snd_pcm? Specifically Buffer, Rate, Period, Buffer Size,
Period size, etc. Basically all of these:

Quoted 4 lines

Device: 8c297b8
PCM Device name = 'default' PCM state = RUNNING
access type = MMAP_NONINTERLEAV format = 'U8' (Unsigned
8 bit)

Quoted 10 lines
subformat       = 'STD' (Standard)  channels          = 1
rate            = 8000 bps          period time       = 10000 us
period size     = 80 frame          buffer time       = 0 us
buffer size     = 65536 frames      periods/buffer    = 0 frames
exact rate      = 8000/1 bps        significant bits  = 8000
is batch        = 0                 is block transfer = 1
is double       = 0                 is half duplex    = 0
is joint duplex = 0                 can overrange     = 0
can mmap        = 1                 can pause         = 0
can resume      = 1                 can sync start    = 1

My program is not honoring the 'packet size'.

Signature · 4 lines
William Estrada
[email protected]
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum