I’m working on Unity/Windows, and would like to use the mic from an Asio device.
So far, I’m doing something similar to what’s on this question:
With the difference that just before the init, I set up the Asio device.
system.setOutput(FMOD.OUTPUTTYPE.ASIO); system.setDriver(deviceId); system.setDSPBufferSize(dspBufferSize, dspBuffersCount);
If I leave out the first line and select a “normal” (non-Asio) mic, it works fine.
If I add the first line, I’m always getting 0 from getRecordPosition. There doesn’t seem to be any errors thrown, and isRecording is returning true.
Is there anything else that needs to be set up to use the mic from an Asio Device? Or any suggestion on how to troubleshoot this?
(I’ll try to clean up and upload a bigger part of the code, if it’s helpful)
By the way, I tested the device in OBS (using this plugin: GitHub - Andersama/obs-asio: ASIO plugin for OBS-Studio) and it seems to be working fine there, so I’m guessing there are no issues with the drivers or hardware.