Commit Graph

3 Commits

Author SHA1 Message Date
Dan Oconnor
ff8f481e10 Modified fixes for PVS-Studio warnings, mostly adding comments to warnings that were disabled. A few reworked fixes where needed.
[CL 2507311 by Dan Oconnor in Main branch]
2015-04-09 16:42:44 -04:00
Aaron McLeran
30dc9897bb Removing accidental #pragma once from cpp files
[CL 2501739 by Aaron McLeran in Main branch]
2015-04-03 17:53:58 -04:00
Aaron McLeran
8f5104f646 Unreal Audio: Low level audio I/O
- First check in for new audio system
- Creation of new UnrealAudio module interface and implementation
- UnrealAudioDevice module interface (for platform-dependent audio device I/O)
- Intialize/Shutdown of new UnrealAudio module

- Windows WASAPI implementation of audio device interface
  - Support for querying audio devices
  - Support for streaming audio from input devices
  - Support for streaming audio to output devices
  - Support for mutliple output channels (up to 7.1 for now)

- Beginnings of XAudio2 implementation of audio device interface

- A bunch of unit tests testing audio input/output streaming

- A commandlet to run said unit tests
  - To run commandlet use "[UE4Editor executable] -command UnrealEd.AudioTestCommandlet [arguments]"
  - arguments to use (and their test) are:
    - "device query"      - Prints out information about every connected audio device
    - "device out"          - Plays a decaying sinusoid in harmonic multiples at different rates on available output channels
    - "device out_fm"    - Plays an FM synthesizer bank with randomized parameters on all available output channels
    - "device out_pan"  - Plays a single noise source (with LFO LP filter) "3D" panning clockwise around output channels
    - "device in"             - Plays mic input into all output channels (simple passthrough)
    - "device in_delay"  - Plays mic input through a multi-tap delay line with random delays through all output channels
    - "device all"            - Runs all the above with 10 seconds for each test

[CL 2501316 by Aaron McLeran in Main branch]
2015-04-03 13:55:09 -04:00