Commit Graph

124 Commits

Author SHA1 Message Date
Hubert Pham f0218c5670 PyAudio.is_format_supported() now throws ValueError if the specified format is not supported for any reason (or returns True if the format is supported).
Prior, the method would return False if and only if the specified
sample rate was unsupported. is_format_supported() now will always
return True or throw an exception.

git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@28 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:46:00 -04:00
Hubert Pham 4b7117786a GIL release fix.
- Release the GIL during blocking PortAudio I/O calls.

 - Fix Python argument parsing to use a long for PaSampleFormat
   (rather than int).

Thanks to many who have pointed out these two issues and sent patches.

git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@27 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:46:00 -04:00
Hubert Pham 5844f8040f Merge branch '0.2.0' into new-master 2010-08-09 03:33:28 -04:00
Hubert Pham 47d958a38f Update language on INSTALL.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@25 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham cf4537b21e Add libportaudio2 as dependency to deb.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@24 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham 541fbc6e82 play_wave_macosx_channelmap.py: fix docstring.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@23 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham 2b41df7cc9 Rename play_wave_mac_channel_map.py.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@22 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham 1e2720a1d6 Update INSTALL; add graceful exit to play_wave_mac_channel_map.py.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@21 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham c9a42127fe Remove postinst.py.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@20 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:32:00 -04:00
Hubert Pham 1cd87312ff Update documentation.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@19 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:31:47 -04:00
Hubert Pham 3b502ebb4c PaMacCoreStreamInfo bug fixes.
- Fixed a few bugs with PyAudio's PaMacCoreStreamInfo.
 - Updated version numbers (minor).
 - Updated INSTALL compilation instructions.

git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@18 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:31:47 -04:00
Hubert Pham bb486ea160 Add multiple installers for different Mac OS X Python(s).
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@17 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:31:47 -04:00
Hubert Pham 7a93fffa0a Add Mac OS X Host API Stream Info interface.
git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@16 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:31:47 -04:00
Hubert Pham 3ab6d8241a Add packaging to create binary distributions.
- Streamlined distutils setup.py to dynamically link against
   libportaudio in the common case.

 - Added binary distribution Makefile and some file for packaging.

 - Quick distribution tests on Mac OS X, Windows/MinGW, and GNU/Linux.

 - Todo: Mac OS X installer requires System Python. Fix to use either
   MacPython, System Python, or both (using metapackages).

git-svn-id: https://svn.csail.mit.edu/pyaudio/branches/pyaudio-0.2.0@15 b6966296-9315-0410-889a-8473bed30898
2010-08-09 03:31:47 -04:00
Justin Mazzola Paluska 044524cf39 Intial version of debian packaging
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@13 b6966296-9315-0410-889a-8473bed30898
2008-02-12 19:05:16 +00:00
Hubert Pham 57702be310 fixed INSTALL instructions---less ambiguous wording for instructions on untar'ing pyaudio
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@11 b6966296-9315-0410-889a-8473bed30898
2006-12-20 06:21:34 +00:00
Hubert Pham 55379e1b01 pyaudio: added --with-alsa flag to setup.py to link in ALSA libraries
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@10 b6966296-9315-0410-889a-8473bed30898
2006-09-17 21:48:50 +00:00
Hubert Pham d9117e8d48 git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@9 b6966296-9315-0410-889a-8473bed30898 2006-06-06 21:01:49 +00:00
Hubert Pham 38a839356f git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@8 b6966296-9315-0410-889a-8473bed30898 2006-06-06 20:57:25 +00:00
Hubert Pham dfba690a98 git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@7 b6966296-9315-0410-889a-8473bed30898 2006-06-06 20:50:26 +00:00
Hubert Pham 8708297677 git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@6 b6966296-9315-0410-889a-8473bed30898 2006-06-06 20:44:54 +00:00
Hubert Pham 21b317d655 initial import
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@5 b6966296-9315-0410-889a-8473bed30898
2006-06-06 20:00:43 +00:00
Hubert Pham a572e25ed6 adding pyaudio directory
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@4 b6966296-9315-0410-889a-8473bed30898
2006-06-06 19:55:50 +00:00
Hubert Pham fe286ea4fc adding trunk
git-svn-id: https://svn.csail.mit.edu/pyaudio/trunk@1 b6966296-9315-0410-889a-8473bed30898
2006-06-06 19:54:49 +00:00