Re: rough draft of theme tutorial

2000-03-16 Thread Mark B. Elrod

thanks for the input. i will make these changes.

elrod

Chad Loder wrote:

 Hi elrod. Some quick notes according to your criteria (coming from
 someone who knows nothing about themes):

 Table of Contents
 -

 What is that weird image? :)

 Tools section
 -

 A one-sentence description of the MakeTheme utility (this program packages
 and prepares your theme for use in FreeAmp).

 Why does the user have to download the .fat file, for tutorial purposes
 only, or do they really need the stuff in it to make a new theme?

 Theme definition section
 

 Another important difference of XML is that every open tag requires
 a close tag (not optional like HTML).

 Explain that Foo Bar="Baz"/ is shorthand for Foo Bar="Baz"/Foo

 A link to the XML FAQ would be nice: http://www.ucc.ie/xml/

 Last paragraph: windows should be capitalized (Windows)

 Other than that, looks OK.

 c

 On Wed, 15 Mar 2000, Mark Elrod wrote:

  Hey guys,
 
  I have pounded out a quick tutorial on how to make a theme for FreeAmp.
  Some of the links are not there yet like the zip with the photoshop file
  but could you guys check it out and let me know if the content makes any
  sense? I want to help out people with a slightly less technical blow by
  blow approach. This is by no means a replacement for the How To which is
  the definitive reference for themes. Let me know if you have any
  suggestions!
 
  http://www.freeamp.org/bodies/themes/tutorial/contents.html
 
  elrod
 
  ___
  [EMAIL PROTECTED]
  http://www.freeamp.org/mailman/listinfo/freeamp-dev
 

 
 | Chad Loder - Somerville, MA, USA |
 | EMail: [EMAIL PROTECTED]|
 | Home Page: http://www.ccs.neu.edu/home/cloder|
 

 ___
 [EMAIL PROTECTED]
 http://www.freeamp.org/mailman/listinfo/freeamp-dev

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Windows NT sound interface code

2000-03-16 Thread Mayhem Chaos Coordinator

 Now, I am ready to start debugging dual-processor NT hangs that I've
 been experiencing. I figure I will start with the Windows PMO, but first
 I have some questions:

Dual processor NT with a SB Live! card? If so, do you have another card that
you might stick in there just to see if the SB Live! is causing problems?
I've heard not so good things about SB Live on NT with multiple processors.

 0) There appear to be two PMOs for Win32, one using the Microsoft waveXXX
 functions, the other using DirectSound. How do I tell which one is being
 used on my machine?

Options-Plugins-Audio Output

Be default we're using the soundcard output PMO.

 1) What is the state of the DirectSound PMO? Is it actually used in the
 product (and if so, can it be used on NT 4?)?

The DirectSound PMO should work fine -- the only drawback is that there is
an extra memcpy in there which degrades performance. The way you write data
to direct sound is not compatible with the current buffering scheme that we
have (well, not cleanly anyways), which forces us to use an extra copy. :-(

 2) According to Microsoft, the latest version of DirectX for NT 4 is
 version 3. Is this the case?

Sounds about right.

 3) Who is the main person for these two PMOs?

Sylvain Rebaud wrote the DirectSound PMO and maintain that now. I've also
rewritten the soundcard PMO a couple of times, and I'm still not quite happy
with it. :-(


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Windows NT sound interface code

2000-03-16 Thread Mayhem Chaos Coordinator

 Well... :) The PMO model does not mesh well with DirectSound, nor are you
 happy with the soundcard PMO. Would generalizing the PMO model help at
 all?

Yes, we plan to do that for 3.0...

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Windows NT sound interface code

2000-03-16 Thread Mark B. Elrod

just as a data point i am running Nt 4 on a dual processor p3-500 with a SBLive!
card just fine with FreeAmp.

elrod

Chad Loder wrote:

 On Thu, 16 Mar 2000, Mayhem  Chaos Coordinator wrote:

   Now, I am ready to start debugging dual-processor NT hangs that I've
   been experiencing. I figure I will start with the Windows PMO, but first
   I have some questions:
 
  Dual processor NT with a SB Live! card? If so, do you have another card that
  you might stick in there just to see if the SB Live! is causing problems?
  I've heard not so good things about SB Live on NT with multiple processors.

 Yes, this describes my setup to a T. I have also heard about others
 experiencing this problem, but I suspect that one of the following
 situations hold:-

 a) The hang is due to a bug in SoundBlaster's drivers and we can find
 a simple, 100% reproducible code example to submit to Creative Labs.

 b) The hang is due to a bug in SoundBlaster's drivers and we can find
 a workaround in our code that avoids the problem.

 c) The hang is due to a bug in the Freeamp code and it only shows up
 due to an idiosyncracy in SoundBlaster's drivers.

 I only see this hang with Freeamp. Quake3 runs like a champ, as do other
 apps like CoolEdit, RealPlayer, Windows Media Player, etc.

   3) Who is the main person for these two PMOs?
 
  Sylvain Rebaud wrote the DirectSound PMO and maintain that now. I've also
  rewritten the soundcard PMO a couple of times, and I'm still not quite happy
  with it. :-(

 Well... :) The PMO model does not mesh well with DirectSound, nor are you
 happy with the soundcard PMO. Would generalizing the PMO model help at
 all?

 c

 
 | Chad Loder - Somerville, MA, USA |
 | EMail: [EMAIL PROTECTED]|
 | Home Page: http://www.ccs.neu.edu/home/cloder|
 

 ___
 [EMAIL PROTECTED]
 http://www.freeamp.org/mailman/listinfo/freeamp-dev

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Windows NT sound interface code

2000-03-16 Thread Steve Kennedy

On Thu, Mar 16, 2000 at 11:43:23AM -0800, Mark B. Elrod wrote:

 just as a data point i am running Nt 4 on a dual processor p3-500 with a SBLive!
 card just fine with FreeAmp.

Running a dual P-III 600 with SBLive, work fine with FreeAmp, however
the system does seem to go unstable after a while, but I've been told
that this is due to the number of cards I've got in the system (and it
loses interrupts of something, ps NT4 SP6+).

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Solaris!

2000-03-16 Thread Mayhem Chaos Coordinator

 Running a dual P-III 600 with SBLive, work fine with FreeAmp, however
 the system does seem to go unstable after a while, but I've been told
 that this is due to the number of cards I've got in the system (and it
 loses interrupts of something, ps NT4 SP6+).

 Steve

You're a Solaris guy, right? If you (and any Solaris folks) could please try
to check out the solaris-port-branch (cvs co -rsolaris-port-branch) and see
if you can compile/use Freeamp on Solaris? Tom Dilligan just completed the
port and we'd both like some feedback on it.

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Compile problem on Solaris

2000-03-16 Thread Steve Kennedy

As requested: -

c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I./lib/gdbm -
I./base/include -Iconfig -I./io/include -I./ui/include -I./lmc/include -I./base/
unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/include
 -I./ui/lcd/include -I./ui/irman/include -I./lmc/xingmp3/include -I./lmc/cd/incl
ude -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./io/
cd/include -I./io/cd/unix/include -Wall -Wno-return-type -g -O2 -D_REENTRANT
-c base/src/downloadmanager.cpp -o base/src/downloadmanager.o
base/src/downloadmanager.cpp: In method `enum Error DownloadManager::Download(Do
wnloadItem *)':
base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c
onnect(int, sockaddr *, int)' discards qualifiers
gmake: *** [base/src/downloadmanager.o] Error 1

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Compile problem on Solaris

2000-03-16 Thread Björn Wingman

 base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c
 onnect(int, sockaddr *, int)' discards qualifiers
 gmake: *** [base/src/downloadmanager.o] Error 1

Hmm...it compiles nicely for me, no warnings at all on my:

SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10

with gcc 2.95.2.

However, when starting freeamp, I still get this:




FreeAmp has been compiled with mutex debugging enabled.
To dump mutex info: kill -SIGUSR1 620
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cd.lmc: symbol Clear__10PullBuffer: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/xingmp3.lmc: symbol Clear__10PullBuffer: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/httpinput.pmi: symbol kUseProxyPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/localfileinput.pmi: symbol Clear__10PullBuffer: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/obsinput.pmi: symbol kAlternateNICAddressPref: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cd.pmo: symbol kPreBufferPref: referenced symbol 
not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/soundcard.pmo: symbol kPreBufferPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/freeampcmd.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/irman.ui: symbol 
SetCurrentIndex__15PlaylistManagerUi: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/lcd.ui: symbol Release__5Mutex: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/mpg123.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/ncurses.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/download.ui: symbol 
CancelDownload__15DownloadManagerP12DownloadItemb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/freeamp.ui: symbol kALSADevicePref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/musicbrowser.ui: symbol kWelcomePref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/m3u.plf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/pls.plf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cddb.mdf: symbol kDatabaseDirPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/id3v1.mdf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/id3v2.mdf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/misc.mdf: symbol __8Registry: referenced symbol 
not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/rmp.dlf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
No UI plugin in '.:~/.freeamp:/home/bjowi/local/lib/freeamp' matched 'plugins/' or 
'plugins/.ui.'
FreeAmp will quit.


/Björn Wingman
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: DiskOut Output Plugin v0.0.1

2000-03-16 Thread Mayhem Chaos Coordinator

I downloaded and massaged your code for a while. Its now checked in CVS.

 * How to I display a customize dialog from the preferences page when I
 select my plugin?

You don't. We need to implement something like that.

 * When the plugin is outputting the data, the time counter on the main
 window does not count down.  Where is the code that makes this happen at?
 Could I have messed something up that causes it not to count anymore?

Yeah, but its all fixed now. It doesn't show the time for every second, but
for every 10 seconds...

 Any comments/improvements are welcome.  I think I have the time
calculation
 messed up a bit because I used WinAmps disk outputter as a test, and none
of
 my output files matched in time or file size, so I still have a bit of
work
 to go, but at least I have a start I reckon.

Everything sounds and looks good to me.

Thanks for doing this -- you saved me quite a bit of time!

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread Michael Rich

 I downloaded and massaged your code for a while. Its now
 checked in CVS.


Good deal Mr. Mayhem  Chaos Coord because I was sure running low on time
due to apartment searching and moving that I have coming up in a few weeks.

I'll pull down the cvs so I can take a peek at the updated code.

mike


___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread Michael Rich

 Ok, I'm in the process of porting it to Linux, so expect more changes.
 :-)

Speaking of Linux, I hope to get my a Alpha Personal Workstation after I get
moved into my new place, so my current AlphaStation will probably be a
fulltime AlphaLinux, or maybe AlphaFreeBSD once I can learn the systems.
I've managed to compile FreeAmp on AlphaLinux one time, but I didn't know
where it put all my files, and even worse I didn't know how to enable the
sound to actually test it with.  Hopefully in the future I can help on this
part more.

Just for a nitpick, my name is misspelled, the e and a are transposed.  :)

mike

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



404 on website

2000-03-16 Thread Michael Rich

http://www.freeamp.org/bodies/download.html

Down the the compilation section, the _development_ link leads to a 404
error.

Michael Rich
http://alphax86dev.cjb.net
http://www.cdx.sk/userwebs/zdrpg

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread robert

On 16 Mar, Michael Rich wrote:

 Just for a nitpick, my name is misspelled, the e and a are transposed.  :)

Done. Hey, can you check to see if everything still works under
Windows? The changes for Linux were a bit more far reaching than I
cared for.
 

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: 404 on website

2000-03-16 Thread robert

On 16 Mar, Michael Rich wrote:
 http://www.freeamp.org/bodies/download.html
 
 Down the the compilation section, the _development_ link leads to a 404
 error.

Fixed. Thanks!

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: WavOut Plugin

2000-03-16 Thread Michael Rich

 Can I suggest that we rename it when we move to the new plugin
 architecture for 3.0? At that point we'll also have an
 improved options
 system that will allow for the things that you're planning for.

 Is that reasonable?

Quite reasonable because if I remember, the customize dialogs for output
plugins was due for 3.0 anyhow, so that'll match up fine.

mike

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread robert

On 16 Mar, Michael Rich wrote:
 Done. Hey, can you check to see if everything still works under
 Windows? The changes for Linux were a bit more far reaching than I
 cared for.
 
 Should the version I pulled from CVS about an hour ago have the changes you
 want tested in it?  That's what I'm fixing to run through the compiler.

My last check in was at Fri Mar 17 4:22:41 2000 (GMT). Which is about
40 minutes ago...

 Also, the project is moving to VC++ 6.0 now correct?  That's what I'll be
 running it through.

Yup, that should work ok. The projects I checked in were made with 6.0


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Solution to compile error between VC5 and VC6

2000-03-16 Thread Chad Loder

It just occurred to me that the compile errors people have been complaining
about

( see http://www.freeamp.org/pipermail/freeamp-dev/1999-December/39.html
  and http://www.freeamp.org/pipermail/freeamp-dev/2000-February/000282.html )

can be solved in the short term with by switching on the _MSC_VER macro:

#if defined(_WIN32)

#if _MSC_VER  1100

// MSVC6 code with cast removed

#else

// MSVC5 code with cast remaining

#endif

#endif // _WIN32

c


| Chad Loder - Somerville, MA, USA |
| EMail: [EMAIL PROTECTED]|
| Home Page: http://www.ccs.neu.edu/home/cloder|




___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread Michael Rich

 My last check in was at Fri Mar 17 4:22:41 2000 (GMT). Which is about
 40 minutes ago...

I updated my code and it still seems to be working just fine.  Both the
Amorphis and Arch Enemy MP3s decoded nicely into WAV files.  The
StuffFourChars function you added is exactly what I was thinking was needed
to replace that windows function, however is it really safe to return that
pointer to the local dest variable?

Bad news though, the DirectSound output plugin didn't work at all on my
system, all i got was silence.  Has anything changed with it to make it not
work any longer?

For reference, here's my system stats:

Windows 2000 Pro
2x450Mhz CPUs
dsound.dll reports version of 5.00.2165.0001 [final retail]
DirectX version is 7.0
RAM, 192M
Video: TNT2
Sound Card: Sound Blaster Live! Value
Sound Driver: Stock Windows 2000 driver off CD


mike

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



RE: DiskOut Output Plugin v0.0.1

2000-03-16 Thread Chad Loder

The same exact thing happened on my system with the DirectSound plugin. I
hit play, and no sound comes out. The time display and sliders advance
as normal, but no sound.

I have:

NT 4 SP6
DirectX version 3 (or thereabouts)
Sound Card: Sound Blaster Live! Value
Driver: Latest Creative NT4 drivers
RAM: 256MB

c

On Fri, 17 Mar 2000, Michael Rich wrote:

  My last check in was at Fri Mar 17 4:22:41 2000 (GMT). Which is about
  40 minutes ago...
 
 I updated my code and it still seems to be working just fine.  Both the
 Amorphis and Arch Enemy MP3s decoded nicely into WAV files.  The
 StuffFourChars function you added is exactly what I was thinking was needed
 to replace that windows function, however is it really safe to return that
 pointer to the local dest variable?
 
 Bad news though, the DirectSound output plugin didn't work at all on my
 system, all i got was silence.  Has anything changed with it to make it not
 work any longer?
 
 For reference, here's my system stats:
 
 Windows 2000 Pro
 2x450Mhz CPUs
 dsound.dll reports version of 5.00.2165.0001 [final retail]
 DirectX version is 7.0
 RAM, 192M
 Video: TNT2
 Sound Card: Sound Blaster Live! Value
 Sound Driver: Stock Windows 2000 driver off CD
 
 
 mike
 
 ___
 [EMAIL PROTECTED]
 http://www.freeamp.org/mailman/listinfo/freeamp-dev
 


| Chad Loder - Somerville, MA, USA |
| EMail: [EMAIL PROTECTED]|
| Home Page: http://www.ccs.neu.edu/home/cloder|




___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev