CD Player application built with WPF and DirectSound using C# and Visual Studio 2008, and is targeted at the intermediate-level programmer who is familiar with C#, WPF, and .NET interoperability with native Windows APIs, and the Visual Studio development environment. This application provides basic control capabilities such as Play, Pause, Stop, and Eject, and also displays the duration of the disk and each track as well as the title of each track, artist, genre, album, and year of publication as received from the on-line database at freedb.org. There are four components for this application:
-
Low-level device I/O to read the disk table of contents
-
Read audio data, and eject the disk
-
Socket code to connect to and send and receive disk information from freedb.org
-
Audio player using DirectSound to play the disk audio data, and a user interface Developed using WPF and XAML.