Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System Archos Recorder
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by amiconn - 2006-03-23

FS#4902 - Work-in-progress PCM (wav) playback for archos

This patch contains a research plugin for integrating PCM playback into rockbox for Archos (Recorders and Ondios only, no player suppor possible, sorry).
It loads and plays (after adding it to viewers.config) 44.1 kHz WAV files.

Note that this is work in progress. The plugin fiddles with SCI0, so mp3 playback won't work afterwards, better reboot. WAV parameters are hardcoded for now. Data transfer to the MAS is done in a rather trivial software trasnfer loop, no DMA yet. No file buffering either, the disk is spinning all the time.

Closed by  amiconn
2006-03-26 23:16
Reason for closing:  Accepted

First optimisation - leave out the MAS PCM buffer init (a bunch of zeroes) for smaller footprint & faster codec download.

Some code cleanup, use rockbox' mas_* functions where appropriate. Needs current cvs sources for the mas_writereg() fix.

Vastly extended the plugin:

- Simple playback engine. No more continuously spinning disk.
- Uses DMA. Works realtime on Ondio now.
- Ability to stop playback.
- Restores MAS for mp3 playback. No reboot necessary.
- Read parameters from WAV file. Plays 16bit PCM WAV files with all common samplerates, both mono and stereo.
- Better error handling and reporting
- Handles USB

The patch now also includes the necessary changes to viewers.config.

Further improvements:

- Properly apply all core sound settings (most settings are audiocodec features unaffected by the DSP code change, but the channel settings are a DSP feature)
- Also restore channel settings properly, for the same reason

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing