OpenShot / libopenshot-audio

OpenShot Audio Library (libopenshot-audio) is a free, open-source project that enables high-quality editing and playback of audio, and is based on the amazing JUCE library.
http://www.openshot.org
GNU General Public License v3.0
253 stars 100 forks source link

I don't hear five test tones #130

Closed adiantek closed 2 years ago

adiantek commented 3 years ago

I added .exe to upload-artifacts directly from your repo, added zlib1, libwinpthread, libstdc++, etc. from OpenShot lib directory and I don't hear anything. I don't see app in mixer, too.

ferdnyc commented 3 years ago

@adiantek

From your report, I'm guessing you're on Windows? The test tool doesn't work on Windows, it was never really considered a priority to figure out why. My guess is that it has something to do with the default device either not being set, or being set wrong.

The testapp-details branch in my fork (https://github.com/ferdnyc/libopenshot-audio/) has added code to also display the default device parameters, in addition to the device probe. It works on Linux, I'm still setting up to build it on Windows. But that may shed some light.

Regardless, the short-short answer is, "That's expected, when running on Windows platforms."

adiantek commented 3 years ago

Thanks for letting me know about that. I compiled this to arm64 using MSVC (https://github.com/OpenShot/libopenshot-audio/compare/develop...adiantek:develop) and didn't hear anything, firstly I thought it's sth wrong with my modifications to arm64, then I tested on x64 and still didn't hear. So, I will try compile dependencies of libopenshot to arm64 in free time.

ferdnyc commented 3 years ago

Huh? Interesting.

I have now built and run that code on Windows, and as I suspected the issue is that no audio device is open. The interesting thing is that the device type being used by default is shown as "Windows Audio" -- a type for which no devices are discovered. (Presumably because the tool is built as a console program, not a Win32 binary.) JUCE, however, still defaults to WinAudio, and thus finds no device.

There may be a way to convince it to use DirectSound as the default type, which would presumably allow it to find a default device.

stale[bot] commented 2 years ago

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

We'd like to ask you to help us out and determine whether this issue should be reopened.

Thanks again for your help!