Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Derek | f749f2187e | |
Derek | 2ee560056e |
2
README
2
README
|
@ -1,5 +1,5 @@
|
||||||
======================================================================
|
======================================================================
|
||||||
PyAudio v0.2.11: Python Bindings for PortAudio.
|
PyAudio v0.2.12: Python Bindings for PortAudio.
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
See: http://people.csail.mit.edu/hubert/pyaudio/
|
See: http://people.csail.mit.edu/hubert/pyaudio/
|
||||||
|
|
|
@ -1,112 +0,0 @@
|
||||||
python-pyaudio (0.2.11-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* New upstream release
|
|
||||||
- Fix free-after-use memory issue.
|
|
||||||
* Remove lintian-overrides for jquery and underscore source missing,
|
|
||||||
as upstream source no longer contains generated docs.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Sat, 18 Mar 2017 22:36:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.10-1) unstable; urgency=medium
|
|
||||||
|
|
||||||
[ Hubert Pham ]
|
|
||||||
* New upstream release
|
|
||||||
- Fix deadlock on some platforms with improved handling of Python GIL.
|
|
||||||
* Update Standards-Version.
|
|
||||||
* Add lintian-overrides for jquery and underscore source missing. They are
|
|
||||||
false positives.
|
|
||||||
* Update homepage and git URL to https.
|
|
||||||
|
|
||||||
[ Felipe Sateler ]
|
|
||||||
* Simplify d/rules by making use of the debhelper pybuild buildsystem
|
|
||||||
* Enable hardening compiler features
|
|
||||||
* Vcs-Git: Make git clones checkout the debian branch
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Wed, 18 Jan 2017 10:38:13 -0300
|
|
||||||
|
|
||||||
python-pyaudio (0.2.9-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fix overflow error handling logic for pa_read_stream.
|
|
||||||
* Fix IOError exception arguments.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Sun, 18 Oct 2015 19:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.8-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fix support for non-UTF8 encoded device names.
|
|
||||||
* Fix deadlock on some platforms when calling pa.stop_stream.
|
|
||||||
* Fix debian packaging to avoid including unnecessary files.
|
|
||||||
Closes: #743660.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Mon, 12 Apr 2014 19:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.7-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Upload to unstable
|
|
||||||
* Bump standards version
|
|
||||||
* Link jquery and underscore to the libjs- packages
|
|
||||||
|
|
||||||
-- Felipe Sateler <fsateler@debian.org> Sat, 19 Oct 2013 17:35:39 -0300
|
|
||||||
|
|
||||||
python-pyaudio (0.2.7-1) experimental; urgency=low
|
|
||||||
|
|
||||||
* Add support for callables in non-blocking mode.
|
|
||||||
* Change documentation generator to Sphinx.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Sat, 20 Oct 2012 20:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.6-1) experimental; urgency=low
|
|
||||||
|
|
||||||
* New upstream release.
|
|
||||||
* Add support for Python 3.
|
|
||||||
* Split documentation into python-pyaudio-doc package.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Sat, 02 Sep 2012 21:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.5-1) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Add support for callback (non-blocking) operation.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Sat, 02 Sep 2012 20:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.4-2) unstable; urgency=low
|
|
||||||
|
|
||||||
* Add python-docutils to Build-Depends.
|
|
||||||
* Generate documentation against built portaudio module.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Tue, 02 Nov 2010 23:16:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.4-1) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Felipe Sateler ]
|
|
||||||
* Bump standards version (no changes needed)
|
|
||||||
* Introduce a long description
|
|
||||||
* Use --intall-layout=deb to comply with python policy
|
|
||||||
* Use ${shlib:Depends} and ${misc:Depends}
|
|
||||||
* Move to python section
|
|
||||||
* Add dummy binary-indep target
|
|
||||||
* Add call to dh_compress
|
|
||||||
* Add homepage field
|
|
||||||
|
|
||||||
[ Hubert Pham ]
|
|
||||||
* Updated directory structure and packaging.
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Wed, 18 Aug 2010 15:23:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.3) unstable; urgency=low
|
|
||||||
|
|
||||||
* Release the GIL during blocking PortAudio I/O calls.
|
|
||||||
|
|
||||||
* Fixed Python argument parsing to use a long for PaSampleFormat.
|
|
||||||
|
|
||||||
* pyaudio.PyAudio.is_format_supported() now throws a ValueError
|
|
||||||
exception if the specified format is not supported for any reason
|
|
||||||
(or returns True if the format is supported).
|
|
||||||
|
|
||||||
-- Hubert Pham <hubert@mit.edu> Thu, 30 Oct 2008 17:00:00 -0500
|
|
||||||
|
|
||||||
python-pyaudio (0.2.0) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial version
|
|
||||||
|
|
||||||
-- Justin Mazzola Paluska <jmp@mit.edu> Fri, 08 Feb 2008 13:47:27 -0500
|
|
|
@ -1 +0,0 @@
|
||||||
9
|
|
|
@ -1,42 +0,0 @@
|
||||||
Source: python-pyaudio
|
|
||||||
Section: python
|
|
||||||
Priority: optional
|
|
||||||
Standards-Version: 3.9.8
|
|
||||||
Build-Depends: python-all-dev, python3-all-dev, debhelper(>= 9), portaudio19-dev, python-sphinx, python-docutils, dh-linktree, dh-python, libjs-jquery, libjs-underscore
|
|
||||||
Maintainer: Hubert Pham <hubert@mit.edu>
|
|
||||||
Uploaders: Felipe Sateler <fsateler@debian.org>, Justin Mazzola Paluska <jmp@mit.edu>
|
|
||||||
Homepage: https://people.csail.mit.edu/hubert/pyaudio/
|
|
||||||
Vcs-Git: https://people.csail.mit.edu/hubert/git/pyaudio.git -b debian
|
|
||||||
Vcs-Browser: https://people.csail.mit.edu/hubert/git/pyaudio.git
|
|
||||||
|
|
||||||
Package: python-pyaudio
|
|
||||||
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
|
||||||
Provides: ${python:Provides}
|
|
||||||
Suggests: python-pyaudio-doc (>= ${source:Upstream-Version})
|
|
||||||
Architecture: any
|
|
||||||
Description: Python bindings for PortAudio v19
|
|
||||||
PyAudio provides Python bindings for PortAudio v19, the
|
|
||||||
cross-platform audio I/O library. PyAudio makes it easy to use Python
|
|
||||||
to play and record audio via pythonic wrappers around the PortAudio
|
|
||||||
API. This package is for Python2.
|
|
||||||
|
|
||||||
Package: python3-pyaudio
|
|
||||||
Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
|
|
||||||
Provides: ${python3:Provides}
|
|
||||||
Suggests: python-pyaudio-doc (>= ${source:Upstream-Version})
|
|
||||||
Architecture: any
|
|
||||||
Description: Python3 bindings for PortAudio v19
|
|
||||||
PyAudio provides Python bindings for PortAudio v19, the
|
|
||||||
cross-platform audio I/O library. PyAudio makes it easy to use Python
|
|
||||||
to play and record audio via pythonic wrappers around the PortAudio
|
|
||||||
API. This package is for Python3.
|
|
||||||
|
|
||||||
Package: python-pyaudio-doc
|
|
||||||
Section: doc
|
|
||||||
Depends: ${misc:Depends}
|
|
||||||
Architecture: all
|
|
||||||
Description: Documentation for Python bindings for PortAudio v19
|
|
||||||
Documentation for PyAudio, which provides Python bindings for
|
|
||||||
PortAudio v19, the cross-platform audio I/O library. PyAudio makes it
|
|
||||||
easy to use Python to play and record audio via pythonic wrappers
|
|
||||||
around the PortAudio API.
|
|
|
@ -1,37 +0,0 @@
|
||||||
PyAudio is distributed under the MIT License. That is to say,
|
|
||||||
|
|
||||||
Copyright (c) 2006 Hubert Pham
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
The upstream PyAudio source is available at:
|
|
||||||
|
|
||||||
git: http://people.csail.mit.edu/hubert/git/pyaudio.git
|
|
||||||
homepage: http://people.csail.mit.edu/hubert/pyaudio/
|
|
||||||
|
|
||||||
The original PyAudio author is: Hubert Pham <hubert@mit.edu>.
|
|
||||||
|
|
||||||
The Debian packaging of PyAudio is also distributed under the
|
|
||||||
MIT license.
|
|
||||||
|
|
||||||
Debian package maintainers include:
|
|
||||||
Hubert Pham <hubert@mit.edu>
|
|
||||||
Felipe Sateler <fsateler@debian.org>
|
|
||||||
Justin Mazzola Paluska <jmp@mit.edu>
|
|
|
@ -1,6 +0,0 @@
|
||||||
[DEFAULT]
|
|
||||||
upstream-branch = master
|
|
||||||
debian-branch = debian
|
|
||||||
|
|
||||||
upstream-tag = v%(version)s
|
|
||||||
debian-tag = debian/%(version)s
|
|
|
@ -1,9 +0,0 @@
|
||||||
Document: python-pyaudio-doc
|
|
||||||
Title: PyAudio API
|
|
||||||
Author: Hubert Pham
|
|
||||||
Abstract: This manual is the API reference for the Python PyAudio library.
|
|
||||||
Section: Programming/Python
|
|
||||||
|
|
||||||
Format: HTML
|
|
||||||
Index: /usr/share/doc/python-pyaudio-doc/docs/index.html
|
|
||||||
Files: /usr/share/doc/python-pyaudio-doc/docs/*
|
|
|
@ -1,2 +0,0 @@
|
||||||
README
|
|
||||||
docs/
|
|
|
@ -1,3 +0,0 @@
|
||||||
replace usr/share/javascript/jquery usr/share/doc/python-pyaudio-doc/docs/_static
|
|
||||||
replace usr/share/javascript/underscore usr/share/doc/python-pyaudio-doc/docs/_static
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
examples/error.py
|
|
||||||
examples/play_wave.py
|
|
||||||
examples/play_wave_callback.py
|
|
||||||
examples/record.py
|
|
||||||
examples/system_info.py
|
|
||||||
examples/wire_callback.py
|
|
||||||
examples/wire_full.py
|
|
||||||
examples/wire_half.py
|
|
|
@ -1,3 +0,0 @@
|
||||||
usr/lib/python2*/*-packages/pyaudio.py
|
|
||||||
usr/lib/python2*/*-packages/*.so
|
|
||||||
usr/lib/python2*/*-packages/*.egg-info
|
|
|
@ -1,8 +0,0 @@
|
||||||
examples/error.py
|
|
||||||
examples/play_wave.py
|
|
||||||
examples/play_wave_callback.py
|
|
||||||
examples/record.py
|
|
||||||
examples/system_info.py
|
|
||||||
examples/wire_callback.py
|
|
||||||
examples/wire_full.py
|
|
||||||
examples/wire_half.py
|
|
|
@ -1,3 +0,0 @@
|
||||||
usr/lib/python3*/*-packages/pyaudio.py
|
|
||||||
usr/lib/python3*/*-packages/*.so
|
|
||||||
usr/lib/python3*/*-packages/*.egg-info
|
|
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/make -f
|
|
||||||
# -*- mode: makefile -*-
|
|
||||||
|
|
||||||
SPACE :=
|
|
||||||
SPACE +=
|
|
||||||
|
|
||||||
PYTHONPATH=$(subst $(SPACE),:,$(abspath $(wildcard build/lib*)))
|
|
||||||
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@ --with python2,python3,linktree --buildsystem=pybuild
|
|
||||||
|
|
||||||
override_dh_auto_build:
|
|
||||||
dh_auto_build
|
|
||||||
PYTHONPATH=$(PYTHONPATH) make docs
|
|
||||||
|
|
||||||
override_dh_auto_clean:
|
|
||||||
dh_auto_clean
|
|
||||||
rm -rf docs
|
|
|
@ -1 +0,0 @@
|
||||||
3.0 (quilt)
|
|
2
setup.py
2
setup.py
|
@ -34,7 +34,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup, Extension
|
from distutils.core import setup, Extension
|
||||||
|
|
||||||
__version__ = "0.2.11"
|
__version__ = "0.2.12"
|
||||||
|
|
||||||
# distutils will try to locate and link dynamically against portaudio.
|
# distutils will try to locate and link dynamically against portaudio.
|
||||||
#
|
#
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#define PY_SSIZE_T_CLEAN
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "portaudio.h"
|
#include "portaudio.h"
|
||||||
#include "_portaudiomodule.h"
|
#include "_portaudiomodule.h"
|
||||||
|
@ -1291,7 +1292,7 @@ int _stream_callback_cfunction(const void *input, void *output,
|
||||||
PyObject *py_status_flags = PyLong_FromUnsignedLong(statusFlags);
|
PyObject *py_status_flags = PyLong_FromUnsignedLong(statusFlags);
|
||||||
PyObject *py_input_data = Py_None;
|
PyObject *py_input_data = Py_None;
|
||||||
const char *pData;
|
const char *pData;
|
||||||
unsigned output_len;
|
Py_ssize_t output_len;
|
||||||
PyObject *py_result;
|
PyObject *py_result;
|
||||||
|
|
||||||
if (input) {
|
if (input) {
|
||||||
|
|
Loading…
Reference in New Issue