Share via


Media Overview

Describes how the Microsoft.Xna.Framework.Media namespace provides support for browsing or searching media items in XNA Game Studio. Media is a general term referring to all media on the local system.

Discovery and Enumeration

A game can query strongly-typed media collections for songs, artists, albums, playlist, genres, pictures, and picture albums using the Microsoft.Xna.Framework.Media namespace. See How To: Show Pictures for an example. Items in the media library can also be searched based on metadata such as artist name, album name, or musical genre.

Songs as Background Music

Access to the media library, combined with the ability to use playlists, allows games to create interesting background scores that can change with game play.

Pictures as Textures

Games can obtain and use textures from pictures within a media library.