Commit 87459db3 authored by Steve Lhomme's avatar Steve Lhomme Committed by Hugo Beauzée-Luyssen

MediaPlayer: rename delay() to audioDelay() and setDelay() to setAudioDelay()

Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent f7183730
......@@ -326,14 +326,14 @@ namespace libVLCX
return m_mp.setChannel(channel);
}
int64_t MediaPlayer::delay()
int64_t MediaPlayer::audioDelay()
{
return m_mp.delay();
return m_mp.audioDelay();
}
int MediaPlayer::setDelay(int64_t i_delay)
int MediaPlayer::setAudioDelay(int64_t i_delay)
{
return m_mp.setDelay(i_delay);
return m_mp.setAudioDelay(i_delay);
}
//void setVideoCallbacks(libvlc_video_lock_cb lock, libvlc_video_unlock_cb unlock, libvlc_video_display_cb display, void * opaque);
......
......@@ -653,7 +653,7 @@ namespace libVLCX
*
* \version LibVLC 1.1.1 or later
*/
int64_t delay();
int64_t audioDelay();
/**
* Set current audio delay. The audio delay will be reset to zero each
......@@ -665,7 +665,7 @@ namespace libVLCX
*
* \version LibVLC 1.1.1 or later
*/
int setDelay(int64_t i_delay);
int setAudioDelay(int64_t i_delay);
/**
* Set callbacks and private data to render decoded video to a custom
......
......@@ -1008,7 +1008,7 @@ public:
*
* \version LibVLC 1.1.1 or later
*/
int64_t delay()
int64_t audioDelay()
{
return libvlc_audio_get_delay(*this);
}
......@@ -1021,7 +1021,7 @@ public:
*
* \version LibVLC 1.1.1 or later
*/
bool setDelay(int64_t i_delay)
bool setAudioDelay(int64_t i_delay)
{
return libvlc_audio_set_delay(*this, i_delay) == 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment