We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I discovered that the MediaPlayer didn’t contain the possibility to adjust the playback rate/speed which is covered by the libVLC functions:
libvlc_media_player_set_rate libvlc_media_player_get_rate
The needed functions in MediaPlayer.cpp would be:
void VlcMediaPlayer::setPlaybackRate(float rate) { libvlc_media_player_set_rate(_vlcMediaPlayer, rate);
VlcError::showErrmsg(); }
float VlcMediaPlayer::playbackRate() { if (!_vlcMediaPlayer) return -1;
return libvlc_media_player_get_rate(_vlcMediaPlayer); }
and accordingly in MediaPlayer.h:
in public: float playbackRate(); in public slots: void setPlaybackRate(float rate);
Is it possible to implement this functionality?
The text was updated successfully, but these errors were encountered:
c71f6a1
No branches or pull requests
I discovered that the MediaPlayer didn’t contain the possibility to adjust the playback rate/speed which is covered by the libVLC functions:
libvlc_media_player_set_rate
libvlc_media_player_get_rate
The needed functions in MediaPlayer.cpp would be:
void VlcMediaPlayer::setPlaybackRate(float rate)
{
libvlc_media_player_set_rate(_vlcMediaPlayer, rate);
VlcError::showErrmsg();
}
float VlcMediaPlayer::playbackRate()
{
if (!_vlcMediaPlayer)
return -1;
return libvlc_media_player_get_rate(_vlcMediaPlayer);
}
and accordingly in MediaPlayer.h:
in public: float playbackRate();
in public slots: void setPlaybackRate(float rate);
Is it possible to implement this functionality?
The text was updated successfully, but these errors were encountered: