RE: DiskOut Output Plugin v0.0.1

2000-03-17 Thread robert

On 17 Mar, 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?

I'm returning the value of the pointer, not the pointer itself, so
everything is ok.

 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?

I changed the way the volume works -- I'm using the same code that the
normal soundcard uses to control volume.

Can both of you mess with the volume slider and see if adjusting it
will help? Does the soundcard volume work ok?

-- 

--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-17 Thread Michael Rich

 I'm returning the value of the pointer, not the pointer itself, so
 everything is ok.

Your right, i overlooked that.

 I changed the way the volume works -- I'm using the same code that the
 normal soundcard uses to control volume.

 Can both of you mess with the volume slider and see if adjusting it
 will help? Does the soundcard volume work ok?

I just loaded up the 2.0.5 release and select the DSound plugin.  I get no
sound whatsoever, the volume bar is locked at 100 and i can't move it at
all.  If I try to move the seek bar, it keeps resetting to the beginning and
starts playing again.  Never have I heard a single note from the sound.

Different system this time:

Dell Dimension XPS R400
256M RAM
400 P2
Windows NT 4.0 SP5
CrystalWare Built-in Audio (and the driver is from Dell website)
DirectX 3.0

mike

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



RE: DiskOut Output Plugin v0.0.1

2000-03-17 Thread Michael Rich

More bad news.  FreeAmp did not close after I clicked the [x].  It
disappears, but it still shown as running in Task Manager, so I have to do
an End Task to get rid of it.

This was simular to what happened to me when I ran WinNT4.0  SB Live! at
home, so it maybe related to the drivers to, but I never have had a problem
with the regular audio plugin, so it really has to be related to the dsound
plugin.

mike

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



Re: DiskOut Output Plugin v0.0.1

2000-03-17 Thread Mayhem Chaos Coordinator

 I just loaded up the 2.0.5 release and select the DSound plugin.  I get no
 sound whatsoever, the volume bar is locked at 100 and i can't move it at
 all.  If I try to move the seek bar, it keeps resetting to the beginning
and
 starts playing again.  Never have I heard a single note from the sound.

Ok, the changes to the volume I made are in CVS, not in 2.0.5. Check out
branch-2-0-6-devel to get at my changes.

 More bad news.  FreeAmp did not close after I clicked the [x].  It
 disappears, but it still shown as running in Task Manager, so I have to do
 an End Task to get rid of it.

 This was simular to what happened to me when I ran WinNT4.0  SB Live! at
 home, so it maybe related to the drivers to, but I never have had a
problem
 with the regular audio plugin, so it really has to be related to the
dsound
 plugin.

I've seen this happen before but I can't reproduce it on a consistent basis.

People have been reporting various problems with regards to the DirectSound
plugin -- I don't know much about DirectSound so I don't know what's wrong.
If you guys have some spare time, could you guys please look into 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: 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



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: 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



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



RE: DiskOut Output Plugin v0.0.1

2000-02-28 Thread robert

On 26 Feb, Michael Rich wrote:
 In each PMO, there is a function called:

 void  HandleTimeInfoEvent(PMOTimeInfoEvent *pEvent);

 
 Hmm, it appears the function is still in the code left over from where i
 based it on the DirectSound plugin.  Maybe I've not updated the variables
 properly.  I'll do a check against the original code and see if I can patch
 it to work correctly.
 
 . . .
 
 This sounds fine, i'll see if I can modify the code to use this directory
 instead.

Let me know if you have trouble with any of these issues.


--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-02-26 Thread Mark B. Elrod

right now there is not a way for plugins to have their own prefs dynamically
displayed in the pref dialog. that is something we plan on figuring out for 3.0.

i can't answer the time stuff, Rob?

i think saving the file to the same directory as the source file is the best
solution right now.

elrod


Michael Rich wrote:

 http://redrival.com/alphax86dev/downloads/diskout-0.0.1.zip

 This is a zip archive of the source code I'm currently working with.  It
 works in a minimal fashion currently.  For lack of a custom dialog to select
 where the files go, it simply take the input file, tacks a ! onto the end of
 the filename, and then changes the extension to wav, and writes it to the
 same directory as the original file.

 Some questions:

 * How to I display a customize dialog from the preferences page when I
 select my plugin?
 * 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?

 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.

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

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

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



Re: DiskOut Output Plugin v0.0.1

2000-02-26 Thread Mayhem Chaos Coordinator

 i can't answer the time stuff, Rob?

In each PMO, there is a function called:

void  HandleTimeInfoEvent(PMOTimeInfoEvent *pEvent);

Check this function out -- it sends the time info to the player. These
functions are complicated by the fact that they need to be accurate and that
the user can seek. Your case is a lot simpler -- just figure out how many
samples you've written and convert that to HH:MM:SS and send the event to
the player as the other HandleTimeInfoEvent functions do...

Let me know if you need more info than that.

 i think saving the file to the same directory as the source file is the
best
 solution right now.

Actually, we had decided that we wanted to save the wav files into a WAV
subdirectory of the users' MyMusic directory. To do that, simply call

Error GetSaveMusicDirectory(char* path, uint32* len);

on the preference object. A pointer to the prefs object is in the context
object, which each modules has. So,
m_context-prefs-GetSaveMusicDirectory(...) would get the music dir. Append
a 'WAV' and you've got your save place. Also, the output plugin should be
careful to not overwrite existing files -- it should append a -2, -3, .., to
the filename base.

--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-02-26 Thread Michael Rich

 In each PMO, there is a function called:

 void  HandleTimeInfoEvent(PMOTimeInfoEvent *pEvent);


Hmm, it appears the function is still in the code left over from where i
based it on the DirectSound plugin.  Maybe I've not updated the variables
properly.  I'll do a check against the original code and see if I can patch
it to work correctly.


  i think saving the file to the same directory as the source
 file is the
 best
  solution right now.

 Actually, we had decided that we wanted to save the wav files
 into a WAV
 subdirectory of the users' MyMusic directory. To do that, simply call

 Error GetSaveMusicDirectory(char* path, uint32* len);

This sounds fine, i'll see if I can modify the code to use this directory
instead.

mike

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