FS#2700 - wav to mp3 encoder plugin for H1xx

Attached to Project: Rockbox
Opened by Toni (ahellmann) - Tuesday, 27 September 2005, 20:57 GMT
Last edited by Daniel Stenberg (bagder) - Wednesday, 11 January 2006, 14:01 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Very basic plugin mp3 encoder for iriver
- you either have to create a new plugin or simply
overwrite the patch file to an existing plugin (ex: logo.c)
- no data caching: reads/writes chunks of audio data
from/to disk all the time
- wav-files have to be located in the root
- user interface:
1. select wav-file with <up><down> then <right>
2. select bitrate with <up><down> then <right>
Hint: wav files should be recorded with high audio level,
to get best quality from this encoder
This task depends upon

Closed by  Daniel Stenberg (bagder)
Wednesday, 11 January 2006, 14:01 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES

Thanks! Just committed...
Comment by Anonymous Submitter - Wednesday, 05 October 2005, 16:18 GMT

I have made a viewer plugin version of the patch.
To use it open the file with wav2mp3.


You also have to add the Line
wav,wav2mp3, 00 00 00 00 00 00
to apps/plugins/viewers.config
to apps/plugins/SOURCES
Comment by Daniel Stenberg (bagder) - Monday, 09 January 2006, 11:30 GMT

Do you have an updated version?

wav2mp3.c:660: error: conflicting types for 'swap32'
error: previous definition of 'swap32' was here
Comment by Toni (ahellmann) - Tuesday, 10 January 2006, 17:17 GMT

Here is the minor update of the encoder plugin:
- removed compiler error in swap32() declaration
- increased mp3 buffer size, less disk writing
- increased total number of selectable wav files to 12
- show wav files in root and default recording dir
Comment by Daniel Stenberg (bagder) - Wednesday, 11 January 2006, 14:01 GMT

Thanks! Just committed...