48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
---------------------------------------------------------------------------
|
|
Name
|
|
|
|
MiniMP3
|
|
|
|
---------------------------------------------------------------------------
|
|
Description
|
|
|
|
This sample code shows how to play MP3 files using the Codec Plugin
|
|
Manager, and how to keep playing music even when the display is off
|
|
(device goes into REM sleep).
|
|
|
|
---------------------------------------------------------------------------
|
|
Builds With
|
|
|
|
CodeWarrior
|
|
Gcc
|
|
|
|
---------------------------------------------------------------------------
|
|
Devices
|
|
|
|
All Palm devices
|
|
|
|
---------------------------------------------------------------------------
|
|
Requirements
|
|
|
|
Make sure the ringer is in the 'ON' position
|
|
|
|
---------------------------------------------------------------------------
|
|
Libraries Used
|
|
|
|
Codec Plugin Manager
|
|
|
|
---------------------------------------------------------------------------
|
|
How to Run
|
|
|
|
1. Launch the application
|
|
2. Tap 'File' and select an mp3 file from the SD card (in DCIM folder)
|
|
3. Tap 'Start' to play selected mp3 song
|
|
4. Tap 'Stop' to stop music
|
|
5. Use the volume bar to adjust volume
|
|
|
|
---------------------------------------------------------------------------
|
|
Note
|
|
|
|
|
|
---------------------------------------------------------------------------
|