Re: [Musicpd-dev-team] [PATCH] GameMusicEmu decoder

2010-04-13 Thread Avuton Olrich
On Sat, Apr 10, 2010 at 1:23 AM, Tony Miller mcfiredr...@gmail.com wrote:
 On Tue, Apr 06, 2010 at 06:48:38AM -0700, Avuton Olrich wrote:
 -       [gme deocder plugin], [libgme not found])
 +       [gme decoder plugin], [libgme not found])

 Thanks Avuton.

 I tested the error handling, I renamed a blank file to have a .spc
 extension, and the decoder safely ignored it, since it wasn't actually
 an spc file.

 The patch with the original and the fixes is the top patch in my repo.

 I tried to do git rebase to combine a new patch with the old one, but it
 didn't quite work out, so I ended up deleting my repo and starting
 over...

 Next time I'll use stgit.

 -Tony


Any word on this one? This looks like a nice plugin and I definitely
can't wait for the spc stuff to be in MPD.

Thanks!
-- 
avuton
--
If someone nearby has an iphone and leaves it near you, be aware they
may be spying on you.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [PATCH] GameMusicEmu decoder

2010-04-10 Thread Tony Miller
On Tue, Apr 06, 2010 at 06:48:38AM -0700, Avuton Olrich wrote:
 -   [gme deocder plugin], [libgme not found])
 +   [gme decoder plugin], [libgme not found])

Thanks Avuton.

I tested the error handling, I renamed a blank file to have a .spc
extension, and the decoder safely ignored it, since it wasn't actually
an spc file.

The patch with the original and the fixes is the top patch in my repo.

I tried to do git rebase to combine a new patch with the old one, but it
didn't quite work out, so I ended up deleting my repo and starting
over...

Next time I'll use stgit.

-Tony

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] [PATCH] GameMusicEmu decoder

2010-04-04 Thread Tony Miller
I've written a patch for a decoder that uses the Game Music Emulation
library. This library suports many video game music formats. The patch
is available in the latest commit in my repository:

g...@github.com:mcfiredrill/mpd.git

More information on this library is available here:
http://www.fly.net/~ant/libs/audio.html

Don't download it from there though, get the latest svn from here:
http://code.google.com/p/game-music-emu/source/checkout

If you need some sample music to try it out, get some super nintendo
.spc files from here:
http://snesmusic.org/

Hopefully I can help get this library into some distros soon.

Thanks!
-Tony

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] [PATCH] GameMusicEmu decoder

2010-04-04 Thread Avuton Olrich
On Sun, Apr 4, 2010 at 1:03 AM, Tony Miller mcfiredr...@gmail.com wrote:
 I've written a patch for a decoder that uses the Game Music Emulation
 library. This library suports many video game music formats. The patch
 is available in the latest commit in my repository:

 g...@github.com:mcfiredrill/mpd.git

 More information on this library is available here:
 http://www.fly.net/~ant/libs/audio.html

 Don't download it from there though, get the latest svn from here:
 http://code.google.com/p/game-music-emu/source/checkout

 If you need some sample music to try it out, get some super nintendo
 .spc files from here:
 http://snesmusic.org/

 Hopefully I can help get this library into some distros soon.

 Thanks!
 -Tony


Small detail:
diff --git a/src/decoder/gme_decoder_plugin.c b/src/decoder/gme_decoder_plugin.c
index 88afcd8..f75cb64 100644
--- a/src/decoder/gme_decoder_plugin.c
+++ b/src/decoder/gme_decoder_plugin.c
@@ -32,7 +32,7 @@ gme_file_decode(struct decoder *decoder, const char *path_fs)
song_len = ti-length / 1000.0;
else song_len = -1;

-   /* initilize the MPD decoder */
+   /* initialize the MPD decoder */
audio_format.sample_rate = sample_rate;
audio_format.format = SAMPLE_FORMAT_S16;
audio_format.channels = 2;
-- 
avuton
--
If someone nearby has an iphone and leaves it near you, be aware they
may be spying on you.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team