Skip to content

Commit 2279309

Browse files
committed
add insert
1 parent 7699fc1 commit 2279309

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/VLC/VLCLibrary.class.st

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ VLCLibrary >> initializeVLC [
123123
^ self ffiCall: 'void * libvlc_new();'
124124
]
125125

126+
{ #category : #'media list' }
127+
VLCLibrary >> insertInMediaList: aMediaList media: aMedia atIndex: anIndex [
128+
^ self ffiCall: 'int libvlc_media_list_insert_media (void * aMediaList, void * aMedia, int anIndex)'
129+
]
130+
126131
{ #category : #'media list player' }
127132
VLCLibrary >> isListPlayerPlaying: aListPlayer [
128133
^ self ffiCall: 'bool libvlc_media_list_player_is_playing (void* aListPlayer)'

0 commit comments

Comments
 (0)