From: <Mar...@t-...> - 2002-05-25 21:26:12
|
Hello Oliv', I haven't heared from you for a while, I hope you're fine. I did more changes to the code of the play class. As the plib library doesn't support recording I looked further for another suitable soundlib, that supports ALSA and OSS drivers as well as playing and recording. I changed then from plib to allegro, which is actually a gaming library, that supports much more than only sound. But the sound capabilities are really impressive. It does support playing and recording, it has support for audio streaming and it handles the audio buffers very flexible. Moreover, it gives excellent and accurate control about the exact playing position - the audioframe, that is just played throughout the audio device. The allegro-section of the Play-class is complete so far. It supports all features, that the OSS-section provided (play all from cursor on, play only selection, play only unselected from the cursor on). According to the allegro documentation, all this should work on windows, too. I still haven't managed to get a working version compiled on windows, which is a matter of time and patience I think - to be honest, I didn't try very hard, yet. In the next days/weeks, I will find time to convert the record.h/.cpp code also to work with allegro. Due to the streaming functions of allegro, I might begin playing with some new features to save user's memory. Maybe I find ways to support harddisk recording and to make apc- studio work directly on the harddisk instead of the ram (it should be the users choice). O.k., that was the latest news for now. I hope you agree with the changes and maybe you can use some code for your windows porting... CU Martin -- Mar...@we... http://www.martinhenne.de |