Re: theme.ui architecture

1999-10-08 Thread Isaac Richards
On 08-Oct-99 Tom Spindler wrote: > Incidentally, adding -fsquangle makes everything compile _and_ run, > but it fails with "base/src/database.cpp:47: failed assertion `m_dbase'" Okay, that should be fixed as of now in cvs. Isaac

GetPrefString(kSaveMusicDirPref...) fails.

1999-10-08 Thread Tom Spindler
Specifically, at line 149: m_context->prefs->GetPrefString(kSaveMusicDirPref, tempDir, &length); It goes into happy hash land and fails miserably, and returns null; then, because it's null it fails on the MKDIR, the metadatabase stuff goes in the toilet, and then the lovely error base/src/da

Error running theme.ui

1999-10-08 Thread Sylvain
Thanks all. Got it but can't get theme.ui to work with visions xml file. It looks like ParseColor() is writing over pBitmap creating an exception.. using theme.xml (latest from robert). if (oElement == string("Bitmap")) { Bitmap *pBitmap; Color oColor; #ifdef WIN32

Re: Error running theme.ui

1999-10-08 Thread robert
On 8 Oct, Sylvain wrote: > Thanks all. Got it but can't get theme.ui to work with visions xml file. > > It looks like ParseColor() is writing over pBitmap creating an exception.. > using theme.xml (latest from robert). Are you using visual studio 6? I tried it with visual studio 6 and it wouldn

spectrum analyser

1999-10-08 Thread Rodolfo Borges
hi all, does freeamp support graphical spectrum analyser, VU-meter, or someting like that? if so, how can i implement it in my UI plugin? thanks, -- Rodolfo Borges [[EMAIL PROTECTED]]

problem with VBR

1999-10-08 Thread Rodolfo Borges
the total time reported by freeamp is wrong (bigger) for mp3 files with variable bit rate. this problem also afects seeking. -- Rodolfo Borges [[EMAIL PROTECTED]]

sigh.

1999-10-08 Thread Tom Spindler
Well, it looks like there are some rather nasty lurking bugs in gcc-2.95.1; bugs that popped up when things were compiled with -O2 went away when compiled with -O; I'm beginning to suspect that the alias analysis code is a bit stricter than a lot of programmers out there. Anyway, I was getting cr

Re: sigh.

1999-10-08 Thread Mayhem & Chaos Coordinator
> Does any of this crap show up in linux, particularly the x86 flavors? Yes. I have not had any luck getting the current source to compile. I've seen most of the problems you're describing. As a matter of fact the problem you had with/near ParseColor is pretty close to the problem that I saw when

ParseColor -- potential problem

1999-10-08 Thread Mayhem & Chaos Coordinator
I think I may have found a potential problem in ParseColor. I cannot currently check the mods in -- I'm in the middle of doing a ton of other things. However, try replacing the function in Theme.cpp with this function: Error Theme::ParseColor(string &oColorstring, Color &oColor) { int iRet;

theme.ui glitch: play button turns to 'pause' inappropriately

1999-10-08 Thread Valters Vingolds
When 'Play' is pressed, it turns to pause. If song does not play (file not found or pmo/pmi error) the button should not become 'pause' really. It should remain as 'play'. Perhaps good solution would be not to do as: [from HandleControlMessage()] if (oControlName == string("Play") && eMesg ==

theme.ui: patch to accept drag-dropped mp3 files

1999-10-08 Thread Valters Vingolds
I do Win98, as usually. Here's the patch, I find it very useful for now, that theme for now lacks other ways of specifying which mp3 to play (except commandline args - but those do not even support wildcards...) I diff'd with -c so one can apply it by hand, not trusting patch.exe to do job right

Re: spectrum analyser

1999-10-08 Thread Valters Vingolds
Rainplay has it. Oh, but rainplay is kinda undersupported and obsolete... but still, look how it does that. You'll need to dig around quite a bit to understand how it works, but that's about the price you pay. At 16:06 10/8/99 -0300, you wrote: > >hi all, > >does freeamp support graphical spectr

Re: Error running theme.ui

1999-10-08 Thread Sylvain
> On 8 Oct, Sylvain wrote: > > Thanks all. Got it but can't get theme.ui to work with visions xml file. > > > > It looks like ParseColor() is writing over pBitmap creating an exception.. > > using theme.xml (latest from robert). > > Are you using visual studio 6? I tried it with visual studio 6