ref: a5c3f2aaddbaabc1a9025f7d2105d596a4c91439
parent: fa3b1f1e85ba251f8e76abccd93d469274bce95c
author: Paul Brossier <piem@piem.org>
date: Sun Nov 4 08:42:13 EST 2018
[doc] [py] improve source/sink descriptions
--- a/python/ext/py-sink.c
+++ b/python/ext/py-sink.c
@@ -14,7 +14,7 @@
static char Py_sink_doc[] = ""
"sink(path, samplerate=44100, channels=1)\n"
"\n"
-"Open `path` to write a WAV file.\n"
+"Write audio samples to file.\n"
"\n"
"Parameters\n"
"----------\n"
--- a/python/ext/py-source.c
+++ b/python/ext/py-source.c
@@ -18,7 +18,7 @@
static char Py_source_doc[] = ""
"source(path, samplerate=0, hop_size=512, channels=0)\n"
"\n"
-"Create a new source, opening the given pathname for reading.\n"
+"Read audio samples from a media file.\n"
"\n"
"`source` open the file specified in `path` and creates a callable\n"
"returning `hop_size` new audio samples at each invocation.\n"