summaryrefslogtreecommitdiff
path: root/sounddevice.py
AgeCommit message (Collapse)Author
2019-04-06Redirect stderr only during initializationMatthias Geier
2019-02-27Release 0.3.130.3.13Matthias Geier
2019-02-27Copyright year updateMatthias Geier
2018-09-02Release 0.3.120.3.12Matthias Geier
2018-06-13Try to load PortAudio dylib from anacondaMatthias Geier
See #122 and #137.
2018-05-07Release 0.3.110.3.11Matthias Geier
2018-05-04Copyright year updateMatthias Geier
2018-05-03play() etc.: force a copy of "mapping"Matthias Geier
Fixes #135.
2018-03-11Try to load the PortAudio DLL from conda-forgeMatthias Geier
2017-12-22Release 0.3.100.3.10Matthias Geier
2017-11-30Move sounddevice.py back to the main directoryMatthias Geier
... because of #110. This commit reverts 6e1d71547558159d492c944c55bdd57801fc0da7, see #103.
2017-10-21Move sounddevice.py to src/Matthias Geier
2017-10-21Remove unnecessary parenthesesMatthias Geier
2017-10-21Support for Unicode strings onPython 2.x (#104)Roel Postelmans
* Support unicode strings * Added python 3.x support for basestring * The analog to basestring in python3 is a combination of bytes and str
2017-10-14switch to cffi out-of-line ABI modetgarc
switch to out of line mode to improve sounddevice module import time. this adds a separate sounddevice_build.py file that becomes part of the setup.py build process and is only run once at install time rather than everytime the module is imported
2017-08-21For .stopped property, check for .closed firstMatthias Geier
2017-08-19For .active property, check for .closed firstMatthias Geier
This way, a closed stream can be active==False instead of throwing an exception.
2017-08-19Add .closed propertyMatthias Geier
2017-08-19Close sets the internal stream pointer to NULLMatthias Geier
As recommended in https://lists.columbia.edu/pipermail/portaudio/2017-March/001076.html
2017-07-11Release 0.3.80.3.8Matthias Geier
2017-07-01Call stream.stop() in stop()Matthias Geier
Fixes #87.
2017-07-01More ignore_errors arguments, default: TrueMatthias Geier
See #87.
2017-05-09DOC: fix _check() docstringMatthias Geier
2017-05-08add code and host error info to PortAudioErrortgarc
+ Corrected two PortAudioError exception cases to ValueError exceptions + Added PaErrorCode and host error info to the `args` attribute of `PortAudioError` class when available.
2017-04-24Created CoreAudioSettingsDavid Holl
2017-03-22fix issue #1; close open streams in exit handlertdos.apone
+ Apparently older versions of portaudio don't handle closing any open streams which would sometimes cause a segmentation fault while exiting python. This commit makes sure any open streams are closed in the atexit handler
2017-02-16Release 0.3.70.3.7Matthias Geier
2017-02-16DOC: A few documentation changesMatthias Geier
2017-02-12Update copyright year to 2017Matthias Geier
2017-02-05First try 'utf-8' then 'mbcs' on MME and DS device namesMatthias Geier
Closes #72.
2017-01-26Remove __del__Matthias Geier
2017-01-26Use 'replace' when encoding unicode device stringsMatthias Geier
Closes #62.
2017-01-26Re-introduce kind='duplex' for _StreamBaseMatthias Geier
2017-01-26Untangle a list comprehensionMatthias Geier
2017-01-26Add get_stream() function for accessing the current stream (#70)David A. Riggs
2017-01-04Simplify deriving from _StreamBaseMatthias Geier
2017-01-04Fix error from previous bugfixMatthias Geier
This time hopefully not introducing yet another error ...
2017-01-03Fix error in wrapping finished_callbackMatthias Geier
The captured variable "finished_callback" was unintentionally overwritten by a later assignment.
2016-12-30Support for CData function pointers as callbacksMatthias Geier
2016-12-19Release 0.3.60.3.6Matthias Geier
2016-11-02Fix "atexit" handlingMatthias Geier
atexit.unregister() removes all instances of the registered function, not only one, therefore nested calls didn't work like they are supposed to. See http://portaudio.com/docs/v19-doxydocs/portaudio_8h.html and https://docs.python.org/3/library/atexit.html#atexit.unregister. This commit fixes #47, which was the real reason for the change, since atexit.unregister() doesn't even exist in Python 2.
2016-09-12Release 0.3.50.3.5Matthias Geier
2016-08-28Add some more C definitionsMatthias Geier
2016-08-26Fix default.extra_settingsMatthias Geier
2016-08-26Add WasapiSettingsMatthias Geier
Closes #35.
2016-08-26Add extra_settings in check_input_settings() and check_output_settings()Matthias Geier
2016-08-25Add extra_settings and AsioSettingsMatthias Geier
See #4.
2016-08-05Release 0.3.40.3.4Matthias Geier
2016-08-04Replace double quotes with single quotes in most literalsMatthias Geier
2016-08-04DOC: use "any" as default roleMatthias Geier