RaspbmcCrystalbuntu
|
[Alpha] usb sound cards support for raspbmc
|
|
12-12-2012, 11:22 AM
Post: #311
|
|||
|
|||
RE: [Alpha] usb sound cards support for raspbmc
(12-12-2012 08:43 AM)Mister Fab Wrote:(12-11-2012 02:23 PM)s7mx1 Wrote: Have you tried the latest nightly?So I tried the latest nightly yesterday evening, and no optical appeared in the systems settings. I have also recently bought an USB audio card (Terratec aureon) and have the same issues as you do. I started with the latest raspmc install and also later with a new nightly. I have come to a point that I can get optical output listed when I ran this from the first page of guide: Code: for card in $(pactl list short cards | awk '{print $1}') ; do pactl set-card-profile $card multi-sink;This however does not change the list of passthrough devices - only list of output devices - under pass through I can still only choose default. I also have another problem - ability to connect via ssh settings seems to just dissappear. If I do a new installation or install nightly then ssh is there but after a while (don't know, yet which - reboot or audio settings) renders ssh service unavailable. |
|||
|
12-12-2012, 01:31 PM
Post: #312
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
@aljaz
Are you using pulseaudio 2.1? To find out which version you are using just run Code: pulseaudio --versionI noticed there is a bug in pulseaudio 2.0 which does not set correct format support for the digital sink therefore you will not be able to select digital passthrough device. If you are still running pulseaudio 2.0 I would suggest to try step 1 from the first post to install pulseaudio 2.1. However if pulseaudio 2.1 did not work for you to set correct format (i.e. ac3-iec61937; dts-iec61937 apart from pcm) you need to run Code: for sink in $(pactl list short sinks | grep iec958 | awk '{print $1}') ; do pactl set-sink-formats $sink "pcm; ac3-iec61937; dts-iec61937"; done |
|||
|
12-13-2012, 01:03 AM
Post: #313
|
|||
|
|||
RE: [Alpha] usb sound cards support for raspbmc
(12-12-2012 01:31 PM)s7mx1 Wrote: @aljaz Yes, running 2.1. Now I listed and did some things manually: Code: pi@raspbmc:~$ pactl list cardsCode: pactl set-card-profile 0 output:iec958-stereothen xbmc audio settings, set audio device to digital out, passthrough as well. Run an AC3 movie, then Code: pi@raspbmc:~$ pactl list short sinksBut my DTS/DD able AV receiver doesn't get it through. Anywhere else I can look this up (some log or something)? |
|||
|
12-13-2012, 08:35 AM
Post: #314
|
|||
|
|||
RE: [Alpha] usb sound cards support for raspbmc
(12-12-2012 10:37 AM)s7mx1 Wrote: @Khivar Okay thanks. So if anyone knows whether it can do DTS / DTS core / Dolby Digital 5.1 bitstream or not, feel free to post
|
|||
|
12-14-2012, 01:33 PM
(This post was last modified: 12-14-2012 01:33 PM by Mister Fab.)
Post: #315
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
Okay, so after a few reboots, I can get the optical menus in the XBMC system settings. (but I didn't change anything from the configuration I made before. No matter, the usb car works!
)Mp3 play well trough the optical. The remaining problem, I have no audio on HD movies. DTS and Dolby digital capable receiver are activated, passthrough output device is set on "Default (pulse audio)" , but my A/V receiver doesn't get the signal. |
|||
|
12-14-2012, 01:40 PM
Post: #316
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
When I have time (bit busy at the moment) I will write xbmc addon to set pulseaudio output so users can set the output including passthrough device properly.
To have passthrough you will definitely need to pick the passthrough device and you may need to set sink format manually if the list of device only has default. (12-14-2012 01:33 PM)Mister Fab Wrote: Okay, so after a few reboots, I can get the optical menus in the XBMC system settings. (but I didn't change anything from the configuration I made before. No matter, the usb car works! |
|||
|
12-14-2012, 01:42 PM
Post: #317
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
I am interested in getting a USB sound card to do 5.1 from the raspberry pi.
Could someone who has a USB sound card check if they do support ac3 and dts passthrough using mplayer? I think the steps would be to: - Download mplayer onto your raspberry pi. - Download sample ac3 file http://www.lynnepublishing.com/surround/...d_test.ac3 - Download sample dts file http://www.avenard.org/files/media/media...st-DTS.mkv - Run "aplay -l" to work out which card number your usb card is, e.g. if the "aplay -l" has a line "card 0: DAC [USB Audio DAC], device 0: USB Audio [USB Audio]" then your usb card is card 0. - You might have to stop xbmc in case there is a conflict for the audio card. - Test ac3 passthrough by running "mplayer -ao alsa:device=hw=0.0 -afm hwac3 -channels 6 www_lynnemusic_com_surround_test.ac3" - Test dts passthrough by running "mplayer -ao alsa:device=hw=0.0 -afm hwac3 -channels 6 idch_AviaSurroundTest-DTS.mkv" - In the above examples if aplay -l showed that your USB soud card was device 1 then replace "alsa:device=hw=0.0" with "alsa:device=hw=1.0". If it plays the bitstream at least we know the cards support it. |
|||
|
12-14-2012, 01:45 PM
Post: #318
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
mplayer is useless unless you want to hear audio only as there is no hardware video acceleration for pi with mplayer.
(12-14-2012 01:42 PM)richjh Wrote: I am interested in getting a USB sound card to do 5.1 from the raspberry pi. |
|||
|
12-14-2012, 01:46 PM
(This post was last modified: 12-14-2012 01:47 PM by Mister Fab.)
Post: #319
|
|||
|
|||
RE: [Alpha] usb sound cards support for raspbmc
(12-14-2012 01:40 PM)s7mx1 Wrote: When I have time (bit busy at the moment) I will write xbmc addon to set pulseaudio output so users can set the output including passthrough device properly. Thank you very much for your answers s7mx1. Is there a commandline to set sink format manually I can use now or should I wait for your addon? I'm sorry for my lack of knowledge with linux... |
|||
|
12-14-2012, 01:51 PM
(This post was last modified: 12-14-2012 01:52 PM by s7mx1.)
Post: #320
|
|||
|
|||
|
RE: [Alpha] usb sound cards support for raspbmc
follow "Digital passthrough " on first post of this thread and after that if you are still not able to get listed passthrough device then try this
Code: for sink in $(pactl list short sinks | grep iec958 | awk '{print $1}') ; do pactl set-sink-formats $sink "pcm; ac3-iec61937; dts-iec61937"; done |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Sponsored Advertisement

Member List
Calendar
Help




)