JavaFX audio "BUZZ" when video starts - audio

I'm using JavaFX for creating a Video Player, and it's almost done.
But sometimes, when the video starts, its audio starts with an hard "BUZZ" sound.
I can't make you listen, but maybe there is someone who has already faced this problem.
Thanks in advance!

Finally i've found the cause of this issue...that was the Mac OSX environment, due to his codecs. I switched to windows and the problem never appeared again.

Related

Windows 11 plays a ringing sound every second as if i've added a USB Stick

My Windows 11 Machine is playing the same sound as if you'd add an USB Stick but every second. The reason for that seems to be that it shows my Motherboards Wireless Bluetooth Chip every second to be able to be dismountable. I have unfortunatelly not found anything on the internet. I'm assuming Better Joy for Cemu (which is a program i've installed for bluetooth controllers) is the reason for that. I had not had any previous issues until now. Unfortunatelly i alread removed the application and used the uninstall feature, which solved nothing. I already removed the bluetooth driver from the device manager (which solves it until i reinstall the original one from gigabyte).
it seemed to be not an windows related issue. I reinstalled windows, and the same thing happened.
then i unplugged my PSU, turned it off and waited 20 seconds. Restarted. Problem solved. :/

deployment of Linux program on Windows that needs audio recording

I've a python code with packages that only support Linux, and it requires audio recording as well. The code is expected to run on Windows for deployment.
I've tried 2 solutions for that:
1- Linux docker container, the container works on Windows without any problem, but it couldn't record audio (it couldn't see the microphone and it was producing alsa errors). I tried many solutions that include PulseAudio, but none could solve the problem.
2- WSL/WSL2, the code works and it didn't show any error. I can play audio in WSL and hear it from my headphones, but I couldn't record anything from my microphone. I tried many solutions as well but none works for me (solutions with PulseAudio).
Do you have any suggestions or any solutions for the problems above that you have tested yourself?
Thank you,
I resolved the problem...
1- For PULSE_SERVER, export the ip of your computer not 127.0.0.1.
2- Set the variable record to 1 instead of 0 in module-waveout.

Is there any solution for Ubuntu-18.04 sound problem?

I am new with Ubuntu. I installed Ubuntu on my computer and some time after, sound was gone. I tried some methods which explained in forums but i can't solve problem. Than i setup Ubuntu again. First 6 hour, there was no problem with sound but it gone again.
Is there any solution for this problem?
Solution is just putting the computer to sleep and waking it up again, and the problem will solve. Solution is at link below.
https://askubuntu.com/questions/955065/no-sound-on-ubuntu-windows-dual-boot/1016960#1016960

How to fix tearing in Qt Quick app with Qt 5.9.1?

My app is having tearing problems when I scroll fast horizontally. Normally I'd just enable vsync, but I don't know how to do that in Qt. The tearing is occurring on my dev PC which runs Linux with a X-server, but it will also need to work well on the target system which is either Android or Linux+EGLFS.
One google result was from the Qt4 era and said that the tearing will be gone in Qt 5. But apparently it isn't.
Many google results are about env vars for embedded linux systems, such as QT_QPA_EGLFS_FORCEVSYNC, but I'd prefer the solution to work for my dev PC as well.
One google result said that vsync being enabled/disabled depends on the renderloop in use. I don't override the renderloop, so, since I'm on linux, I think I'm using the threaded renderloop.
Here's a bugreport about nvidia binary drivers causing this.
https://bugreports.qt.io/browse/QTBUG-45480
I too am using those drivers, so this may be it - just a driver bug. If so, at least it's unlikely to happen on my target hardware (I still haven't tested there), so that's good.

Is loading a video in a browser multithreaded?

It's hard to know what is multithreaded in a browser and what isn't. It seems while a video streams or progressively downloads, it does not affect page performance, so my guess it is.
Note I'm using Flash video, but it's really about video in general. Any other tips on what else is multithreaded (image loads?) is also helpful. I know JavaScript is not, and I thought Flash wasn't but I heard somewhere that it may be (or it could be done), but I think they were not well informed.
flash wmode parameter controls which mode should be used. transparent runs in browser's application domain, and "window" runs as a separate flash player process drawing on width height and x&y specified by browser.
It's platform and implementation specific. With flash on the MacOS 64 bit (sorry I only know my win platform) flash runs in its own process, so definitely multithreaded. Chrome also runs all plugins on a separate thread.

Resources