| 52 | } |
| 53 | |
| 54 | IWave* SoundSystemText::CreateWave(const char* filename, bool is3D, bool prealloc) |
| 55 | { |
| 56 | LOG_DEBUG(Audio, "[AudioText] CreateWave(filename='{}', is3D={}, prealloc={})", filename, is3D, prealloc); |
| 57 | |
| 58 | float duration = GetWaveDuration(filename); |
| 59 | WaveText* wave = new WaveText(RString(filename), duration); |
| 60 | wave->Set3D(is3D); |
| 61 | |
| 62 | return wave; |
| 63 | } |
| 64 | |
| 65 | void SoundSystemText::SetListener(Vector3Par pos, Vector3Par vel, Vector3Par dir, Vector3Par up) |
| 66 | { |
no test coverage detected