Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutputAudioDevice #9

Open
wants to merge 35 commits into
base: feature/generators
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
366736a
install portaudio19-dev via apt
mberz Nov 2, 2022
d0c1dca
AudioDevice base class
mberz Mar 31, 2023
49baf2a
OutputAudioDevice class implementation
mberz Mar 31, 2023
a288342
add tests
mberz Mar 31, 2023
47fda87
utils module for tests
mberz Mar 31, 2023
76bed3a
clean up
mberz Mar 31, 2023
56fc6ae
add portaudio to circleci
mberz Mar 31, 2023
d4eefd3
fix multiple buffer stub
mberz Mar 31, 2023
e53ba7e
remove input device related tests
mberz Mar 31, 2023
e818048
simple callback tests
mberz Apr 3, 2023
8942b61
don't run physical tests on circleci
mberz Apr 3, 2023
8e0a796
add tests for setting the block size
mberz Apr 4, 2023
68f4247
sampling rate setter tests
mberz Apr 4, 2023
4ec165f
fix case typo
mberz Apr 4, 2023
9c714da
buffer_size setter/getter
mberz Apr 5, 2023
cf7600f
Add Focusrite USB ASIO
twennemann May 5, 2023
b921821
Update test_devices_physical.py
twennemann May 16, 2023
9f0b8d0
Physical Device Tests
twennemann May 17, 2023
9cbd3a7
sample_rate setter
twennemann May 17, 2023
20790ea
Merge pull request #12 from pyfar/output_device_tests
mberz Sep 29, 2023
4c1b04a
Sampling_rate setter Output Device
twennemann Oct 4, 2023
57835ee
Merge branch 'feature/output_device' of https://github.com/pyfar/haio…
twennemann Oct 4, 2023
ee3001f
Resolve merging mistake
twennemann Oct 4, 2023
ee51ac7
Merge branch 'feature/generators' into feature/output_device
twennemann Oct 4, 2023
deeff8b
sampling_rate + block_size setter + tests
twennemann Oct 4, 2023
5e0bb17
update
twennemann Oct 4, 2023
8559b8a
identifier setter
twennemann Oct 4, 2023
70e9356
Channel and dtype setter
twennemann Oct 4, 2023
0b90997
initialize _stream_block_out
twennemann Oct 9, 2023
4067605
Test Setter
twennemann Oct 9, 2023
32c15b4
Revice sample_rate & block_size setter
twennemann Oct 10, 2023
365b0c6
revice sampling_rate setter
twennemann Oct 10, 2023
1803598
documentation
twennemann Oct 10, 2023
5f16dbe
Merge pull request #5 from pyfar/feature/generators
mberz Nov 3, 2023
4fcf21e
Merge branch 'develop' into feature/output_device
mberz Nov 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- checkout
- run:
name: Install System Dependencies
command: sudo apt-get update && sudo apt-get install -y libsndfile1
command: sudo apt-get update && sudo apt-get install -y libsndfile1 portaudio19-dev
- python/install-packages:
pkg-manager: pip
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- checkout
- run:
name: Install System Dependencies
command: sudo apt-get update && sudo apt-get install -y libsndfile1 texlive-latex-extra dvipng
command: sudo apt-get update && sudo apt-get install -y libsndfile1 portaudio19-dev texlive-latex-extra dvipng
- python/install-packages:
pkg-manager: pip
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
Expand All @@ -107,7 +107,7 @@ jobs:
- checkout
- run:
name: Install System Dependencies
command: sudo apt-get update && sudo apt-get install -y libsndfile1
command: sudo apt-get update && sudo apt-get install -y libsndfile1 portaudio19-dev
- python/install-packages:
pkg-manager: pip
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,3 @@ ENV/

# IDE settings
.vscode/

# workaround for failing test discovery in vscode
tests/private/
tests/private/Haiopy_test.py
private
5 changes: 4 additions & 1 deletion haiopy/buffers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ def _stop(self, msg="Buffer iteration stopped."):
"""Stop buffer iteration and set the state to inactive."""
self._is_active.clear()
self._is_finished.set()
raise StopIteration(msg)
if msg is None:
pass
else:
raise StopIteration(msg)

def _start(self):
"""Set the state to active.
Expand Down
Loading