Help - Search - Members - Calendar
Full Version: hit the next/back buttons
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
Byan
how do I cause the effect of hitting the next or back buttons from my plug-in?

I am really new, so please bare with me

thanx in advanced,
Byan
foosion
You can emulate the effect of "Playback/Next" and "Playback/Previous" by calling play_control::play_start() with the TRACK_COMMAND_NEXT or TRACK_COMMAND_PREV parameter.
Byan
QUOTE(foosion @ Dec 5 2005, 03:04 AM)
You can emulate the effect of "Playback/Next" and "Playback/Previous" by calling play_control::play_start() with the TRACK_COMMAND_NEXT or TRACK_COMMAND_PREV parameter.
*



alright, I will try that when I get home
thanks
Byan
I get TRACK_COMMAND_NEXT and TRACK_COMMAND_PREV as undeclared identifiers

I tried the command from the tutorial plug-in.
hunted
QUOTE(Byan @ Dec 5 2005, 12:59 PM)
I get TRACK_COMMAND_NEXT and TRACK_COMMAND_PREV as undeclared identifiers

I tried the command from the tutorial plug-in.
*


you need to specify the classname infront of them, ie: play_control::TRACK_COMMAND_NEXT
Byan
QUOTE(hunted @ Dec 5 2005, 04:45 PM)
QUOTE(Byan @ Dec 5 2005, 12:59 PM)
I get TRACK_COMMAND_NEXT and TRACK_COMMAND_PREV as undeclared identifiers

I tried the command from the tutorial plug-in.
*


you need to specify the classname infront of them, ie: play_control::TRACK_COMMAND_NEXT
*



yeah, I just figured it out from http://www.hydrogenaudio.org/forums/index....showtopic=16151
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.