mp4: Fix make distcheck
[vlc.git] / lib / media_player_internal.h
blob20b26e9221e145d18052b259f801b23d74afedc2
1 /*****************************************************************************
2 * media_player_internal.h : Definition of opaque structures for libvlc exported API
3 * Also contains some internal utility functions
4 *****************************************************************************
5 * Copyright (C) 2005-2009 VLC authors and VideoLAN
6 * $Id$
8 * Authors: Clément Stenac <zorglub@videolan.org>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #ifndef _LIBVLC_MEDIA_PLAYER_INTERNAL_H
26 #define _LIBVLC_MEDIA_PLAYER_INTERNAL_H 1
28 #ifdef HAVE_CONFIG_H
29 # include "config.h"
30 #endif
32 #include <vlc/vlc.h>
33 #include <vlc/libvlc_media.h>
34 #include <vlc_input.h>
35 #include <vlc_viewpoint.h>
37 #include "../modules/audio_filter/equalizer_presets.h"
39 struct libvlc_media_player_t
41 struct vlc_common_members obj;
43 int i_refcount;
44 vlc_mutex_t object_lock;
46 struct
48 input_thread_t *p_thread;
49 input_resource_t *p_resource;
50 vlc_renderer_item_t *p_renderer;
51 vlc_mutex_t lock;
52 } input;
54 struct libvlc_instance_t * p_libvlc_instance; /* Parent instance */
55 libvlc_media_t * p_md; /* current media descriptor */
56 libvlc_event_manager_t event_manager;
57 libvlc_state_t state;
58 vlc_viewpoint_t viewpoint;
59 int selected_es[3];
62 /* Media player - audio, video */
63 input_thread_t *libvlc_get_input_thread(libvlc_media_player_t * );
66 libvlc_track_description_t * libvlc_get_track_description(
67 libvlc_media_player_t *p_mi,
68 const char *psz_variable );
70 /**
71 * Internal equalizer structure.
73 struct libvlc_equalizer_t
75 float f_preamp;
76 float f_amp[EQZ_BANDS_MAX];
79 #endif