-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Bring back PortAudio support on Windows #4770
Conversation
Population of the PortAudio setup widget has been delayed until it is shown, as it was causing crashes on some systems.
Since the issue fixed is on Windows, if this needs testing maybe we should provide binaries? |
I will. |
Did a quick test on Linux, switching between Alsa, SDL and PortAudio, and I didn't see any differences in the behavior. |
PortAudio + Windows 10 x64 Testing. Hardware is Dell XPS 9333 13" Developer Edition. Sound card: Onboard Realtek High Definition Audio
Baseline comparison against SDL:
Side-note... the device selection is pretty unintuitive e.g. selecting recording devices for playback, etc. If PortAudio is re-enabled a new bug report should be opened for better playback device selection. |
I get the same results with choppy playback and inappropriate device options. Note however that this is the same behaviour as in 1.1.3, and this PR doesn't attempt to change that - the idea was just to bring back the existing PortAudio backend for Windows again. It definitely needs some work and a new bug report is the way to go. |
I tried and on my Windows 64 bits, MSI GP60 2QE Leopard, Realtek Audio Card, there is no way to use any settings of portaudio. If I use windows WASAPI, when I open again lmms the settings window pop up like there is a problem, and if I click OK and get to lmms window, there is no sound. I tried in Audacity and WASAPI seems to work properly, so I don't really understand what's going wrong. |
@T0NIT0RMX What if you replace the PortAudio dll with Audacity's one? |
@PhysSong Audacity doesn't seems to have a portaudio dll, or I can't find it |
@T0NIT0RMX Can you test libportaudio-2.dll from @tobydox's newer PPA? |
@PhysSong Same results. |
@T0NIT0RMX How does older versions of lmms work? Like 1.1.3 or 1.2.0 before we removed portaudio? |
Since we're not getting much test data back I think we should merge this PR and release rc8. |
Agreed. |
OK, merging! @T0NIT0RMX I'm still curious about how portaudio worked under your machine with older versions of lmms. See my comment above. |
@zonkmachine sorry for the delay I've been busy ! I'll let you know |
Population of the PortAudio setup widget has been delayed until it is shown, as it was causing crashes on some systems.
Fixes #4465.
Note that this does not fix the PortAudio crashes, but prevents them occurring at startup by not initialising PortAudio until it is chosen in the audio interface menu.