]> git.sesse.net Git - vlc/blobdiff - modules/access/cdda/info.h
Fix tiny memleak.
[vlc] / modules / access / cdda / info.h
index ca3e0d938d5f394580e8efea470f89263d3e280c..0da55e72c4234d8a4118ed175c24ba6d6a3b9e78 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * info.h : CD digital audio input information routine headers
  *****************************************************************************
- * Copyright (C) 2004 VideoLAN
- * $Id: info.h 8606 2004-08-31 18:32:54Z rocky $
+ * Copyright (C) 2004 the VideoLAN team
+ * $Id$
  *
  * Authors: Rocky Bernstein <rocky@panix.com>
  *
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*
  Fills out playlist information.
  */
 int      CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
-                            const char *psz_source,
-                            vlc_bool_t b_single_track );
+                            bool b_single_track );
 
 /*
Gets and saves CDDA Meta Information. In the Control routine,
Sets CDDA Meta Information. In the Control routine,
  we handle Meta Information requests and basically copy what we've
  saved here.
  */
-void     CDDAMetaInfo( access_t *p_access, int  );
-
+void     CDDAMetaInfo( access_t *p_access, track_t i_track );
 
 /*
- Creates a playlist item filling the meta information about that playlist
- item.
+ Saves Meta Information about the CD-DA.
+
+ Saves information that CDDAMetaInfo uses. Should be called before
+ CDDAMetaInfo is called.
  */
-playlist_item_t *
-CDDACreatePlaylistItem( const access_t *p_access, cdda_data_t *p_cdda,
-                        playlist_t *p_playlist, playlist_item_t *p_item,
-                        track_t i_track, char *psz_mrl, int psz_mrl_max,
-                        const char *psz_source );
+void     CDDAMetaInfoInit( access_t *p_access );
+
+char *CDDAFormatTitle( const access_t *p_access, track_t i_track );
+