-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add python-sounddevice and set it the default audio library #69
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for the contribution!
Could you please fix the CI failures?
https://github.com/romanz/amodem/actions/runs/7413654726/job/20175146678?pr=69#step:5:16
Should be good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also squash the commits.
amodem/__main__.py
Outdated
@@ -234,9 +235,12 @@ def interface_factory(): | |||
import pylab # pylint: disable=import-error,import-outside-toplevel | |||
args.pylab = pylab | |||
|
|||
if args.audio_library == 'ALSA': | |||
if args.audio_library == 'alsa': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the old value (for compatibility)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can but the ALSA option wasn't even documented before...
1baa87c
to
feb9924
Compare
feb9924
to
5342fae
Compare
This adds support for the python-sounddevice audio library (and makes it the default) which makes amodem work out-of-the-box on Linux, Windows and MacOS.