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.
Note:
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 |
|
Waveform Audio |
Uses the Waveform Audio API to play and record audio. |
%_WINCEROOT%\public\COMMON\sdk\samples\audio |
|
Media Library |
Creates a media parser plug-in to support wave sound (.wav) and MPEG-4 (.mpg4) files. |
||
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 |
Plays a file by using a console application. |
Included in topic Sample DirectShow Playback Program |
|
DirectShow |
Renders a video file inside an application window. |
Included in topic 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 |
Demonstrates how to implement a DirectShow filter. |
||
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 |
|
MIDI |
Demonstrates an application that plays a simple scale of eight MIDI notes. |
Included in topic MIDI |
|
MIDI |
Plays a local busy signal that alternates between silence and a tone composed of two frequencies. |
Included in topic 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 |
|
UPnP AV Framework |
Provides a sample UPnP media controller that plays content from a media server. |
%_WINCEROOT%\public\servers\oak\samples\upnp |