Open makupi opened 6 years ago
Unfortunately I haven't had any time to work on SAR in quite a while, but you may be able to find some clue by setting SAR_ASIO_LOG environment variable to 1 in your system environment variables. It will write logs to %APPDATA%\SynchronousAudioRouter
I'll try it as soon as i get home, thanks!
Interesting. Logs show the following:
E0628 18:14:31.670826 8872 wrapper.cpp:400] Invalid buffer size: larger than system audio engine periodicity
I changed the Sample size now from 512 to 128 and it's suddenly working.
The yamaha/steinberg ASIO driver directly with 512 sample size works though.
Just to mention, log will be also written if the variable is added to the user environment variables.
Same issue, Reaper is running as admin, set the Yamaha ASIO is set to standard mode, 128 samples buffer. Getting this in the logs: Couldn't enable registry filter
Info log: Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg I0504 09:11:10.621328 788 dllmain.cpp:43] Initializing SarAsio. I0504 09:11:10.622326 788 wrapper.cpp:33] SarAsioWrapper::SarAsioWrapper I0504 09:11:10.623324 788 wrapper.cpp:39] SarAsioWrapper::init I0504 09:11:10.623324 788 tinyasio.cpp:31] Querying installed ASIO drivers. I0504 09:11:10.623822 788 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560} I0504 09:11:10.625819 788 tinyasio.cpp:75] Found ASIO driver: FlexASIO with CLSID {462F2ABF-5278-436A-95B6-72CBF65482AE} I0504 09:11:10.626318 788 tinyasio.cpp:75] Found ASIO driver: ReaRoute ASIO (x64) with CLSID {9761988D-FB5D-4258-9AE4-0B99B5D5FD33} I0504 09:11:10.626318 788 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21} I0504 09:11:10.626318 788 tinyasio.cpp:75] Found ASIO driver: Yamaha Steinberg USB ASIO with CLSID {CB7F9FFD-A33B-48B2-8BC0-437D94F37142} I0504 09:11:10.626318 788 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259 I0504 09:11:11.826647 788 wrapper.cpp:52] Sample type: 18, sample size: 4 I0504 09:11:11.826647 788 wrapper.cpp:59] SarAsioWrapper::getDriverName I0504 09:11:11.826647 788 wrapper.cpp:65] SarAsioWrapper::getDriverVersion I0504 09:11:11.826647 788 wrapper.cpp:225] SarAsioWrapper::setSampleRate I0504 09:11:11.826647 788 wrapper.cpp:109] SarAsioWrapper::getChannels I0504 09:11:11.827145 788 wrapper.cpp:142] SarAsioWrapper::getBufferSize I0504 09:11:11.827145 788 wrapper.cpp:213] SarAsioWrapper::getSampleRate I0504 09:11:11.827145 788 wrapper.cpp:213] SarAsioWrapper::getSampleRate I0504 09:11:11.827145 788 wrapper.cpp:323] SarAsioWrapper::createBuffers(infos, 2, 128, callbacks) I0504 09:11:11.827145 788 wrapper.cpp:418] Creating inner driver buffers. Count: 2 BufferSize: 128 Callbacks: 0000000009BB9FD8 SampleType: 18 SampleSize: 4 I0504 09:11:11.827145 788 wrapper.cpp:426] ChannelInfo: buffer[0]: 0000000000000000 buffer[1]: 0000000000000000 index: 0 isInput: 1 I0504 09:11:11.827145 788 wrapper.cpp:426] ChannelInfo: buffer[0]: 0000000000000000 buffer[1]: 0000000000000000 index: 0 isInput: 0 I0504 09:11:12.413529 788 wrapper.cpp:548] SarAsioWrapper::future I0504 09:11:12.413529 788 wrapper.cpp:225] SarAsioWrapper::setSampleRate I0504 09:11:12.413529 788 wrapper.cpp:129] SarAsioWrapper::getLatencies I0504 09:11:12.413529 788 wrapper.cpp:77] SarAsioWrapper::start I0504 09:11:12.414528 788 mmwrapper.cpp:113] Initializing SarMMDeviceEnumerator. I0504 09:11:12.415028 788 mmwrapper.cpp:126] Initialized SarMMDeviceEnumerator. I0504 09:11:12.415028 788 mmwrapper.cpp:301] SarMMDeviceEnumerator::RegisterEndpointNotificationCallback E0504 09:11:12.432493 788 sarclient.cpp:209] Couldn't enable registry filter I0504 09:11:25.533565 788 wrapper.cpp:95] SarAsioWrapper::stop I0504 09:11:25.533565 788 mmwrapper.cpp:313] SarMMDeviceEnumerator::UnregisterEndpointNotificationCallback I0504 09:11:25.545804 788 wrapper.cpp:497] SarAsioWrapper::disposeBuffers I0504 09:11:25.546311 788 wrapper.cpp:95] SarAsioWrapper::stop I0504 09:11:25.758189 788 wrapper.cpp:33] SarAsioWrapper::SarAsioWrapper I0504 09:11:25.758688 788 wrapper.cpp:39] SarAsioWrapper::init I0504 09:11:25.758688 788 tinyasio.cpp:31] Querying installed ASIO drivers. I0504 09:11:25.759188 788 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560} I0504 09:11:25.759188 788 tinyasio.cpp:75] Found ASIO driver: FlexASIO with CLSID {462F2ABF-5278-436A-95B6-72CBF65482AE} I0504 09:11:25.759188 788 tinyasio.cpp:75] Found ASIO driver: ReaRoute ASIO (x64) with CLSID {9761988D-FB5D-4258-9AE4-0B99B5D5FD33} I0504 09:11:25.759686 788 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21} I0504 09:11:25.759686 788 tinyasio.cpp:75] Found ASIO driver: Yamaha Steinberg USB ASIO with CLSID {CB7F9FFD-A33B-48B2-8BC0-437D94F37142} I0504 09:11:25.759686 788 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259 I0504 09:11:26.895817 788 wrapper.cpp:52] Sample type: 18, sample size: 4 I0504 09:11:26.895817 788 wrapper.cpp:59] SarAsioWrapper::getDriverName I0504 09:11:26.895817 788 wrapper.cpp:65] SarAsioWrapper::getDriverVersion I0504 09:11:26.895817 788 wrapper.cpp:109] SarAsioWrapper::getChannels I0504 09:11:31.849972 788 wrapper.cpp:33] SarAsioWrapper::SarAsioWrapper I0504 09:11:31.850473 788 wrapper.cpp:39] SarAsioWrapper::init I0504 09:11:31.850473 788 tinyasio.cpp:31] Querying installed ASIO drivers. I0504 09:11:31.850473 788 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560} I0504 09:11:31.850970 788 tinyasio.cpp:75] Found ASIO driver: FlexASIO with CLSID {462F2ABF-5278-436A-95B6-72CBF65482AE} I0504 09:11:31.850970 788 tinyasio.cpp:75] Found ASIO driver: ReaRoute ASIO (x64) with CLSID {9761988D-FB5D-4258-9AE4-0B99B5D5FD33} I0504 09:11:31.850970 788 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21} I0504 09:11:31.851469 788 tinyasio.cpp:75] Found ASIO driver: Yamaha Steinberg USB ASIO with CLSID {CB7F9FFD-A33B-48B2-8BC0-437D94F37142} I0504 09:11:31.851469 788 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259 I0504 09:11:32.981930 788 wrapper.cpp:52] Sample type: 18, sample size: 4 I0504 09:11:32.981930 788 wrapper.cpp:59] SarAsioWrapper::getDriverName I0504 09:11:32.981930 788 wrapper.cpp:65] SarAsioWrapper::getDriverVersion I0504 09:11:32.981930 788 wrapper.cpp:530] SarAsioWrapper::controlPanel I0504 09:11:32.981930 788 tinyasio.cpp:31] Querying installed ASIO drivers. I0504 09:11:32.982429 788 tinyasio.cpp:75] Found ASIO driver: ASIO4ALL v2 with CLSID {232685C6-6548-49D8-846D-4141A3EF7560} I0504 09:11:32.982429 788 tinyasio.cpp:75] Found ASIO driver: FlexASIO with CLSID {462F2ABF-5278-436A-95B6-72CBF65482AE} I0504 09:11:32.982928 788 tinyasio.cpp:75] Found ASIO driver: ReaRoute ASIO (x64) with CLSID {9761988D-FB5D-4258-9AE4-0B99B5D5FD33} I0504 09:11:32.982928 788 tinyasio.cpp:75] Found ASIO driver: Synchronous Audio Router with CLSID {0569D852-1F6A-44A7-B7B5-EFB78B66BE21} I0504 09:11:32.982928 788 tinyasio.cpp:75] Found ASIO driver: Yamaha Steinberg USB ASIO with CLSID {CB7F9FFD-A33B-48B2-8BC0-437D94F37142} I0504 09:11:32.982928 788 tinyasio.cpp:80] Done querying ASIO drivers. Status: 259
Hello,
i'm having issues getting SAR to run with my Steinberg UR12 Interface (Using the Steinberg/Yamaha ASIO driver). In Reaper it works fine to use the ASIO driver directly, but as soon as i select SAR and then within SAR the ASIO driver i get an error message saying "Error initializing ASIO driver".
I tried the ASIO4All driver aswell which works fine together with SAR, but with this one I get a weird crackling sound.
Are there any logs that I can post for detailed information?