]> git.sesse.net Git - vlc/blob - modules/access/cdda/info.h
Go over information that gets set, yet again. Disc things are no longer
[vlc] / modules / access / cdda / info.h
1 /*****************************************************************************
2  * info.h : CD digital audio input information routine headers
3  *****************************************************************************
4  * Copyright (C) 2004 VideoLAN
5  * $Id: info.h 8606 2004-08-31 18:32:54Z rocky $
6  *
7  * Authors: Rocky Bernstein <rocky@panix.com>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
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 General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 /*
25  Fills out playlist information.
26  */
27 int      CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
28                             vlc_bool_t b_single_track );
29
30 /*
31  Sets CDDA Meta Information. In the Control routine,
32  we handle Meta Information requests and basically copy what we've
33  saved here.
34  */
35 void     CDDAMetaInfo( access_t *p_access, track_t i_track, 
36                        /*const*/ char *psz_mrl  );
37
38 /*
39  Saves Meta Information about the CD-DA.
40
41  Saves information that CDDAMetaInfo uses. Should be called before
42  CDDAMetaInfo is called.
43  */
44 void     CDDAMetaInfoInit( access_t *p_access );
45
46
47 /*
48  Creates a playlist item filling the meta information about that playlist
49  item.
50  */
51 playlist_item_t *
52 CDDACreatePlaylistItem( const access_t *p_access, cdda_data_t *p_cdda,
53                         playlist_t *p_playlist, playlist_item_t *p_item,
54                         track_t i_track, char *psz_mrl, int psz_mrl_max );