[xiph-commits] r2980 - liboggplay/trunk/include/oggplay

shans at svn.annodex.net shans at svn.annodex.net
Mon Jun 18 01:19:15 PDT 2007


Author: shans
Date: 2007-06-18 01:19:14 -0700 (Mon, 18 Jun 2007)
New Revision: 2980

Modified:
   liboggplay/trunk/include/oggplay/oggplay_reader.h
Log:
Modified oggplay_file_reader_new and oggplay_tcp_reader_new interfaces to
take a filename / uri



Modified: liboggplay/trunk/include/oggplay/oggplay_reader.h
===================================================================
--- liboggplay/trunk/include/oggplay/oggplay_reader.h	2007-06-18 08:18:53 UTC (rev 2979)
+++ liboggplay/trunk/include/oggplay/oggplay_reader.h	2007-06-18 08:19:14 UTC (rev 2980)
@@ -43,8 +43,7 @@
 struct _OggPlayReader;
 
 typedef struct _OggPlayReader {
-  OggPlayErrorCode  (*initialise)(struct _OggPlayReader * me, char * source,
-                                  int block);
+  OggPlayErrorCode  (*initialise)(struct _OggPlayReader * me, int block);
   OggPlayErrorCode  (*destroy)(struct _OggPlayReader * me);
   OggPlayErrorCode  (*get_next_chunk)(struct _OggPlayReader *me, 
                                 unsigned char **position, int *size, int *base);
@@ -53,9 +52,9 @@
 } OggPlayReader;
 
 OggPlayReader *
-oggplay_file_reader_new(void);
+oggplay_file_reader_new(char *filename);
 
 OggPlayReader *
-oggplay_tcp_reader_new(void);
+oggplay_tcp_reader_new(char *uri);
 
 #endif



More information about the commits mailing list