Home » Questions » fmod ans gtk [VERY URGENT]
i make a project with fmod and gtk but i have a problem with a progres bar !
Anybody make the progres bar works with fmod?
“A problem with a progress bar” isn’t very self-explanatory… we can’t help and if we don’t know what the problem is, or what your intent for this progress bar even is…
i want to display like in winamp the progress of the song inn the progress bar…
Can u help me ….
You have to use the two functions FSOUND_Stream_GetPosition and FSOUND_Stream_GetLength, then calculate the position of the progress bar using those values.
And don’t forget the gtk_timeout_add function to create your timer, you have a complete example here (gtk 2.x) :
Please login first to submit.
Copyright 2016 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.