Skip to content

Commit

Permalink
Version UP
Browse files Browse the repository at this point in the history
  • Loading branch information
s0d3s committed Sep 9, 2022
1 parent 5177979 commit 09ca7b8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This fork will allow you to use the WASAPI device as loopback using **PyAudio**.

</div>

<br /><br /><br /><br />
<br /><br />

## For whom?

Expand All @@ -39,7 +39,8 @@ The Windows Audio Session API ([WASAPI](https://docs.microsoft.com/en-us/windows
```bash
pip install PyAudioWPatch
```
> 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
> Wheels are available for **Windows**, Python *3.{7,8,9,10,11}*.<br />
> All wheels support APIs: WMME, WASAPI, DirectX(DSound).
### In code

Expand Down Expand Up @@ -125,6 +126,14 @@ The following were taken as a basis:
```
- ???
- Profit.

Also you can build wheel**s**:
- `pip install cibuildwheel`
- Run in Cygwin:
```bash
./cygwin_cibuildwheel_build.sh
```
- Get your wheels in the `./wheelhouse` folder

---

Expand Down
18 changes: 17 additions & 1 deletion src/pyaudiowpatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


# PyAudioWPatch : PortAudio fork with WASAPI loopback support

# Copyright (c) 2022 S0D3S
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
PyAudio provides Python bindings for PortAudio, the cross-platform
audio I/O library. With PyAudio, you can easily use Python to play and
Expand Down Expand Up @@ -106,7 +122,7 @@
"""

__author__ = "Hubert Pham(S0D3S edition)"
__version__ = "0.2.12.1"
__version__ = "0.2.12.5"
__docformat__ = "restructuredtext en"

import locale
Expand Down
2 changes: 1 addition & 1 deletion tests/error_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import time
import unittest

import pyaudio
import pyaudiowpatch as pyaudio

# To skip tests requiring hardware, set this environment variable:
SKIP_HW_TESTS = 'PYAUDIO_SKIP_HW_TESTS' in os.environ
Expand Down
2 changes: 1 addition & 1 deletion tests/pyaudio_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import numpy

import pyaudio
import pyaudiowpatch as pyaudio

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

0 comments on commit 09ca7b8

Please sign in to comment.