[xiph-commits] r7444 - trunk/vorbisfile-python

jack at motherfish-iii.xiph.org jack
Thu Aug 5 19:06:18 PDT 2004


Author: jack
Date: Thu Aug  5 19:06:18 2004
New Revision: 7444

Added:
trunk/vorbisfile-python/TODO
Modified:
trunk/vorbisfile-python/vorbisfile.c
Log:
Added TODO file.


Added: trunk/vorbisfile-python/TODO
===================================================================
--- trunk/vorbisfile-python/TODO	2004-08-01 03:32:00 UTC (rev 7443)
+++ trunk/vorbisfile-python/TODO	2004-08-01 03:41:14 UTC (rev 7444)
@@ -0,0 +1,5 @@
+Things to add for 1.0
+---------------------
+* documentation strings
+* vorbisfile.py wrapper around _vorbisfile
+* comment access

Modified: trunk/vorbisfile-python/vorbisfile.c
===================================================================
--- trunk/vorbisfile-python/vorbisfile.c	2004-08-01 03:32:00 UTC (rev 7443)
+++ trunk/vorbisfile-python/vorbisfile.c	2004-08-01 03:41:14 UTC (rev 7444)
@@ -853,21 +853,34 @@
}

static PyMethodDef vorbisfileMethods[] = {
-    {"ov_open", ov_open_py, METH_VARARGS, "Open an Ogg Vorbis file"},
-    {"ov_clear", ov_clear_py, METH_VARARGS, "Clear a VorbisFile object"},
-    {"ov_bitrate", ov_bitrate_py, METH_VARARGS, "Return bitrate of chain(s)"},
+    {"ov_open", ov_open_py, METH_VARARGS,
+     "Open an Ogg Vorbis file"},
+    //{"ov_test", ov_test_py, METH_VARARGS,
+    // "Test an Ogg Vorbis file"},
+    //{"ov_test_open", ov_test_open, METH_VARARGS,
+    // "Open an Ogg Vorbis file after testing"},
+    {"ov_clear", ov_clear_py, METH_VARARGS,
+     "Clear a vorbisfile object"},
+    {"ov_bitrate", ov_bitrate_py, METH_VARARGS,
+     "Return bitrate of chain(s)"},
{"ov_bitrate_instant", ov_bitrate_instant_py, METH_VARARGS,
"Return instantaneous bitrate"},
-    {"ov_streams", ov_streams_py, METH_VARARGS, "Return number of chains"},
-    {"ov_seekable", ov_seekable_py, METH_VARARGS, "Return whether stream "\
-     "is seekable"},
+    {"ov_streams", ov_streams_py, METH_VARARGS,
+     "Return number of chains"},
+    {"ov_seekable", ov_seekable_py, METH_VARARGS,
+     "Return whether stream is seekable"},
{"ov_serialnumber", ov_serialnumber_py, METH_VARARGS,
"Return link's serial number"},
-    {"ov_raw_total", ov_raw_total_py, METH_VARARGS, "return something"},
-    {"ov_pcm_total", ov_pcm_total_py, METH_VARARGS, "return something"},
-    {"ov_time_total", ov_time_total_py, METH_VARARGS, "return something"},
-    {"ov_raw_seek", ov_raw_seek_py, METH_VARARGS, "return something"},
-    {"ov_pcm_seek", ov_pcm_seek_py, METH_VARARGS, "return something"},
+    {"ov_raw_total", ov_raw_total_py, METH_VARARGS,
+     "return something"},
+    {"ov_pcm_total", ov_pcm_total_py, METH_VARARGS,
+     "return something"},
+    {"ov_time_total", ov_time_total_py, METH_VARARGS,
+     "return something"},
+    {"ov_raw_seek", ov_raw_seek_py, METH_VARARGS,
+     "return something"},
+    {"ov_pcm_seek", ov_pcm_seek_py, METH_VARARGS,
+     "return something"},
{"ov_pcm_seek_page", ov_pcm_seek_page_py, METH_VARARGS,
"return something"},
{"ov_time_seek", ov_time_seek_py, METH_VARARGS,



More information about the commits mailing list