-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable pulseaudio to remove popping on analog audio #175
Comments
@CurlyMoo; for which Kernel version and xmbc version did you do this? |
Both the latest |
@CurlyMoo so Kernel 3.6.10 and Xbmc 1.4? |
Yes |
The /etc/mpd.conf doesn't exsist by default? The player for audio and video are both OMXPlayer. |
Then you didn't install MPD, check my first post again. |
after trying to get Pulseaudio to work, I have no soundoutput on analog anymore. Any idea what I made wrong? |
What version of XBMC and the Kernel are you running? |
Kernel 3.6.9 and XBMC 1.4 |
Can you try using kernel 3.6.10 or 3.6.11? |
on 3.6.10 sound is back, but popping too... |
Did you use my config files? Also remember that this currently only works for music files... |
yes |
When does this popping occur, with music, video or always? |
just tried music, appears beginning of every song |
We'll await Alpha 4 before we going to figure this out any further. Then i at least know we all have the same system configuration... |
ok, any idea how long we have to wait for next release? |
Hopefully we can release it before the end of the year, especially we now know the earth is still spinning. |
I have done a similar workaround on my RPi (running raspbian, not xbian but should be similar), but if I pause the mpd output it fails to restart until I reboot. An error is reported saying something about the device being suspended even though I have commented out module-suspend-on-idle in the pulseaudio config. Can you please confirm if you can pause and restart mpd playback without any issues. |
@Goofinder, no because when i pause/stop, it does not stop immediatly. |
Hello CurlyMoo, Betzi |
Yes it did, but also needs a lot of work though. |
Thanks for your speedy reply. Can I just copy/paste the content from #http://pastebin.com/pMxXrdcC and #http://pastebin.com/zuAFN0Qa with vi into the files on the RPi (with root login)? Does that work with Windows doing it with SSH? What are you doing with that command? Thanks for letting me know. Betzi |
Removing 4 lines after the matching line. |
Hello, |
Oh, and I don't know if it's a big ah-ha thing, but the playback moves at about double speed. |
That is not any different than my implementation, however i also tested the configuration files of both programs so it also doesn't slow down the boot process. I also came up with a different idea that i don't actually read in this post. What if we make a small dummy .wav with silence file and play that continously with pulseaudio. Then the analog output is kept active, and XBMC can keep using his own method. I'm not sure though i've we can have to audio sources enabled at once. Are there any users that can test this? |
@inspector71 |
Does it suddenly also work for movies, and immidiatly stopping the sound output by pressing 'stop' |
Copied from this issue:
raspberrypi/linux#128 (comment)
What i did was:
And gone was the popping of the analog audio. However this only works with playing music files.
@Koenkk, can you check how we can make the audio output of omxplayer go through pulseaudio (or what the default XBMC player is)?
Only issue is that when i stop a e.g. music file with my remote it isn't immediately stopped. When a music file ends and the next one start, no problem exists.
The text was updated successfully, but these errors were encountered: