gui: macos: use float for rate
[vlc.git] / src / input / input_interface.h
blob475c7c4c0f1f598243a8cacd361012e3a3e8fc03
1 /*****************************************************************************
2 * input_interface.h: Input functions usable outside input code.
3 *****************************************************************************
4 * Copyright (C) 1998-2008 VLC authors and VideoLAN
6 * Authors: Laurent Aimar < fenrir _AT_ videolan _DOT_ org >
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 #ifndef LIBVLC_INPUT_INTERFACE_H
24 #define LIBVLC_INPUT_INTERFACE_H 1
26 #include <vlc_input.h>
27 #include <libvlc.h>
29 /**********************************************************************
30 * Item metadata
31 **********************************************************************/
32 void input_item_SetPreparsed( input_item_t *p_i, bool b_preparsed );
33 void input_item_SetArtNotFound( input_item_t *p_i, bool b_not_found );
34 void input_item_SetArtFetched( input_item_t *p_i, bool b_art_fetched );
35 void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_epg, bool );
36 void input_item_ChangeEPGSource( input_item_t *p_item, int i_source_id );
37 void input_item_SetEpgEvent( input_item_t *p_item, const vlc_epg_event_t *p_epg_evt );
38 void input_item_SetEpgTime( input_item_t *, int64_t );
39 void input_item_SetEpgOffline( input_item_t * );
41 /**
42 * This function deletes the current sout in the resources.
44 void input_resource_TerminateSout( input_resource_t *p_resource );
46 /**
47 * This function return true if there is at least one vout in the resources.
49 * It can only be called on detached resources.
51 bool input_resource_HasVout( input_resource_t *p_resource );
53 #endif