Skip to content

Commit

Permalink
add insert
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Aug 3, 2019
1 parent 7699fc1 commit 2279309
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/VLC/VLCLibrary.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ VLCLibrary >> initializeVLC [
^ self ffiCall: 'void * libvlc_new();'
]

{ #category : #'media list' }
VLCLibrary >> insertInMediaList: aMediaList media: aMedia atIndex: anIndex [
^ self ffiCall: 'int libvlc_media_list_insert_media (void * aMediaList, void * aMedia, int anIndex)'
]

{ #category : #'media list player' }
VLCLibrary >> isListPlayerPlaying: aListPlayer [
^ self ffiCall: 'bool libvlc_media_list_player_is_playing (void* aListPlayer)'
Expand Down

0 comments on commit 2279309

Please sign in to comment.