Jump to content

Albert911

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Albert911 reacted to jernej in Armbian, OrangePI (PC) and Kodi   
    Which audio output do you use? There is a bug in analog output - it says that it supports audio formats which in reality it can't, namely 24 bit audio. If you patch it (check this and this patch), sound output should work normally.
  2. Like
    Albert911 reacted to Da Alchemist in Armbian, OrangePI (PC) and Kodi   
    Building Kodi from Source was not the Thing I wanted to do. (In fact i am to dumb to patch sources... ) I have installed Kodi 16.1 from Jessie Backports out of the Repos on Top of  Armbian Desktop. So at first I wanted to check if Kodi is broken somehow. It is not, it is working with USB Soundcards. So the Problem is that the Soundcards can not play S24_LE Soundformat. I don´t know if this is really a Kernel or Driver Problem because "
    speaker-test  -D hw:0 -c2 --format S24_LE " returns an Error Message at once: (where hw:0 is the anlog Output)
     
    speaker-test 1.0.28 Format S24_LE is not supported... So if that is the Problem, there should be a simple Hotfix by editing the .asoundrc and lock the Soundformat to a supported one,  i have choosen  S32_LE in my Example
    At first i have deleted asound.conf 
    sudo rm /etc/asound.conf Next is looking for the enumeration of the Soundcards:
    pi@orangepipc:~$ cat /proc/asound/cards 0 [audiocodec ]: audiocodec - audiocodec audiocodec 1 [snddaudio ]: snddaudio - snddaudio snddaudio 2 [sndhdmi ]: sndhdmi - sndhdmi sndhdmi So in my case 0 is the anlog Out, 1 I2S Audio, 2 HDMI. so an easy first shot .asoundrc file is this (for using HDMI ; card 2 if you want to choose another Output change the Number of card 2 to the desired one...) :
    pcm.snd_card { type hw card 2 device 0 } ctl.snd_card { type hw card 2 device 0 } pcm.dmixer { type dmix ipc_key 1024 ipc_perm 0666 slave.pcm "snd_card" slave { period_time 0 period_size 1024 buffer_size 4096 rate 44100 format S32_LE channels 2 } bindings { 0 0 1 1 } } you can create this file with 
    nano .asoundrc and paste the Things above. The .asoundrc file is stored in your Home Directory. Now it is possible to choose sndhdmi as Audio out in Kodi.
     
    Regards
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines