On May 1, 2013 03:14:01 PM Florian Jung wrote: > Am 01.05.2013 07:59, schrieb Tim E. Real: > > Also, the flag may be *the* solution for the OGG/FLAC problem... > > Well, yeah, i do think so. I'll solve this OGG/FLAC problem on-the-fly > anyway with my changes, so don't bother yourself here :) > > i'll see whether i can use this flag properly, thanks. > > > I know MusE audio code looks like a bitch > > SO TRUE. It's full of special cases which better should be handled > uniformly. (E.g.: no matter if we have a WAV file, a FLAC file, whether > we use or do not use sampling rate conversion, or whether we're > stretching or not: Just do MyAudioStream::getNextFrames(), and let that > one handle the rest.)
Sure, various pieces evolved separately over the years, sometimes without regard to the other pieces probably because it wasn't necessary. And now we are contemplating major changes that must tie all this together. I don't think anyone could have planned for the kinds of things here, it would have taken a long time for them to add incremental features and forced them to see into the future and unify code in a way that they could not have even tested lacking these stretchers and so on. Even then, the best laid plans are sometimes wasted when reality catches up. > > > but it's not that hard, > > > > there is a method to the madness, one can follow it but just needs to > > be really thorough in checking usages and understanding. > > Are you using a good tool for finding your way in the audio code (except > brain.exe, that is)? I'm currently going with a text editor, and a > console shortcut for find -iname *.cpp -exec grep whatISearchFor... Aaahh ! Good grief man, I used to do that with MusE-0.7 and KDE-2. Get into the 21st century with KDevelop or some comparable IDE. Seriously, you are missing some of the finest tools and features available to hunt down usages and bolster *thorough* understanding. My oh my, how these features have rocketed my ability to code. In KDevelop, I simply highlight a word and click 'Show Uses' and it presents a list of ALL the uses of that word or variable and I can immediately jump to any or all of those usages. In any piece of code anywhere, I can highlight any class member name and KDevelop will tell me whether this member overrides or hides some base class member and presents me with a list of all the overrides and allows me to click on those overrides and jump there immediately. It tells me what class the member belongs to, and what base class it may be part of, and lets me jump to all of them at will. KDevelop lets me instantly rename (re-factor) any variable or member and it automatically renames all other usages. KDevelop has integrated SVN. So I can commit and update and show revision numbers in the editor margin, and so much more, directly from the IDE. KDevelop has full integrated CMake. Quite thorough. To create a new KDevelop Project from a local MusE repo pull, you simply point it at the top level directory where the top cmake files resides, and presto, it does the rest. Within minutes you are reading code and examining the cmake options and so on. You can highlight any cmake script keyword, Qt keyword, or system keyword and a handy help bubble pops up describing that keyword's function. Or you can do the same from the integrated help browser which includes all cmake, Qt, and system man pages. I would not be able to code some of the stuff I do without this. Also try the Qt Creator IDE, it may have similar features. Another interesting powerful IDE is Anjuta, although it is not specifically geared towards Qt. And there are a few more good IDEs out there over the last few years, some more Qt-friendly than others. I urge you to at least try KDevelop. It is the King ! Cheers. Tim. ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
