Page 1 of 1

Strange question to help with our in house app development

Posted: 16 Dec 2016 17:29
by stavrosg
Let cut to the chase. VLC fixes our audio problems!!!

We have an in house hardware project which effectively boils down a USB audio device.

On Windows 10 Enterprise ONLY (flawless on pro), when we run our the associated app, the sound is garbled and reverberates.

I was going to use VLC to test the device, when i fluked off a crazy discovery.

Our app is running, playing a test tone. This tone sounds like crap. I execute VLC portable, the second I hit the icon the sound is clear. When i close VLC the reverberation and static return.

So my questions;

Is there some sort of releaxed security mode in 10 enterprise that kicks in when it detects a media product?

More importantly. Dev/Gurus, what does a vanilla 32bit vlc initialize on startup that would do this? Manifest of sorts?

Any help would be appreciated.

Stav

Re: Strange question to help with our in house app development

Posted: 19 Dec 2016 20:12
by stavrosg
Found it , you guys set the minimum mm timer resolution to 5ms with this call;

timeBeginPeriod(5);

Incorporated that into our code.

Re: Strange question to help with our in house app development

Posted: 19 Dec 2016 22:48
by RĂ©mi Denis-Courmont
Beware that timer behaviour on Windows seems highly dependent on the motherboard and BIOS settings. timeBeginPeriod() may only be the tip of the iceberg.