|
2012-03-18
, 20:15
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1012
|
Hi, great to hear your DAC works with mplayer, and thanks a lot for your feedback!
I have not tried this myself yet, but would be very interested in your findings...
|
2012-03-19
, 11:07
|
Posts: 72 |
Thanked: 184 times |
Joined on Apr 2011
@ Germany
|
#1013
|
BTW, do you know what the last (percent) value on the mplayer console status line means ?
From the docs it could be the audio CPU usage, but I'm not sure.
On my N900 it shows about 20% while playing an MP3 file, and much lower for FLAC (around 3%, never reaching 5). Also, the CPU meter bar (in the Hildon status bar) never moves while decoding Flac, while it sometimes jumps up & down with mp3.
The Following User Says Thank You to Oblomow For This Useful Post: | ||
|
2012-03-19
, 20:44
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1014
|
|
2012-03-20
, 07:15
|
Posts: 18 |
Thanked: 38 times |
Joined on Jan 2012
|
#1015
|
However there may be no sink for your card. You could try to edit /etc/pulse/default.pa. There's a line starting with "load-module module-alsa-sink-old sink-name=sink.hw0 device=hw:0 ...". Try to copy that and change the sink-name to something else (sink.hw1 already exists, but I guess it's something different) and change the "device=hw:0" to "device=hw:1,0" (or maybe only "device=hw:1"?). I have no real clue how this all works in there.
|
2012-03-20
, 16:50
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1016
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2012-03-20
, 19:24
|
Posts: 18 |
Thanked: 38 times |
Joined on Jan 2012
|
#1017
|
|
2012-03-20
, 20:01
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1018
|
|
2012-03-21
, 11:09
|
Posts: 18 |
Thanked: 38 times |
Joined on Jan 2012
|
#1019
|
kirillkk,
I had never heard of "moc", and it's not easy to Google, but I found this, is that it ? :
http://moc.daper.net/about
If I understand correctly, as you could not configure pulse to redirect the default audio output to USB, instead you chose to use a music player (moc) that can be (compiled ? configured ?) to use any ALSA output, like Oblomow did with his mplayer example.
I too would be interested in the moc binary, if only to experiment further with N900+DAC.
|
2012-03-21
, 12:44
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#1020
|
The Following User Says Thank You to Estel For This Useful Post: | ||
I've found a way to circumvent this somewhere on the net:
(needs gainroot package or however it's called)
Then look if on restarting pulseaudio/reboot a new sink appears...
I have not tried this myself yet, but would be very interested in your findings...
A second, a bit more brutal alternative could be just changing the device number in default.pa, and reboot. But you should take the possibility into account that you have to reflash - I cannot afford to try atm