Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  mp3_play_data - for archos only?
« previous next »
  • Print
Pages: [1]

Author Topic: mp3_play_data - for archos only?  (Read 1602 times)

Offline slecta

  • Member
  • *
  • Posts: 6
mp3_play_data - for archos only?
« on: June 11, 2009, 08:41:36 PM »
hello everyone, i'm trying to play an mp3 thru a plugin.  for a couple of days i've been hacking away at it, using mp3_play_data, but i think i just found out that's for archos only -

i want to make a build for a sansa, do i use pcm_play_data?  and if so, can i send mp3 data directly to the pcm_play_data, or does it need to be uncompressed first (and how)?

any help would be massively appreciated, i'm losing my mind here.

thanks
« Last Edit: June 12, 2009, 08:42:14 AM by selectohh »
Logged

Offline Vchat20

  • Member
  • *
  • Posts: 30
Re: mp3_play_data - for archos only?
« Reply #1 on: June 12, 2009, 08:44:48 PM »
Yes, the archos is the only player that has a hardware chip that can do direct mp3 decoding and playback. All other rockbox players do this in software much like a desktop media player.

You would need to decode the mp3 file first which would be decompressed to PCM data which you can then feed to pcm_play_data. I dunno if it is possible to call the mp3 codec used by the main playback function in rockbox or you would need to write your own. Someone else more knowledgeable should be able to answer this.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  mp3_play_data - for archos only?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 16 queries.