Class SoundEffectProcessor
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
A sound effect processor that processes an intermediate AudioContent type. This type encapsulates the source audio content, producing a SoundEffect type that can be used in the game.
[ContentProcessor(DisplayName = "Sound Effect - MonoGame")]
public class SoundEffectProcessor : ContentProcessor<AudioContent, SoundEffectContent>, IContentProcessor
- Inheritance
-
SoundEffectProcessor
- Implements
- Inherited Members
Constructors
SoundEffectProcessor()
Initializes a new instance of SoundEffectProcessor.
public SoundEffectProcessor()
Properties
Quality
Gets or sets the target format quality of the audio content.
public ConversionQuality Quality { get; set; }
Property Value
- ConversionQuality
The ConversionQuality of this audio data.
Methods
Process(AudioContent, ContentProcessorContext)
Builds the content for the source audio.
public override SoundEffectContent Process(AudioContent input, ContentProcessorContext context)
Parameters
input
AudioContentThe audio content to build.
context
ContentProcessorContextContext for the specified processor.
Returns
- SoundEffectContent
The built audio.