Inline documentation (and .gitignore)

This commit is contained in:
Lars Immisch
2020-07-10 00:54:24 +02:00
parent f07627543c
commit 0224c8a308
3 changed files with 14 additions and 3 deletions

View File

@@ -914,6 +914,8 @@ alsapcm_setchannels(alsapcm_t *self, PyObject *args)
PyDoc_STRVAR(setchannels_doc,
"setchannels(numchannels)\n\
\n\
Deprecated since 0.9\n\
\n\
Used to set the number of capture or playback channels. Common values\n\
are: 1 = mono, 2 = stereo, and 6 = full 6 channel audio.\n\
\n\
@@ -955,6 +957,8 @@ alsapcm_setrate(alsapcm_t *self, PyObject *args)
PyDoc_STRVAR(setrate_doc,
"setrate(rate)\n\
\n\
Deprecated since 0.9\n\
\n\
Set the sample rate in Hz for the device. Typical values are\n\
8000 (telephony), 11025, 44100 (CD), 48000 (DVD audio) and 96000");
@@ -992,7 +996,9 @@ alsapcm_setformat(alsapcm_t *self, PyObject *args)
}
PyDoc_STRVAR(setformat_doc,
"setformat(rate)\n");
"setformat(rate)\n\
\n\
Deprecated since 0.9");
static PyObject *
alsapcm_setperiodsize(alsapcm_t *self, PyObject *args)
@@ -1030,6 +1036,8 @@ alsapcm_setperiodsize(alsapcm_t *self, PyObject *args)
PyDoc_STRVAR(setperiodsize_doc,
"setperiodsize(period) -> int\n\
\n\
Deprecated since 0.9\n\
\n\
Sets the actual period size in frames. Each write should consist of\n\
exactly this number of frames, and each read will return this number of\n\
frames (unless the device is in PCM_NONBLOCK mode, in which case it\n\