porting vgmstream plugin for audacious 3.X by eppixx at 10:36 AM EDT on September 2, 2013
I there,
I am porting the plugin from audacious 2 to version 3 and most of it is done. But there are some problems I ran into.

First. When I close the application it says
String not freed:///path/to/file/here.*
Now I don't know where this message comes from. I know that close_vfs is being called twice (even though I don't know why).

Second. Isn't there a better way seek than render everything from the position you are to the point you want to go?

Third. The return value from get_vgmstream_play_samples is always the same. Regadless how I change the looptimes. Why is that?

Other than that everything works quite good (for now).
by eppixx at 11:43 AM EDT on September 11, 2013
Also is there an IRC or something other than this forum?
by Bladeforce at 10:07 AM EDT on September 15, 2013
I hope you get this done :) I would love to see vgmstream plugin for audacious 3 too, good luck!
by dissident93 at 2:03 AM EDT on September 16, 2013
@eppixx: there should be..
by snakemeat at 10:30 PM EDT on September 16, 2013
#usf on freenode
#console_stream on foreverchat
by eppixx at 10:34 AM EDT on September 26, 2013
The plugin is now ported to audacious3.
The changes aren't merged with the main development of vgmstream yet.
That means till that happens the changes are only in the repository at https://github.com/eppixx/audacious-vgmstream.
The instructions are in the readme.txt.

edited 10:38 AM EDT September 26, 2013

edited 10:49 AM EDT September 26, 2013
by hcs at 12:32 PM EDT on September 27, 2013
Looks great, thank you. I should probably move vgmstream over to github at this point so I can be really lazy about getting patches.
by Bladeforce at 6:00 PM EDT on October 2, 2013
Hi, I'm getting this error after initiating ./configure

"configure: error: Cannot find Audacious, have you installed audacious yet?"

It IS already installed
by RukarioGyiyg996 at 5:42 PM EDT on October 4, 2013
I'd probably look inside the configure, figure out what it's complaining about and either symlink what it requires or modify it to point where I actually installed something.
by eppixx at 11:09 AM EDT on October 7, 2013
The configure-script looks for the pkg-files of audacious. They should be added when you installed audacious. It should work on ubuntu-based systems (perhaps even debian-based ones).
What happens if you type this in a terminal:

pkg-config --modversion audacious

That should return the installed version of audacious. In my linux it returns 3.2.1.

edited 11:14 AM EDT October 7, 2013
by Bladeforce at 7:49 PM EDT on October 7, 2013
I installed my audacious from the ppa in this link not the official repository

http://www.webupd8.org/2013/07/install-audacious-34-in-ubuntu-via-ppa.html
by eppixx at 8:47 AM EDT on October 8, 2013
Are you sure that you installed the audacious-dev package?
In there are the files needed for the configure script. It doesn't work without them.

by Bladeforce at 4:43 PM EDT on October 8, 2013
You are quite correct audacious-dev wasnt installed but now i get this whilst compiling

main.c: In function 'vgmstream_play_loop':
main.c:166:30: error: 'const struct OutputAPI' has no member named 'buffer_playing'
main.c:174:19: error: 'const struct OutputAPI' has no member named 'close_audio'
main.c: In function 'vgmstream_init':
main.c:234:3: warning: 'g_cond_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:276) [-Wdeprecated-declarations]
main.c:235:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
main.c: In function 'vgmstream_destroy':
main.c:242:3: warning: 'g_cond_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:278) [-Wdeprecated-declarations]
main.c:244:3: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
main.c: In function 'vgmstream_stop':
main.c:270:19: error: 'const struct OutputAPI' has no member named 'close_audio'
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/media/Downloads/audacious-vgmstream-master/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/Downloads/audacious-vgmstream-master/unix'
make: *** [all-recursive] Error 1
by eppixx at 7:27 PM EDT on October 8, 2013
Looks like Audacious made some changes in the API.
As it is 1:24am here, I will look into it tomorrow and fix it. That shouldn't take long.

I'm sorry to trouble you as I hadn't tested my code with the newest versions.
by Bladeforce at 8:18 PM EDT on October 8, 2013
No need to apologise eppixx!! I am so grateful you even decided to port this great plugin! Sleep well :)
by eppixx at 8:34 AM EDT on October 9, 2013
I changed some code and theoretically it should work now, if I made no mistake as I havent tested the new version of audacious.
I also noticed the new audacious 3.5 will bring new changes that require some changes that I have to look into.

For getting the new version change to your directory and use "git pull" to update.

edited 10:20 AM EDT October 9, 2013
by Bladeforce at 2:12 PM EDT on October 9, 2013
Hi Eppixx thanks for the update but i am getting this error now whilst compiling

main.c: In function 'vgmstream_play_loop':
main.c:174:19: error: 'const struct OutputAPI' has no member named 'close_audio'
main.c: In function 'vgmstream_init':
main.c:234:3: warning: 'g_cond_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:276) [-Wdeprecated-declarations]
main.c:235:3: warning: 'g_mutex_new' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) [-Wdeprecated-declarations]
main.c: In function 'vgmstream_cleanup':
main.c:242:3: warning: 'g_cond_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:278) [-Wdeprecated-declarations]
main.c:244:3: warning: 'g_mutex_free' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) [-Wdeprecated-declarations]
main.c: In function 'vgmstream_stop':
main.c:270:19: error: 'const struct OutputAPI' has no member named 'close_audio'
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/media/Downloads/audacious-vgmstream/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/Downloads/audacious-vgmstream/unix'
make: *** [all-recursive] Error 1
by Bladeforce at 2:15 PM EDT on October 9, 2013
Need to add it seems to be the same error and definitely compiled against the updates you added in the last few hours
by eppixx at 3:49 PM EDT on October 9, 2013
I installed audacious4.3.1 just to see for myself why this haven't worked, just to notice that I didn't save before uploading the changes. Now I feel stupid :P

but it works for me now.
by Bladeforce at 4:46 PM EDT on October 9, 2013
Works great now THANK YOU eppixx :)) If I were you I would report your plugin to OMGUbuntu or something similar it really is a fantastic plugin mate. Thanks again!
by eppixx at 5:49 PM EDT on October 9, 2013
I haven't done that much. The most work is done by the developers of vgmstream itself.
I just happen to be a guy who hacked about 1000 lines of code together to make vgmstream work with audacious.

I played with the idea of implementing the plugin for gstreamer (if that's in my reach). That would feel like a real accomplishment for me.

edited 5:52 PM EDT October 9, 2013

edited 5:53 PM EDT October 9, 2013
by Bladeforce at 5:53 PM EDT on October 9, 2013
Fair enough but I still think the developers and yourself should highlight this plugin on OMGubuntu because it is something that would interest those guys :)
by Bladeforce at 6:57 PM EDT on October 9, 2013
Just an update eppixx. Could you try playing a .vgm format please? When try in Audacious i get no sound from only that format.

With respect to this websites author it is specifically Pacmania, Rastan Saga, Tokio, Salamander archives

http://hoot.joshw.info/!MDScene_Arcade_VGM/

Any ideas or is it a question i should point at the devs?
by Knurek at 2:10 AM EDT on October 10, 2013
You need updated in_vgm plugin done by ValleyBell to play these in other players, those have nothing in common with VGMStream.
by Bladeforce at 2:21 PM EDT on October 10, 2013
Thanks Knurek, I guess in_vgm doesnt have a linux port then?
by Knurek at 4:28 AM EDT on October 11, 2013
Winamp or XMPlay both work with Wine if that helps.
by Bladeforce at 5:33 AM EDT on October 11, 2013
Thanks Knurek I understand this but now vgmstream is ported thanks to eppixx i was hoping it would be another windows program (xmplay) i could move away from :) I'll have to leave xmplay on and just hope in_vgm gets ported at some point.
by Bladeforce at 7:15 PM EST on January 8, 2014
Hi, May i ask how to update this port to the latest vgmstream please?
by eppixx at 8:03 AM EST on January 10, 2014
Thing is hcs mentioned something about migrating to github, which would make submitting patches for extern developer such as myself much easier.
I could merge their new code with mine, but normally it should be the other way around.
by Bladeforce at 12:12 PM EDT on August 29, 2014
Is there any chance of this being updated please?
by Bladeforce at 9:57 AM EDT on September 6, 2014
Or somebody willing to explain how to keep this up to date please?
by RetroFanatic at 5:13 AM EST on November 2, 2014
Is there even a windows version of this plugin or is it just to drop the regular plugin in Audacious's plugin directory?


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source