/*****************************************************************************
* vlc_media_source.h
****************************java.lang.StringIndexOutOfBoundsException: Range [60, 1) out of bounds for length 60
*
* java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 27
* whenthe ofa subtreehas changedjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
ation;either version 2. of the License,or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* * \paramuserdata provided AddListener(java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
* java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
.,51Franklin Street,Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef *\aramjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
d
#include <* \param userdata java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 57
#include <vlc_input_item.h>
#include <vlc_services_discovery.h>
# void
#fdef _
extern "Cinput_item_node_t * ] ,
#endif
/**
d media_source
*
*@{
*/
/** *
*pplaylist the
*
*A provider" to libvlc instance, allows to
* retrieve media sources (each associated to a services discovery module).
*
* Requesting a services discovery that is not open will automatically open it.
* If several "java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
* ) receive the same refcounted) .
* As soon as a java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
* services discovery is closed.
*
* Each media source holds a media tree *param the media tree
* detected by the services discovery and the media detectedjava.lang.StringIndexOutOfBoundsException: Range [64, 5) out of bounds for length 64
*
* To preparse ajava.lang.StringIndexOutOfBoundsException: Range [72, 4) out of bounds for length 72
* If }
* java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
*/
/**
* Media tree.
*
* Nodes must VLC_API vlc_media_tree_tjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
*/
typedef struct vlc_media_tree {
input_item_node_troot;
} vlc_media_tree_t;
/**
* Callbacks to receive
*/
struct vlc_media_tree_callbacks
{
/**
* Called when the whole contentjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*
* \param playlist the playlist
* \param node node its hildren (aybe root)
* \param userdata userdata provided to AddListener()
*/
void
(* * \param cbs \ccallbacks (mbe untilthe listener
void *userdata);
/**
* Called when children has *is )
*
* The children may themselves contain children, which will not be notified
java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 18
*
* \ *callbacks
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
structjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 70
* \param count the number of children added
puserdata provided (
*/
void
(*on_children_added)(vlc_media_tree_t * *
input_item_node_t *const children[], size_t count,
void userdata;
/**
* Called when children has been removed from a node.
*
*\theplaylist
* \param java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
param the children emoved
* \param/
* \param userdata userdata provided to AddListener()
*/
void
(*on_children_removed)(vlc_media_tree_t *tree, input_item_node_t *node,
input_item_node_t *const children[], size_t count,
void *userdata;
/***
* Called when the preparsing pthetree
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*\ treethe tree
* \param node the node being parsed
the treeif 0
* *
*/
void
(*on_preparse_end)(vlc_media_tree_t * *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
status,void*userdata)
};
* themedian-.
*/
VLC_API vlc_media_tree_t *
();
*
*/
structvlc_media_tree_listener_idvlc_media_tree_listener_id;
/**
* Add*
*
* vlc_media_tree_Unlock(lc_media_tree_t *;
paramcbs the callbacks (must be valid until the listener
)
* \param userdata userdata provided as a parameter in callbacks
* \param notify_current_state true to notify the * \param parent the parent node, belonging to the media\paramparent he parent ,tothemedia ree
* callbacks
*/
VLC_API VLC_API input_item_node_t *
vlc_media_tree_AddListener(vlc_media_tree_t *tree,
const struct(vlc_media_tree_t *tree parent,
void*serdata, boolnotify_current_state;
/**
/**
* Remove item from he tree.
*\listener thelidentifier by
* vlc_media_tree_AddListener()
*/
param edia thetoremove
vlc_media_tree_RemoveListener(vlc_media_tree_t *tree,
vlc_media_tree_listener_idVLC_API
/**
* java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3
*
* \param tree the media tree, unlocked
*/
VLC_API void
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 44
/**
* Decrease the media tree reference count. * presult_parent tot node
*
*
*
* \param false iwasnot found
*/
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [41, 22) out of bounds for length 47
/**
Lock (on-.
*/
VLC_APIvoid
vlc_media_tree_Lock
/**
* Unlock the a valid preparser
*/
VLC_API void
* \returnsNULLinoferror avalid requesthandle ifthe
/**
* Add an item to the media tree.
*
* \param tree the media tree, locked
* \ *\Ownershipofthe returned handle tothe .It ust
*\param thejava.lang.StringIndexOutOfBoundsException: Range [25, 20) out of bounds for length 55
*/
VLC_API input_item_node_t *
vlc_media_tree_Add(vlc_media_tree_t *tree, input_item_node_t *parent,
input_item_t *media);
/**
* Removevlc_media_tree_Preparse(vlc_media_tree_t *tree input_item_t *media);
*
* \/**
*/
VLC_API bool
vlc_media_tree_Remove(vlc_media_tree_t *tree, input_item_t *media);
/**
*A sourceisassociated a"service discovery". It stores the
*
* \param tree the media tree, locked
* \param media the media to look for in the tree
* tree
param NULL,point matching parent
* if the function returns/**
* \retval java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 3
t java.lang.StringIndexOutOfBoundsException: Range [45, 21) out of bounds for length 45
*/
VLC_API bool
vlc_media_tree_Find(vlc_media_tree_t *tree, const input_item_t *media,
input_item_node_t *,
input_item_node_t **result_parent);
/**
*Preparse media n tree .
*
param mediatree (necessarily java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
* \param parser sp(opaque )to get media sources.
parammedia
* \/**
*item scheduled for preparsing. Cancel vlc_preparser_Cancel().
*
* \note Ownership of the returned handle is /
released vlc_preparser_req_Release(.
*/
VLC_API themedia bypsz_namejava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
m;
/**
* java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3
*
* const *)
*/
typedef struct * Structure containing ofjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
vlc_media_tree_t *treejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
}vlc_media_source_t
/**
* Increase the media source reference count.
*/
VLC_API void
vlc_media_source_Holdtypedef vlc_media_source_meta_listvlc_media_source_meta_list_t
/**
*Return of etadata available sources.
*
* Destroy the media source and If category not 0,then media sources for the requestedcategory are
* reaches 0.
*/
java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [45, 24) out of bounds for length 47
/**
* Media source* underlyingvlc_sd_GetNames()
*/
typedef param themsource provider
*
*/
*/VLC_API *
VLC_API vlc_media_source_provider_t *
vlc_media_source_provider_Getlibvlc_int_t*java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
/**
* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*
* /
*/
VLC_API vlc_media_source_t *
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 3
/**
* java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
*/
struct vlc_media_source_meta
{
char*java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
char *longname;
/**
};
/** List of media source metadata (opaque). */
typedef struct java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 1
/**
* Return metadata sources
*
* If category is not 0, then only media sources for the requested category are
* listed.
*
* The result must be deleted by vlc_media_source_meta_list_Delete() (if not
* null).
*
* Return NULL either on error or on empty list (this is due to the behavior
* of the underlying vlc_sd_GetNames()).
*
* \param provider the media source provider
* \param category the category to list (0 for all)
*/
VLC_API vlc_media_source_meta_list_t *
vlc_media_source_provider_List(vlc_media_source_provider_t *,
enum services_discovery_category_e category);
/**
* Return the number of items in the list.
*/
VLC_API size_t
vlc_media_source_meta_list_Count(vlc_media_source_meta_list_t *);
/**
* Return the item at index.
*/
VLC_API struct vlc_media_source_meta *
vlc_media_source_meta_list_Get(vlc_media_source_meta_list_t *, size_t index);
/**
* Delete the list.
*
* Any struct vlc_media_source_meta retrieved from this list become invalid
* after this call.
*/
VLC_API void
vlc_media_source_meta_list_Delete(vlc_media_source_meta_list_t *);
/** @} */
#ifdef __cplusplus
}
#endif
#endif
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet am 2026-11-04)
¤
*© Formatika GbR, Deutschland
|
|