Update VA[...]SourceComponent authored by Jonathan Ehret's avatar Jonathan Ehret
This is the sound source component simulating a sound source and its reflections by the FAReflectionWalls on the VAServer
This is the sound source component simulating a sound source that is attached to an actor in the world.
There are different implementations for this, e.g., one for playing audio files: ``VAAudiofileSourceComponent``
As modelled in VA these sound sources each hold a signal source, which is the actual signal to be played, so for example the ``VAAudiofileSourceComponent`` has a ``VAAudiofileSignalSource`` which is the interface to the actual signal to be played an holds more functionality than that available in the sound source itself.
If you want to play audiofiles, you can store them somewhere in your Content folder (just make sure that this folder is marked in ``DirectoriesToAlwaysStageAsNonUFS`` when packaging your application). At runtime the files are then copied over to the VAServerLauncher (the first time, or when they changed). This together with loading them into memory creates a short delay, so make sure to preload all audiofiles for each soundsource it is used on by setting them or using ``UVAAudiofileSignalSource::PreLoadAudiofile()``.
## Editor Interface
**This list might not be up to date, so also check the headers for more information**
**General Settings**
* Sound Name:
* File of the sound *(either relative to the Unreal Content folder (**recommended**, when using VAServerLauncher) or relative to the VAServer data folder)*
......@@ -106,5 +115,3 @@ This is the sound source component simulating a sound source and its reflections
**For more information checkout the header file and comments there.**
**Also look at specific implementations of sound sources, for example the ``UVAAudiofileSoundSource`` holds a ``UVAAudiofileSignalSource`` which can be accessed and provides more possibilities to control replay.
\ No newline at end of file