Correct way to play mediaplayer audio in 4.18?
So in 4.17 I was using audio with mediaplayer like so:
In 4.18 Runtime/MediaAssets/Public/MediaSoundWave.h doesn't exist anymore. How should I be coding something similar after the update?
Also is there anywhere but release notes I can get more in depth info on what has changed with regards to code in the update?
asked Oct 25 '17 at 06:41 PM in C++ Programming
Ok I think I figured out my issue. First you do need to create an AActor, place it in the level, and add the MediaSoundComponent. With this I was getting errors trying to include MediaSoundComponent.h however I found it was only in one file.
Tracked down the error to when I include windows.h/stdio.h which I was using to get drive paths. I'll now have to find out how to do that.
Is it still possible to create an Audio sound asset from MediaPlayer in 4.18?
answered Nov 11 '17 at 12:40 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here