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

Audio Output - audio is stretched/compressed and audio playback sometimes stops #47

Closed
DSheirer opened this issue Jan 18, 2016 · 1 comment
Assignees
Milestone

Comments

@DSheirer
Copy link
Owner

Mono and Stereo audio outputs are not replaying audio correctly. Audio buffers are overlapping and causing the audio to sound warbly/stretched/compressed/underwater.

The issue appears to be with the SourceDataLine.write() method which is supposed to block when attempting to write more audio data than the line can consume. It appears that the line is wrapping the extra audio data around in the buffer causing overwriting of audio data.

@DSheirer DSheirer self-assigned this Jan 18, 2016
@DSheirer DSheirer added this to the Build 0.2.0 milestone Jan 18, 2016
DSheirer added a commit that referenced this issue Jan 18, 2016
@DSheirer
Copy link
Owner Author

Issue is resolved.

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

No branches or pull requests

1 participant