Forum Discussion
am-Rory
4 years agoHonored Guest
Using Oculus Lipsync in live mode (OVRLipSync Actor Component)
Hey there! I recently started looking at Oculus Lipsync for Unreal engine. I have downloaded the demo project with the plugin and got it working with 4.27. I have had a look around the demo proj...
steve.cox.7946
4 years agoHonored Guest
4.26 seems to work with the existing demo
4.27 errors with:
LogVoiceCapture: Warning: No voice capture device Default Device found.
LogOvrLipSync: Error: Can't create voice capture.
So I am running into the same problem. I am thinking of moding the code so one can "Select" the voice capture device since it is hard coded.
Steve
am-Rory
4 years agoHonored Guest
Hey Steve!
After posting this I kept playing around for a couple days and *think* I have a solution. I don't know how efficient, safe or long-lasting this solution is because this is the first time I've needed to alter any cpp for my project. Your solution allowing you to select a voice capture device sounds much better then what I have - but here's what I did so far.
In this directory of my projects OVR plugin: "projectname\Plugins\OVRLipSync\Source\OVRLipSync\Private"
I edited the "OVRLipSyncLiveActorComponent.cpp" file.
You were right about it not detecting a default device and then pooping itself.
after the includes at the top of this file it used to read
#ifndef DEFAULT_DEVICE_NAME
#define DEFAULT_DEVICE_NAME TEXT("Default Device")
#endif
I then removed the #ifndef and #endif and changed it to this
#define DEFAULT_DEVICE_NAME TEXT("")
I'm not sure if I needed to remove the #ifndef and #endif - I think the ("Default Device") is what was messing it up. After recompiling the source code of my project it seems to just detect my windows default input device now. Like I said a solution like yours would be better allowing to set what device you want but I don't know how I would go about doing that.. best of luck!!
- steve.cox.79464 years agoHonored Guest
Very cool !!! Thanks for taking the time to fix this. I just started recompiling the OVR examples and making changes, so I may take a stab at adding a property to the component the lets one add text for the device.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device