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

AudioOutput - Couldn't obtain source data line for audio output (Error) #2006

Closed
DSheirer opened this issue Oct 6, 2024 · 0 comments · Fixed by #2011
Closed

AudioOutput - Couldn't obtain source data line for audio output (Error) #2006

DSheirer opened this issue Oct 6, 2024 · 0 comments · Fixed by #2011
Assignees
Labels

Comments

@DSheirer
Copy link
Owner

DSheirer commented Oct 6, 2024

sdrtrunk Version

master.

Describe the bug

#1915 added a fix for AudioOutput to detect when the audio output was failing to accept more audio bytes and everything else looked normal. The fix was to stop the audio device and reopen it.

This seems to have started after the update to JDK22 (#1955) and seems to continue with the update to current JDK23 (#1985)

Another user is now reporting that the application log is getting spammed with source data line not available exceptions.

Create a test branch that recreates the mOutput source data line from the mixer to see if this clears the issue.

Screenshots
image

@DSheirer DSheirer added the bug label Oct 6, 2024
@DSheirer DSheirer self-assigned this Oct 6, 2024
@DSheirer DSheirer changed the title AudioOutput Error - SourceDataLine Not Available AudioOutput - Couldn't obtain source data line for audio output (Error) Oct 6, 2024
DSheirer pushed a commit that referenced this issue Oct 6, 2024
…when it detects that the line no longer accepts audio byte data.
DSheirer added a commit that referenced this issue Oct 13, 2024
…when it detects that the line no longer accepts audio byte data. (#2011)

Co-authored-by: Dennis Sheirer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant