[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

[Alsa-devel] Newbie compile problem

2002-10-03 Thread yan hang fai
Hello I am a newbie in alsa development, so please bear with me :) I would like to write a simple audio player using the ALSA library. Currently I have got the three ALSA packages (driver, lib, util) installed. I can use ALSA to output sound, like when i'm using xmms or playing