Commit Graph

3 Commits

Author SHA1 Message Date
Matthew Griffin
98a1cdce0f Added Structs to store streamed audio chunks for runtime streaming or in DDC.
Followed pattern set out by texture streaming so that each chunk of audio data resides in its own bulkdata struct. It is currently possible to split audio into chunks when SoundWaves are marked for streaming but there is no way of doing this exposed at present.
Changed the parameters of FAudioDevice::GetRuntimeFormat so that the relevant SoundWave must be passed in, to allow for different formats for individual sounds/streaming options.
USoundWave::FreeResources no longer resets the NumChannels as it is unnecessary and causes sounds to be unable to play after the OGG data is flushed when attempting to switch to OPUS.

[CL 2099012 by Matthew Griffin in Main branch]
2014-06-09 11:13:16 -04:00
Ankit Khare
ec92951cff #UE4 #HTML5 TTP: 50534 Audio broken for HTML5 in main.
- catch up with changes in core Audio ( add relevant virtual functions ).
       - clean up logging.

#codereview peter.sauerbrei

[CL 2086334 by Ankit Khare in Main branch]
2014-05-29 17:19:43 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00