2014-05-14, 10:08
Thanks to Fritsch and thanks to Pulseaudio I have my soundcard working again!
In order here's what I did
1.) sudo apt-get build-dep xbmc
2.) sudo apt-get install libxslt-dev
3.) mkdir build
4.) cd build
5.) wget https://github.com/fritsch/xbmc/archive/...odsize.zip
6.) unzip gotham-alsa-periodsize.zip
7.) cd xbmc-gotham-alsa-periodsize
8.) ./bootstrap && ./configure
9.) make -j3
10.) ./xbmc.bin
Audio test
If this doesn't work (like did happened to me)
11.) nano ./xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
move down and edit the line
bufferSize = std::min(bufferSize, (snd_pcm_uframes_t) sampleRate / 5);
in this way
bufferSize = (snd_pcm_uframes_t) sampleRate / 2;
save close and then
12.) make
start xbmc and try. if this doesn't work don't give up! try
13.) sudo rm /etc/apt/preferences.d/*
14.) sudo apt-get install pulseaudio libasound2-plugins
install maintainers version
15.) sudo apt-get install pavucontrol
16.) pavucontrol
go into xbmc, select your soundcard and try. (but we haven't done yet)
17.) sudo nano /etc/pulse/daemon.conf
find
; enable-remixing = yes
and change it in
enable-remixing = no (remove ; in front of the line)
then find
; resample-method = speex-float-1
change that to:
resample-method = speex-float-3 (remember
ok we are done!
this worked for me i hope will work for you too
Anyway thanks to Fritsch, thanks to all the XBMC Team and thanks to PULSEAUDIO!
__________________________________________________________________________________________________________________________________
Hello Everyone
A few days ago I installed the new version of XBMCbuntu
Gotham 13 ubuntu 14 based
Unfortunately I can't set 5.1 audio
Searching and reading on web I realized that I need pulseaudio (which for some reason is not already installed)
the problem is that
I can't install it with sudo apt-get install pulseaudio (when I try it I receive : package pulseaudio has no installation candidate)
I can't download it from PPA
I can't find a valid source to add in /etc/apt/sources.list
I can't install the package downloaded from the official site using .config make and make install
Could you please help me? Thanks everyone!
Ciao Ciao
In order here's what I did
1.) sudo apt-get build-dep xbmc
2.) sudo apt-get install libxslt-dev
3.) mkdir build
4.) cd build
5.) wget https://github.com/fritsch/xbmc/archive/...odsize.zip
6.) unzip gotham-alsa-periodsize.zip
7.) cd xbmc-gotham-alsa-periodsize
8.) ./bootstrap && ./configure
9.) make -j3
10.) ./xbmc.bin
Audio test
If this doesn't work (like did happened to me)
11.) nano ./xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp
move down and edit the line
bufferSize = std::min(bufferSize, (snd_pcm_uframes_t) sampleRate / 5);
in this way
bufferSize = (snd_pcm_uframes_t) sampleRate / 2;
save close and then
12.) make
start xbmc and try. if this doesn't work don't give up! try
13.) sudo rm /etc/apt/preferences.d/*
14.) sudo apt-get install pulseaudio libasound2-plugins
install maintainers version
15.) sudo apt-get install pavucontrol
16.) pavucontrol
go into xbmc, select your soundcard and try. (but we haven't done yet)
17.) sudo nano /etc/pulse/daemon.conf
find
; enable-remixing = yes
and change it in
enable-remixing = no (remove ; in front of the line)
then find
; resample-method = speex-float-1
change that to:
resample-method = speex-float-3 (remember
ok we are done!
this worked for me i hope will work for you too
Anyway thanks to Fritsch, thanks to all the XBMC Team and thanks to PULSEAUDIO!
__________________________________________________________________________________________________________________________________
Hello Everyone
A few days ago I installed the new version of XBMCbuntu
Gotham 13 ubuntu 14 based
Unfortunately I can't set 5.1 audio
Searching and reading on web I realized that I need pulseaudio (which for some reason is not already installed)
the problem is that
I can't install it with sudo apt-get install pulseaudio (when I try it I receive : package pulseaudio has no installation candidate)
I can't download it from PPA
I can't find a valid source to add in /etc/apt/sources.list
I can't install the package downloaded from the official site using .config make and make install
Could you please help me? Thanks everyone!
Ciao Ciao