Share via


Audio, Graphics and Media Code Samples (Compact 7)

3/12/2014

Windows Embedded Compact 7 contains the following code samples that apply to Audio, Graphics and Media.

Warning

The sample code is only a starting point for development. As with any code, you must ensure proper error handling, identify security risks, and thoroughly test it before considering it for production use.

Feature area Description Location Related topic

Windows Media Player

Implements a music player, video player, and photo viewer for small and medium screens.

Hh802403.note(en-us,WinEmbedded.70).gifNote:
This code was updated for Windows Embedded Compact 7. For more information, see What's New in Code Samples.

%_WINCEROOT%\public\mediaapps\oak\samples\cemp

Windows Media Player

Waveform Audio

Uses the Waveform Audio API to play and record audio.

%_WINCEROOT%\public\COMMON\sdk\samples\audio

Waveform Audio

Media Library

Creates a media parser plug-in to support wave sound (.wav) and MPEG-4 (.mpg4) files.

Extending Windows Media Library with a Media Parser Plug-In

Media Library

DirectShow

Demonstrates the Microsoft DirectShow base classes; implements a source filter, a generic renderer, a special-effects filter, and a pass-through filter, and provides simple audio and video playback applications.

%_WINCEROOT%\public\directx\sdk\samples\dshow

DirectShow

DirectShow

Plays a file by using a console application.

Included in topic Sample DirectShow Playback Program

Sample DirectShow Playback Program

DirectShow

Renders a video file inside an application window.

Included in topic Sample DirectShow Video Window Program

Sample DirectShow Video Window Program

DirectShow

Demonstrates how to respond to events that occur in a DirectShow application.

Included in topic DirectShow Events Sample Code

DirectShow Events Sample Code

DirectShow

Demonstrates how to implement a DirectShow filter.

DirectShow Decoder Filter for Windows Embedded Compact

DirectShow

DirectDraw

Demonstrates how to initialize DirectDraw and create a DirectDraw surface and how to implement color fills and effects such as page flipping. This code also shows how to use graphics device interface (GDI) functions on a DirectDraw surface, how to use off-screen surfaces, and how to implement a simple animation.

%_WINCEROOT%\public\directx\sdk\samples\ddraw\src

DirectDraw

MIDI

Demonstrates an application that plays a simple scale of eight MIDI notes.

Included in topic MIDI

MIDI

MIDI

Plays a local busy signal that alternates between silence and a tone composed of two frequencies.

Included in topic WAVEFORMAT_MIDI_MESSAGE

WAVEFORMAT_MIDI_MESSAGE

Hardware Audio Mixer

Demonstrates how to use the Hardware Audio Mixer API by probing the system for mixer devices and then enumerating the lines and controls of each mixer device in the system.

%_WINCEROOT%\public\directx\sdk\samples\mixer

Hardware Audio Mixer

UPnP AV Framework

Provides a sample UPnP media controller that plays content from a media server.

%_WINCEROOT%\public\servers\oak\samples\upnp

UPnP AV Reference

See Also

Concepts

Code Samples

Other Resources

Windows Embedded Compact 7