Re: [Alsa-devel] A newbie's question with snd_pcm_writei

2002-10-18 Thread Pannaga Bhushan
frame is what is played out(during playback) or what is recorded(during capture) at each sample. so this frame depends on what format your sound is i.e whether it is one channel or two channel and length of each sample, whether 16 bit or 8 bit. so a 2 channel stereo 16-bit sound will have a frame

[Alsa-devel] A newbie's question with snd_pcm_writei

2002-10-08 Thread yan hang fai
Dear everyone I have a question on using this api call. In the last argument, we need to pass in the "frame". But the problem is that I dont understand the term "frame". Could anyone explain to me a little bit what it is? And also, what is meant by a "period"? I have read http://www