SoundEffectProcessor

class SoundEffectProcessor : Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor<AudioContent, SoundEffectContent>, IContentProcessor

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.

ConversionQuality Quality

Gets or sets the target format quality of the audio content.

Value:The ConversionQuality of this audio data.
public SoundEffectContent Process(AudioContent input, ContentProcessorContext context)

Builds the content for the source audio.

Parameters:
  • input (Microsoft.Xna.Framework.Content.Pipeline.Audio.AudioContent) – The audio content to build.
  • context (Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext) – Context for the specified processor.
Returns:

The built audio.