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
14static char Py_sink_doc[] = ""14static char Py_sink_doc[] = ""
15"sink(path, samplerate=44100, channels=1)\n"15"sink(path, samplerate=44100, channels=1)\n"
16"\n"16"\n"
17"Open `path` to write a WAV file.\n"17"Write audio samples to file.\n"
18"\n"18"\n"
19"Parameters\n"19"Parameters\n"
20"----------\n"20"----------\n"
python/ext/py-source.c+1−1
@@ -18,7 +18,7 @@ typedef struct · 17 unmodified lines
18static char Py_source_doc[] = ""18static char Py_source_doc[] = ""
19"source(path, samplerate=0, hop_size=512, channels=0)\n"19"source(path, samplerate=0, hop_size=512, channels=0)\n"
20"\n"20"\n"
21"Create a new source, opening the given pathname for reading.\n"21"Read audio samples from a media file.\n"
22"\n"22"\n"
23"`source` open the file specified in `path` and creates a callable\n"23"`source` open the file specified in `path` and creates a callable\n"
24"returning `hop_size` new audio samples at each invocation.\n"24"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