qt: playlist: use item title if available
[vlc.git] / lib / media_player_internal.h
blob4a0010e29df55410d0549fda98a8af94b3d4473d
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
7 * Authors: Clément Stenac <zorglub@videolan.org>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation; either version 2.1 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this program; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifndef _LIBVLC_MEDIA_PLAYER_INTERNAL_H
25 #define _LIBVLC_MEDIA_PLAYER_INTERNAL_H 1
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
31 #include <vlc/vlc.h>
32 #include <vlc/libvlc_media.h>
33 #include <vlc_input.h>
34 #include <vlc_player.h>
35 #include <vlc_viewpoint.h>
36 #include "media_internal.h"
38 #include "../modules/audio_filter/equalizer_presets.h"
40 struct libvlc_media_player_t
42 struct vlc_object_t obj;
43 vlc_atomic_rc_t rc;
45 vlc_player_t *player;
46 vlc_player_listener_id *listener;
47 vlc_player_aout_listener_id *aout_listener;
49 struct libvlc_instance_t * p_libvlc_instance; /* Parent instance */
50 libvlc_media_t * p_md; /* current media descriptor */
51 libvlc_event_manager_t event_manager;
54 libvlc_track_description_t * libvlc_get_track_description(
55 libvlc_media_player_t *p_mi,
56 enum es_format_category_e cat );
58 /**
59 * Internal equalizer structure.
61 struct libvlc_equalizer_t
63 float f_preamp;
64 float f_amp[EQZ_BANDS_MAX];
67 #endif