Skip to content

Commit 09ca7b8

Browse files
committed
Version UP
1 parent 5177979 commit 09ca7b8

4 files changed

Lines changed: 30 additions & 5 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This fork will allow you to use the WASAPI device as loopback using **PyAudio**.
1515

1616
</div>
1717

18-
<br /><br /><br /><br />
18+
<br /><br />
1919

2020
## For whom?
2121

@@ -39,7 +39,8 @@ The Windows Audio Session API ([WASAPI](https://docs.microsoft.com/en-us/windows
3939
```bash
4040
pip install PyAudioWPatch
4141
```
42-
> Wheels are currently only available for Windows x64 Python 3.{6,7,8,9,10,11}. I will try to add x32 before 09/11/22
42+
> Wheels are available for **Windows**, Python *3.{7,8,9,10,11}*.<br />
43+
> All wheels support APIs: WMME, WASAPI, DirectX(DSound).
4344
4445
### In code
4546

@@ -125,6 +126,14 @@ The following were taken as a basis:
125126
```
126127
- ???
127128
- Profit.
129+
130+
Also you can build wheel**s**:
131+
- `pip install cibuildwheel`
132+
- Run in Cygwin:
133+
```bash
134+
./cygwin_cibuildwheel_build.sh
135+
```
136+
- Get your wheels in the `./wheelhouse` folder
128137

129138
---
130139

src/pyaudiowpatch/__init__.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@
2222
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2323

2424

25+
# PyAudioWPatch : PortAudio fork with WASAPI loopback support
26+
27+
# Copyright (c) 2022 S0D3S
28+
#
29+
# Licensed under the Apache License, Version 2.0 (the "License");
30+
# you may not use this file except in compliance with the License.
31+
# You may obtain a copy of the License at
32+
#
33+
# http://www.apache.org/licenses/LICENSE-2.0
34+
#
35+
# Unless required by applicable law or agreed to in writing, software
36+
# distributed under the License is distributed on an "AS IS" BASIS,
37+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38+
# See the License for the specific language governing permissions and
39+
# limitations under the License.
40+
2541
"""
2642
PyAudio provides Python bindings for PortAudio, the cross-platform
2743
audio I/O library. With PyAudio, you can easily use Python to play and
@@ -106,7 +122,7 @@
106122
"""
107123

108124
__author__ = "Hubert Pham(S0D3S edition)"
109-
__version__ = "0.2.12.1"
125+
__version__ = "0.2.12.5"
110126
__docformat__ = "restructuredtext en"
111127

112128
import locale

tests/error_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import time
44
import unittest
55

6-
import pyaudio
6+
import pyaudiowpatch as pyaudio
77

88
# To skip tests requiring hardware, set this environment variable:
99
SKIP_HW_TESTS = 'PYAUDIO_SKIP_HW_TESTS' in os.environ

tests/pyaudio_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
import numpy
2525

26-
import pyaudio
26+
import pyaudiowpatch as pyaudio
2727

2828
# To skip tests requiring hardware, set this environment variable:
2929
SKIP_HW_TESTS = 'PYAUDIO_SKIP_HW_TESTS' in os.environ

0 commit comments

Comments
 (0)