PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Mod player status

What's the status with the mod player ? is it going to be worked on anymore ? inclusion of extra mod commands and the like ? just that a few mods I've added struggle with certain pitch sliding commands.

Also, what's the possiblity of having some custom audio callback with a pointer, length so we can fill the audio buffer ourselves ? I fancy writing an XM Player and some other audio oddities :)

Regards,

Nik
Ignore that, after trying bass on my pda it seems futile wasting my time writing anything :D
Saying that again, it doesn't work with gledplay.. shame.
Hi,
I must admit that improvement of MOD playback is not in our current development roadmap. Anyway, we'll discuss this two suggestions (MOD improvement and a callback audio function) in our next development meeting.

I have just one question:

Saying that again, it doesn't work with gledplay.. shame.


Sorry but I didn't understand... Is there something in GledSound that is not working right?

Thank you very much for your feedback, we really appreciate it.

Best regards,
Sergio.
Yeah, I was replying to my guest post, my laptop doesn't seem to auto log in for me, basically I tried getting bassmod working within the gledplay framework, it seemed to initialize correctly but failed with some "generic" error (bassmod side) even with the gled sound system disabled when trying to play a mod, works fine within it's own standalone app so not sure what's amiss :/
Hi Nikster,
We'll do some tests to find out what's wrong and we'll give you a solution as fast as possible.

Again, thank you for your feedback.

Best regards,
Sergio.
Ok, seems I was being dumb, the error was because the full path was incorrect, whats the best way to get a full path based on the location of the gledplay application start ?

TIA

Nik.
Hi Nikster,
You could do something like this:

Code:

TCHAR pathname[MAX_PATH];
::GetModuleFileName( 0, pathname, MAX_PATH );


"pathname" will be filled with current application directory.

Thanks,
Sergio.
That worked great, cheers for that.
Here are a couple code snippets that return just the path (sans executable name):

http://www.pocketmatrix.com/forums/view ... hp?p=18945

Dan East
Thank you Dan for those code snipets.
You are right... I forgot to say that GetModuleFileName will return the executable path WITH the executable file name. So you have to remove it.

Regards,
Sergio.