1

Enabling MediaPlayerBuffering event to be fired in android-vlc

view story
linux-howto

http://stackoverflow.com – I would like to subscribe for the MediaPlayer buffering event in the android vlc app. I edited the EventHandler class and uncommented the event constant. public static final int MediaPlayerBuffering = 0x103; // ** uncommented this** public static final int MediaPlayerPlaying = 0x104; I then added the the variable in libvlcjni.c libvlc_event_manager_t *ev = libvlc_media_player_event_manager(mp); static const libvlc_event_type_t mp_events[] = { libvlc_MediaPlayerPlaying, libvlc_MediaPlayerPaused, libvlc_MediaPlayerEndReached, libvlc_MediaPlayerSt (HowTos)