All of lore.kernel.org
 help / color / mirror / Atom feed
* initial (incomplete) version of ALSA Audio API tutorial
@ 2002-03-21 21:31 Paul Davis
  2002-03-21 23:28 ` [linux-audio-dev] " Kevin Conder
  2002-03-22 20:53 ` markrages
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Davis @ 2002-03-21 21:31 UTC (permalink / raw)
  To: alsa-devel, linux-audio-dev

prompted by phil kerr this morning, i started writing a tutorial on
using the ALSA Audio API (the term "PCM" is OK once you get into this
stuff, but ...). The following document represents it current state. I
would like to ask for feedback even though it is very incomplete. I
have not tested any of the programs yet. 

Specific things I would like feedback on:

	 * is this kind of document useful?
	 * are you totally put off by my low level discussion of
	     how an audio interface works?
         * are there design errors in the sample code?
	 * is my assumption that the default sw params settings
	     will work fine actually correct?
         * does the developer need to set period size?	     
	 * what material in particular do you want to see covered
	     by such a tutorial? it is not going to be 
	     a reference work, so keep that in mind. but i am
	     happy to extend it so that it describes (not documents)
	     all aspects of the ALSA Audio API.
         	     
One thing that has to change in the sample code is that there is
currently no error checking for any of the params setting calls. But I
would really appreciate it if Jaroslav and/or Abramo could review the
code and let me know if these examples are OK as simple cases. I also 
want to add more comments to the code to make it clear what they are
doing at each point.

I would appreciate it if anybody has any ideas on a really simple
way to get the playback examples to make a nice noise without
burdening the examples with either waveform generating code and/or
calls to some kind of audio file library.

Anyway, the URL:

	http://www.op.net/~pbd/alsa-audio.html

Let me know. This complaint about a lack of documentation for ALSA has
got to stop soon, and this is my contribution to making that happen
ASAP. My goal is to have a first, finished version of this ready by
the end of this weekend (march 24th).

--p
	

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

end of thread, other threads:[~2002-03-22 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 21:31 initial (incomplete) version of ALSA Audio API tutorial Paul Davis
2002-03-21 23:28 ` [linux-audio-dev] " Kevin Conder
2002-03-22  1:58   ` Paul Davis
2002-03-22 20:53 ` markrages

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.