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

catch PortAudioError #3

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

dip-c
Copy link

@dip-c dip-c commented Aug 7, 2024

Hi,

I had a problem running Neon Player on a Windows server machine where no sound card was installed, see https://discord.com/channels/285728493612957698/1047111711230009405/1246075184994320384. This PR fixes the application crashing when no sound device is installed. It works for me now when I am running from source.

This fixes the application crashing when no sound device is installed (e.g. on a server).

logger.warning("Audio device could not be started")
logger.debug(traceback.format_exc())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very reasonable addition, and if it fixes your problem, I'm happy to merge :)

Can I just ask for one extra line feed to separate the next function?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback, here you go!

@domstoppable domstoppable merged commit 3395ede into pupil-labs:master Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants