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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Will a rockboxed mp3 player play while loading new music?
« previous next »
  • Print
Pages: [1]

Author Topic: Will a rockboxed mp3 player play while loading new music?  (Read 2288 times)

Offline aztek

  • Member
  • *
  • Posts: 1
Will a rockboxed mp3 player play while loading new music?
« on: May 29, 2008, 06:32:03 AM »

What I really want is to have the ability to put new music on my mp3 player while it is still playing ( preferably also still have menu access to it. Is this possible with rockbox?

I don't own a ipod or other mp3 player for that matter right now but would buy one if I could do this with rockbox. Or if somebody knows a mp3 player that can already do this that's fine as well. I have looked at a lot of them but all go into some kind of "computer mode" and don't allow menu access anymore. Unless i buy like a simple smartphone or something.

Cheers,

Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Will a rockboxed mp3 player play while loading new music?
« Reply #1 on: May 29, 2008, 06:38:54 AM »
No, you can only have one thing accessing the disk at once.  On targets with software USB it is technically possible, but that would lead to massive data corruption.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: Will a rockboxed mp3 player play while loading new music?
« Reply #2 on: May 29, 2008, 02:07:08 PM »
Technically, this can work if the file system is multi-thread safe.
Plug a usb flash drive into your pc and multiple applications can
access the drive at the same time.

Of course, I don't know the file system code in Rockbox is multi-thread
safe (does Rockbox code even USE threads?).  Bottom line:
Don't compare an embedded firmware OS with a PC OS.  Different
missions.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Will a rockboxed mp3 player play while loading new music?
« Reply #3 on: May 29, 2008, 02:10:06 PM »
In USB mode the host OS is accessing the device directly. Rockbox doesn't really know what's being done. Don't imagine two apps accessing one drive. Imagine two host PCs accessing one drive without intermediate software.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Will a rockboxed mp3 player play while loading new music?
« Reply #4 on: May 29, 2008, 04:47:26 PM »
As Llorean said, multithreading has nothing to do with it, the filesystem has to be multi-host safe. Something like http://en.wikipedia.org/wiki/GFS2 would work. However, before you suggest to implement that let me warn you that I don't think you will find a single developer in favor if this...

A more realistic way to achieve your goal would be MTP, since this works at file level (as opposed to USB  MSC, which works at disk level). If and when MTP is supported it should be doable to allow playback to continue.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Will a rockboxed mp3 player play while loading new music?
« Reply #5 on: May 29, 2008, 09:50:32 PM »
I don't own a Sansa, but if they allow hotswapping of the microSD cards, that would probably be the closest you'll get until MTP is supported.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Will a rockboxed mp3 player play while loading new music?
 

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

Page created in 0.099 seconds with 15 queries.