4.9 Design Example: Audio Player
In this example we study the design of a portable MP3 player that decompresses music files as it plays.
4.9.1 Theory of Operation and Requirements
Audio players are often called MP3 players after the popular audio data format, although a number of audio compression formats have been developed and are in regular use. The earliest portable MP3 players were based on compact disc mechanisms. Modern MP3 players use either flash memory or disk drives to store music. An MP3 player performs three basic functions: audio storage, audio decompression, and user interface.
Audio decompression
Although audio compression is computationally intensive, audio decompression is relatively lightweight. The incoming bit stream has ...
Get Computers as Components, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.