Audio conversion
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <001e01c4fa15$b1e8d5a0$3501a8c0@rogersqyvr14d3> |
I've redone parts of the audio conversion to be more generic. The cropping bit now uses the rangedslider doohickey, and plays with wav data to do the clipping. There is still a bit more to make it more generic (ie can also be used by QCP). You'll want to wait till I'm finished this time Joe :-) In the end I used the file functions for trimming wav. If I hold the wav file in memory (several megabytes) then playing duplicates that memory when wx loads the file. By using just the file then BitPim uses the lesser amount of memory. Also the trimwavefile function isn't getting things quite right. Look at the printed output and the clips often come back claiming to be negative lengths! And if anyone is really bored, see if you can figure out what the nubs in ranged slider are not drawn transparently. Roger ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt