[vlc-commits] audiotrack: fix wrong init parameter
Thomas Guillem
git at videolan.org
Fri Feb 23 11:37:11 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb 23 11:35:17 2018 +0100| [6876eaa6b591eaa610a7ba09d1506088a5b05612] | committer: Thomas Guillem
audiotrack: fix wrong init parameter
My bad, just changed in last minute the int to int64_t instead of using jint.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6876eaa6b591eaa610a7ba09d1506088a5b05612
---
modules/audio_output/audiotrack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index a997bd8399..238826bb95 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -820,7 +820,7 @@ AudioTrack_New( JNIEnv *env, audio_output_t *p_aout, unsigned int i_rate,
int i_channel_config, int i_format, int i_size )
{
aout_sys_t *p_sys = p_aout->sys;
- int64_t session_id = var_InheritInteger( p_aout, "audiotrack-session-id" );
+ jint session_id = var_InheritInteger( p_aout, "audiotrack-session-id" );
jobject p_audiotrack = JNI_AT_NEW( jfields.AudioManager.STREAM_MUSIC,
i_rate, i_channel_config, i_format,
i_size, jfields.AudioTrack.MODE_STREAM,
More information about the vlc-commits
mailing list