csharp
public sealed class NullAudioDeviceA device that renders and throws the result away — or hands it to a test.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public long RenderedFramesHow many frames this device has rendered since it was opened.
public AudioDeviceInfo InfoWhich device this is.
public AudioFormat FormatThe format it was actually opened in.
public int BufferFramesHow many frames it asks for at a time.
public bool IsRunningWhether it is currently pulling.
public long UnderrunsZero, always. Nothing is waiting on this device, so nothing can be late for it.
Methods (5)
public void Start(IAudioRenderSource source)Starts pulling from a source.
public void Stop()Stops pulling. Starting again is legal.
public int Render(Span<float> destination)Renders the next block into a caller's buffer.
public void Advance(int frames)Renders a number of frames and discards them.
public void Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Used by (17)
- PeerVoiceChat
- AudioEventSystemTestsVixen.Audio.Tests
- AudioEventTestsVixen.Audio.Tests
- AudioMixerTestsVixen.Audio.Tests
- AudioSystemTestsVixen.Audio.Tests
- AudioTestDataVixen.Audio.Tests
- BuiltinParameterTestsVixen.Audio.Tests
- LayeredEventTestsVixen.Audio.Tests
- MixControlTestsVixen.Audio.Tests
- MixerParameterTestsVixen.Audio.Tests
- MultipleListenerTestsVixen.Audio.Tests
- MusicPlayerTestsVixen.Audio.Tests
- NullAudioBackendVixen.Audio
- PerVoiceSendTestsVixen.Audio.Tests
- ScattererTestsVixen.Audio.Tests
- VirtualVoiceTestsVixen.Audio.Tests
- VoiceParameterTestsVixen.Audio.Tests