Esempio n. 1
0
// Stop halts playback.
func (this *ListPlayer) Stop() error {
	if this.ptr == nil {
		return os.EINVAL
	}

	C.libvlc_media_list_player_stop(this.ptr)
	return checkError()
}
Esempio n. 2
0
// Stop halts playback.
func (this *ListPlayer) Stop() error {
	if this.ptr == nil {
		return &VLCError{"ListPlayer is nil"}
	}

	C.libvlc_media_list_player_stop(this.ptr)
	return checkError()
}