eiz / SynchronousAudioRouter

Low latency application audio routing for Windows
http://sar.audio/
GNU General Public License v3.0
1.02k stars 136 forks source link

Error getChannels failed / ASIOGetChannels returned error code #7

Open Normalised opened 8 years ago

Normalised commented 8 years ago

In EnergyXT I get 2 dialogs 'Error getChannels failed' followed by a 'failed to create buffers' dialog. In Bitwig I get a dialog with 'ASIOGetChannels returned error code: Not present'

I've tried various buffer sizes (256,512,1024) with both 44.1k and 48k.

Windows 10 x64, testing in Energy XT and Bitwig running the apps as Administrator.

Soundcard is Hammerfall HDSP 9632.

I can get the main dialog to appear but the Hardware Interface dropdown only has 'None'.

I've also installed ASIO4All but its not made any difference.

stkfd commented 8 years ago

The error messages are telling you that the SAR driver reported no channels, which happens because no underlying ASIO driver is selected.

Have you installed the ASIO driver for your soundcard?

Asio4All should appear in the dropdown list though.

Normalised commented 8 years ago

Both the ASIO driver for my soundcard and ASIO4ALL are installed.

eiz commented 8 years ago

Can you open regedit and export the following keys please: HKEY_LOCAL_MACHINE\SOFTWARE\ASIO and HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ASIO

Normalised commented 8 years ago

Here you go.

ASIO_Reg.zip

eiz commented 8 years ago

Hm, that's rather odd. If you don't mind, please try the build attached below (open the SAR config dialog). It should create a log file under %APPDATA%\SynchronousAudioRouter when you run your DAW. If there's an error querying the available ASIO drivers, it should help to diagnose why. This is an x64 build.

SynchronousAudioRouter-20160512-debug.zip

Normalised commented 8 years ago

Can't see any log file, the SAR directory I have is under %APPDATA\Roaming\ and it just has the json config file in it.

I installed the new build and rebooted.

eiz commented 8 years ago

I guess it would help if I gave you the build with the proper debug version of the 32bit dll as well... sorry about that. The attached version should have the proper logging for 32bit apps as well now.

SynchronousAudioRouter-20160511-debug.zip

Normalised commented 8 years ago

So now I don't get any error notifications, but still nothing to choose from in the dialog. The log file says this

Log file created at: 2016/05/28 12:40:18
Running on machine: ASTRA
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0528 12:40:18.879758  8924 dllmain.cpp:35] Initializing SarAsio.
I0528 12:40:18.881759  8924 wrapper.cpp:33] SarAsioWrapper::SarAsioWrapper
I0528 12:40:18.881759  8924 wrapper.cpp:39] SarAsioWrapper::init
I0528 12:40:18.881759  8924 tinyasio.cpp:31] Querying installed ASIO drivers.
I0528 12:40:18.882761  8924 tinyasio.cpp:75] Found ASIO driver: ASIO Hammerfall DSP with CLSID {3CDDEFEF-CFC1-4c6a-9B64-0923CDB15ED5}
I0528 12:40:18.882761  8924 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560}
I0528 12:40:18.882761  8924 tinyasio.cpp:75] Found ASIO driver: FL Studio ASIO with CLSID {188135E1-7171-3434-854F-01A3C71F3DF9}
I0528 12:40:18.882761  8924 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21}
I0528 12:40:18.882761  8924 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259
I0528 12:40:18.882761  8924 wrapper.cpp:103] SarAsioWrapper::getChannels
I0528 12:40:18.882761  8924 wrapper.cpp:136] SarAsioWrapper::getBufferSize
I0528 12:40:18.882761  8924 wrapper.cpp:219] SarAsioWrapper::setSampleRate
I0528 12:40:18.882761  8924 wrapper.cpp:207] SarAsioWrapper::getSampleRate
I0528 12:40:18.882761  8924 wrapper.cpp:333] SarAsioWrapper::createBuffers(infos, 1, 64, callbacks)
I0528 12:40:18.882761  8924 wrapper.cpp:344] SarAsioWrapper::createBuffers: no inner driver, trying to create fake channels.
I0528 12:40:18.882761  8924 wrapper.cpp:123] SarAsioWrapper::getLatencies
I0528 12:40:18.882761  8924 wrapper.cpp:73] SarAsioWrapper::start
I0528 12:40:21.441372  8924 wrapper.cpp:535] SarAsioWrapper::controlPanel
I0528 12:40:21.441372  8924 tinyasio.cpp:31] Querying installed ASIO drivers.
I0528 12:40:21.441874  8924 tinyasio.cpp:75] Found ASIO driver: ASIO Hammerfall DSP with CLSID {3CDDEFEF-CFC1-4c6a-9B64-0923CDB15ED5}
I0528 12:40:21.441874  8924 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560}
I0528 12:40:21.441874  8924 tinyasio.cpp:75] Found ASIO driver: FL Studio ASIO with CLSID {188135E1-7171-3434-854F-01A3C71F3DF9}
I0528 12:40:21.442374  8924 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21}
I0528 12:40:21.442374  8924 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259
I0528 12:41:17.001297  8924 wrapper.cpp:91] SarAsioWrapper::stop
I0528 12:41:17.001297  8924 wrapper.cpp:504] SarAsioWrapper::disposeBuffers