History

[doc] [py] improve source/sink descriptions

Paul Brossier committed 8 years ago

Commit a5c3f2a1 parent fa3b1f12 files · +2 −2Browse files

Showing the changes to python (2 of 2 files). Show all

Unified · Split

2 files
  1. python/ext/py-sink.c +1 −1
  2. python/ext/py-source.c +1 −1
python/ext/py-sink.c+1−1
@@ -14,7 +14,7 @@ typedef struct · 13 unmodified lines
1414 static char Py_sink_doc[] = ""
1515 "sink(path, samplerate=44100, channels=1)\n"
1616 "\n"
17−"Open `path` to write a WAV file.\n"
17+"Write audio samples to file.\n"
1818 "\n"
1919 "Parameters\n"
2020 "----------\n"
python/ext/py-source.c+1−1
@@ -18,7 +18,7 @@ typedef struct · 17 unmodified lines
1818 static char Py_source_doc[] = ""
1919 "source(path, samplerate=0, hop_size=512, channels=0)\n"
2020 "\n"
21−"Create a new source, opening the given pathname for reading.\n"
21+"Read audio samples from a media file.\n"
2222 "\n"
2323 "`source` open the file specified in `path` and creates a callable\n"
2424 "returning `hop_size` new audio samples at each invocation.\n"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t