• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Analog audio crackling filter project.

Seems like it won't work on win7. CamillaDSP uses event driven mode.

From: https://learn.microsoft.com/en-us/windows/win32/coreaudio/loopback-recording
AH! Thanks Henriq. Wasn't really keen about loopback anyway. It's a dual boot system and the amount of reconfiguration involved is important.

Will continue to try to debug the current installation. I know it defies logic, the system looks like it's possessed or haunted but whenever I reinstall from backup, I get different results depending in which order I reinstall the D1 / VAC drivers. A constant though: several programs relying on a default device stopped working until told (whenever possible) which specific one to use, usually Waveout or the VAC. No program relying on the default directsound device are working.
 
Windows 7 Update

And it's a disaster.

After reconfiguring CDSP for 24 bits instead of 16, I had the bad idea to delete from the registry an entry for the CMI8738 in the control panel that wouldn't disappear.
After a reboot, strange things started. VLC started playing stereo sounds on all 6 channels and required a reset. No sound came out of Media Player Classic. Games like Silent Hill 2 and 4 crashed on startup. In short, everything that didn't use Wasapi or Waveout now refused to use the VAC! DirectSound looks broken.

I tried everything: reconfiguring CDSP for 16 bits again, removing the ASUS card and putting the CMI8738 back, reinstalling the CMI8738 drivers and uninstalling them properly, putting the ASUS card back and reinstalling the drivers, reinstalling the VAC, reinstalling DirectX, doing a few passes of 'sfc /scannow' followed by 'DISM /Online /Cleanup-Image /ScanHealth'. Nothing would fix it.

To continue playing my games, I have to set the Asus sound card to default card. Which defeats the purpose. I keep Windows 7 for gaming only and now I'm back to square one. No CDSP that works for games.

If you have a solution, I'd be happy to explore it.
Hi,

Just a few words to tell you I have found the solution there https://documentation.help/Virtual-Audio-Cable/glossary.htm#SpeakerPinType. All that was needed is to tick the 'Enable spk pin' in the VAC control panel. Tested it. It survived a power down and a reboot. Kodi still works in 5.1 multichannel, VLC and Media Player Classic can use the default device again and Silent Hill 2 and 4 are able to access the VAC like they used to a week ago instead of crashing. I worked on this almost full time since oct 22.

Speaker pin type
WDM/KS drivers of most audio adapters provide KSNODETYPE_SPEAKER type for their playback pins. Such pin type allows to configure channel distribution with the "Configure" button of Windows Audio Properties Applet but System Audio Engine starting from Win 6.x always assigns the "Speakers" name for endpoints linked to these pins. If an audio adapter (real or virtual) has more than a single output line, it is impossible to distinguish them by name.

As a workaround, VAC uses KSNODETYPE_LINE_CONNECTOR for playback pins by default. It allows to use an unique name like "Line N" for each output line but does not allow to use system channel configuration features. Additionally, some channel processing problems may occur in applications using DirectSound.

To control playback pin type, use the "Enable spk pin" parameter in cable configuration section of VAC Control Panel.

Please note that enabling speaker pin type for some cables under Win 6.x causes playback endpoints of these cables to have the same "Speakers" name. Most audio applications distinguish between audio devices only by their names, not unique internal identifiers. Therefore, if you enable speaker pin types for two Virtual Cables and both these cables have the same "Speakers (Virtual Audio Cable)" name, audio application might confuse between these cables. Most probably an application will lose proper cable selection between running sessions.
 
Why should increasing bitwidth raise latency? I do not see any technical reason.
Could it be the REW FIR filters? To null latency in Kodi, I must delay the video 250 ms over audio to get sync.

Capture d’écran du 2024-11-11 20-05-29.png
 
Back
Top Bottom