Thread
:
WIP: USB audio output - N900 as an "audiophile" portable music player
View Single Post
Oblomow
2012-04-03 , 11:47
Posts: 72 | Thanked: 184 times | Joined on Apr 2011 @ Germany
#
58
Another half-useful result of my experiments:
Looking at the code of the recaller widget, one sees that it is possible to use the output of a pulse sink (at least the internals) as a gstreamer source and therefore play it back via usb:
Code:
gst-launch pulsesrc device=sink.hw0.monitor ! audioconvert ! audioresample ! alsasink device=hw:1,0
This plays back the output of the internal music player (perhaps any sound application that uses pulseAudio) through usb. There are two pitfalls:
The normal output is not muted (minor problem I would guess and maybe solvable with alsamixer - as it should work on a lower level than pulse audio
The audio stutters a lot (at least for me) - making this unusable for anything serious
Could someone try the above command on his/her setup? My device is not overclocked, and maybe it depends also on the external hardware. Be warned though, I got occasional reboots.
//EDIT:
To try this, just type the above in an xterm and play something back through the stock media player.
Last edited by Oblomow; 2012-04-03 at
11:51
. Reason: added more detailed information
Quote & Reply
|
The Following 2 Users Say Thank You to Oblomow For This Useful Post:
Estel
,
fpp
Oblomow
View Public Profile
Send a private message to Oblomow
Find all posts by Oblomow