From: Chad A. <ae...@ae...> - 2001-09-26 00:56:56
|
I said I'd e-mail you guys information about my audio library, so here we go. Unfortunately, SF won't let me do mass subscriptions to the mailing list, so I'm manually bcc'ing all of you. ^_^ Well, here we go. http://aegisknight.org/audiere.html http://sf.net/projects/audiere/ Here's a little tutorial: ADR_CONTEXT context = AdrCreateContext("", "", 0, 0, 0, 0, 0, 0); // let's use the standard file I/O functions if (!context) { // oops, let's die gracefully } ADR_STREAM stream = AdrOpenStream(context, "song.mp3"); if (!stream) { AdrDestroyContext(context); // die gracefully } // begin playback AdrPlayStream(stream); // do whatever, wait a bit or something // shut down AdrCloseStream(stream); AdrDestroyContext(context); // end tutorial Look in audiere.h for information about every function. Please feel free to e-mail aud...@li... with any comments, problems, or suggestions you have. -- Chad Austin http://aegisknight.org/ |