SongProcessor

class SongProcessor : Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor<AudioContent, SongContent>, IContentProcessor

A custom song processor that processes an intermediate AudioContent type. This type encapsulates the source audio content, producing a Song 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 SongContent 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.