No more pop sounds in xbmc on the Raspberry PI (Xbian)

January 26th, 2013

In order to get rid of the annoying pop sounds when XBMC switches songs multiple people suggested to use Pulseaudio to power up the sound-card and never power it down. For example in this bugreport or article .

I will explain how I set up Pulseaudio to get it working. These steps should be the same on any Raspbian/Debian based distro

First things first :

sudo apt-get install pulseaudio alsa-utils

Then change /etc/asound.conf to look like :

pcm.mmap0 {
    type mmap_emul;
    slave {
      pcm "hw:0,0";
    }
}

#pcm.!default {
#  type plug;
#  slave {
#    pcm mmap0;
#  }
#}

pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }

Next make sure that pulseaudio is NOT in system mode, this trick does not seem to work when it is in system mode. Check /etc/default/pulseaudio:

PULSEAUDIO_SYSTEM_START=0

then change the sample rate to 48000 as it seems that 44100 does not work. Do that in /etc/pulse/daemon.conf . Either find and enable, or paste these two lines at the end:

resample-method = trivial
default-sample-rate = 48000

Now to force the sound card to never shut down, comment out or remove the following line in /etc/pulse/default.pa

load-module module-suspend-on-idle

now you should be all set.

To test if Pulseaudio works get a .wav file e.g. from here and play it with

paplay 

If there is no sound use the following to change alsa’s playback to the sound card.

 sudo amixer cset numid=3 1 

you can also check if the sound isn’t muted with

 alsamixer 

There are still a few problems:

  • skipping to the next song doesn’t crackle anymore, but there are a few seconds where they bleed into each other. However this does not happen during normal playback it seems.
  • Skipping around in movies still makes crackling noises.

Hear the game, not the girl

November 24th, 2010

Play STO?

Hang out in Quarks often?

Pissed off by that constant annoying babbling that Holo Leeta does, but still want to turn on “voice ” in your audio options?

Look no further here is your solution:

Stfu-Leeta

To use it, unpack it to “Localdata” in your STO folder ( e.g. C:\Program Files\Cryptic Studios\Star Trek Online\Live\Localdata ).

This mod will not be overwritten by patches.

If it didn’t unpack correctly, and Leeta is still babbling, make sure inside Localdata you now have “sound\win32\Voice_Dabo_Leeta.fev”

It currently has the “Works on my machine” quality seal.

Have a nice day, and say hi to Minix 😉

PS : for those interested , this mod replaces Leetas control file ( which part of leeta gets played when) with  a file that basically does nothing. There was another approach to this which was to replace Leeta with PCM_AMB_Silence. It seemed to have crashed randomly, if you still want to try it :Stfu-Leeta2

EVEFleets discontinued

January 24th, 2010

Well since now we have a feature inside EvE that does exactly what EvEFleets does, which is what I wanted in the 1st place, I decided to stop working on it.
Also the code was crap ;).

Hello hotlinkers

September 7th, 2009

I wonder when they realize that I replaced their favorite picture.

on the other hand … I was on GIS for Latex on page 1 result nr 3.
And I didn’t even post it and it only served as a link to some LaTeX document.

EvEFleet v0.5.4

January 14th, 2009

Well found a few bugs in the regex.

Now you can post fleets if your name contains a “0” and you can post Corp Fleets.

get it while its hot.

EveFleet v 0.5.3

October 10th, 2008

Fixed a little bug for sites that cannot work with example.com/?action=something , if you experience problems with that try changing you url to example.com/index.php , so the script uses urls like example.com/index.php?action=post .

EVEFleets

October 9th, 2008

Welcome to EVEFleets, the revolutionary fleetposting System.

Basically it allows you to post fleets that are selfinvite in EVE-online on a website and your alliance/corpmembers just need to click the link to get into the fleet. This way people that just logged in and who want to see what fleets are going can have a quick look at the site and can chose what fleet to join.

If you want to try it out , use your InGame browser and goto : http://evefleets.flami.net/

To download it goto the download section.

If want to know how to use it check the help section.

Also you might want to keep an eye on the News section to see if something happens.

There is a Forum Threat on the Eve-online Forums

You need PHP5 and A MySQL database, to make things more comfortable having access to a crontab/scheduler is nice

EveFleet 0.5.2 released

October 7th, 2008

Made some minor cosmetical changes to some liks that appear on the site

Get it while its fresh 😉

EveFleet 0.5.1

October 3rd, 2008

Yeah after a long while I updated EvEFleet again ^^.

Now you can set admins that can delete or edit any fleet.

I also fixed a bug where people using the German client couldnt post fleets, as their client is the only one that is actually 100% localized, so Fleet Invites are in German.

Evil KFileShare

May 30th, 2008

You try to get samba/NFS shares to work conveniently in Konqueror ? You configured the filesharing correctly but you still only get this lousy “You need to be authorized to share folders” everytime , no matter what you try, even if you disable the filesharing ? Well then you might have a problem with the privileges on /etc/security/fileshare.conf , so ” chmod 644 /etc/security/fileshare.conf ” to make it readable for anyone else. Konqueror will not tell you if it cannot read the config file and just give you that same error all the time.

Normally this shouldn’t happen, and I couldn’t reproduce KFileShare creating a config file with the wrong privileges. For some reason the config file it created the 1st time was only readable by root, which then made it impossible to get the config for any user that was not root. Took me quite a while to figure it out, but thanks to a nice read in the sourcecode, I finally figured out that it couldnt read the config.

Now finally I have “less clicks then writing the config file on your own” file sharing enabled.