Open chriship opened 5 years ago
Hey, have you figured this out? I'm having a similar problem.
I never managed to get time to look into it unfortunatley. I just removed the soundcard in the end.
Well, I couldn't get this addon working, but for a Windows alternative there's:
https://github.com/UltraCombos/ofxDSHapVideoPlayer
To convert .mov files to hap .avis, I used this guide
and followed the instructions for VirtualDub. Note that for a lot of input files you'll need this plugin for VirtualDub:
https://sourceforge.net/projects/virtualdubffmpeginputplugin/
Hello, I am not getting audio working on Windows neither.
Anybody knows what's the recommended approach to do?
A parallel sound player? Must switch to ofxDSHapVideoPlayer breaking macOS?
Regards.
For those who encounter a similiar problem on Windows, the issue is likely caused by ofSoundStreamSettings.
Try to modify ofxHapPlayer.cpp
on line 1003:
auto devices = _soundStream.getDeviceList(ofSoundDevice::Api::MS_DS);
and line 1041:
settings.setApi(ofSoundDevice::Api::MS_DS);
This works for me.
@bangnoise would it be possible to have an extra argument for ofSoundStreamSettings
so that users can override the default settings without modifying ofxHapPlayer.cpp
?
I have a project that is playing back some Hap files with audio. All is fine with the inbuilt sound card however, when I install the MOTU soundcard drivers (which install ASIO drivers), my app crashes when the videos are loaded. Even when the soundcard is not plugged in.
Is this a known issue with a solution?