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
| | |-+  Rockbox as a USB audio device?
« previous next »
  • Print
Pages: [1]

Author Topic: Rockbox as a USB audio device?  (Read 5162 times)

Offline thomaspf

  • Member
  • *
  • Posts: 13
Rockbox as a USB audio device?
« on: March 29, 2008, 09:21:40 PM »
Hi,

I am wondering whether there has been a discussion about using your rockbox device as an external audio device to your PC. I am a happy owner of two H120 but recently I have been toying with the idea of getting a Headamp Pico for use with my laptop.

The crazy thing is that almost all components in that external USB dac/amplifier also exist in the most portable media players.

Today Rockbox only implements the code for a USB mass storage device but I am wondering whether it would not be possible to also implement the code to make a portable media player appear as a standard USB audio device. The sound quality you would get from almost any portable player would be a lot higher than from the built-in sound cards in many computers.

I can not code this but I am wondering what you think?

Cheers

   Thomas
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Rockbox as a USB audio device?
« Reply #1 on: March 29, 2008, 10:02:12 PM »
Quote from: thomaspf on March 29, 2008, 09:21:40 PM
Hi,

I am wondering whether there has been a discussion about using your rockbox device as an external audio device to your PC. I am a happy owner of two H120 but recently I have been toying with the idea of getting a Headamp Pico for use with my laptop.

The crazy thing is that almost all components in that external USB dac/amplifier also exist in the most portable media players.

Sure, but they're little different then the parts already in your laptop.  DAP DACs and laptop DACs are very similar, both in design and performance.  If you need an amp for your laptop, you'd almost certainly need it for your DAP as well.

Quote from: thomaspf on March 29, 2008, 09:21:40 PM
Today Rockbox only implements the code for a USB mass storage device but I am wondering whether it would not be possible to also implement the code to make a portable media player appear as a standard USB audio device.

Theres the beginnings of a USB audio driver for rockbox.  You'd have to finish working on it, but its certainly possible.

Quote from: thomaspf on March 29, 2008, 09:21:40 PM
The sound quality you would get from almost any portable player would be a lot higher than from the built-in sound cards in many computers.

Better then a few built in cards, but not most.  DAPs have low hiss because they're battery powered, but thats about all they do well, and if you ran it off a USB cable, you'd likely lose even that advantage since you'd be running off the PC power supply.  They are, after all, built out of what is essentially a low end PC DAC.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Rockbox as a USB audio device?
« Reply #2 on: March 30, 2008, 12:19:29 AM »
And, as a note, this isn't a feature the H100 series will ever see, since its UMS mode is hardware controlled, and not something subject to Rockbox's internal USB stack.
Logged

Offline thomaspf

  • Member
  • *
  • Posts: 13
Re: Rockbox as a USB audio device?
« Reply #3 on: March 30, 2008, 12:42:30 AM »
Bummer...

Edit:  Now that I thought of it a bit more. Would it be possible to write a USB audio host stack? In that case you could use the media player as a source for external USB audio devices. That would be pretty nice too.

Cheers

   Thomas
« Last Edit: March 30, 2008, 03:17:05 AM by thomaspf »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox as a USB audio device?
« Reply #4 on: March 30, 2008, 06:46:52 AM »
All the H100 can be is a UMS device.  This is a hardware limitation.  If your external usb device can read a USB hard disk, then sure.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Rockbox as a USB audio device?
« Reply #5 on: March 30, 2008, 11:31:29 AM »
Quote from: thomaspf on March 30, 2008, 12:42:30 AM
Edit:  Now that I thought of it a bit more. Would it be possible to write a USB audio host stack? In that case you could use the media player as a source for external USB audio devices. That would be pretty nice too.

All of this is somewhere on my list of things I want to do some time, but as people said higher up, it's always dependent on what hardware a particular player has
Logged

Offline nullstring

  • Member
  • *
  • Posts: 1
Re: Rockbox as a USB audio device?
« Reply #6 on: May 10, 2009, 02:46:18 AM »
Has any work been done on this?

Particular DAP's, such as the ipod 5G w/ a LOD and possibly a diymod would offer a high(ish) quality solution for an external USB DAC.


How hard do you think this would be to implement? I'd really like to see this.

I am gonna do some research on USB communication and audio drivers, but it seems to be a hard topic to google.
Feel free to share any insight of the correct direction to look in, etc.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Rockbox as a USB audio device?
« Reply #7 on: May 10, 2009, 08:17:51 AM »
The specification for usb audio is at http://www.usb.org/developers/devclass_docs
Logged

Offline Vchat20

  • Member
  • *
  • Posts: 30
Re: Rockbox as a USB audio device?
« Reply #8 on: August 11, 2009, 05:32:51 PM »
Regardless of sound quality, another possible pro would be to use the headphone amps in these players and possibly even use the players own volume control as an in-line volume control.

My laptop has a pretty lousy headphone amp that can only push comfortable volumes to the dinky little earbuds but my good over-the-ear cans are JUST audible at maxed out volume (often have to kick up the preamp in winamp's EQ to help as little as it can).

The Sansas (esp. the c200 line) would make a nice portable formfactor to act as a usb sound card and headphone amp. And then when it's not being used in that fashion it goes back to being an mp3 player.

If I had any programming expertise I'd jump on this myself. There is a patch up from some time back dealing in making a dummy usb audio stack which just showed up as an audio device to the host but didn't do anything else. Might be worth taking a look at?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Rockbox as a USB audio device?
 

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

Page created in 0.111 seconds with 15 queries.