Table of Contents

Class SoundEffectProcessor

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
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 AudioContent

The audio content to build.

context ContentProcessorContext

Context for the specified processor.

Returns

SoundEffectContent

The built audio.