Tiny Core Linux

Tiny Core Extensions => TCE News => TCE 3.x => Topic started by: Juanito on May 20, 2010, 04:41:09 AM

Title: pulseaudio
Post by: Juanito on May 20, 2010, 04:41:09 AM
updated extension posted:
Code: [Select]
Title:          pulseaudio.tcz
Description:    pulseaudio sound server
Version:        git 2010/05/01
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 892KB
Extension_by:   juanito
Comments:       PulseAudio is a sound system for POSIX OSes, meaning that it is a proxy
                for sound applications. It allows you to do advanced operations on your
                sound data as it passes between your application and your hardware.
                Things like transferring the audio to a different machine, changing
                the sample format or channel count and mixing several sounds into one
                are easily achieved using a sound server
                ----------
                howto:
                alsa needs to be working for whatever sound device you have
                exit to console
                create ~/.X.d/dbus containing:
                "dbus-launch --sh-syntax --exit-with-session"
                startx
                $ pulseaudio -vv [to test]
                create ~/.X.d/pulseaudio containing:
                "pulseaudio -D" [once tested]
                ----------
                if a bluetooth sound devices is paired and configured, pulseaudio
                should find it automatically if the daemon is running
                ----------
                use pavucontrol to switch source & control volume
                ----------
                This extension contains:
                pulseaudio - LGPLv2.1 - git clone git://git.0pointer.de/pulseaudio.git
                ----------
Change-log:     2010/05/01
                added 78-sound-card.rules
Current:        2010/05/17
Title: Re: pulseaudio
Post by: Juanito on May 20, 2010, 04:57:49 AM
This is still very much a work in progress - I can now get module-udev-detect to work, but only by loading extensions like this:

1. pulseaudio [after first removing the dep file so only pulseaudio loads
2. alsa, rhythmbox where order doesn't matter
3. libpulseaudio
4. udev-lib

If I leave pulseaudio.tcz.dep in place and load alsa, rhythmbox, pulseaudio in any order, then module-udev-detect will not detect my sound card.

Perhaps the order in which the file "78-sound-card.rules" and the alsa-modules/udev-lib extension get loaded is important, but at this point nothing is too clear.
Title: Re: pulseaudio
Post by: Juanito on May 20, 2010, 08:01:55 AM
Ah - I'd forgotten to rescan the udev rules - module-udev-detect now seems to work.

Updated extension uploaded.
Title: Re: pulseaudio
Post by: Arslan S. on May 31, 2010, 03:49:57 PM
pulseaudio version is "UNKNOWN" ? as a result configure fails version checking
Code: [Select]
tc@box:~$ pulseaudio --version
pulseaudio UNKNOWN
tc@box:~$ pkg-config libpulse-simple --modversion
UNKNOWN

quick solution is to edit pkgconfig files manually
Code: [Select]
Version: 0.9.30i don't know exact version but it must be something greater than 0.9.21
Title: Re: pulseaudio
Post by: Juanito on May 31, 2010, 11:32:02 PM
i don't know exact version but it must be something greater than 0.9.21

As mentioned in the info file, it was compiled from git - you're right, I also had to edit the pkg-config file to put a version number.

I guess 0.9.22 can be used for now, I will upload an edited version in a day or so.
Title: Re: pulseaudio
Post by: Juanito on June 05, 2010, 07:57:34 AM
Note that you might need to create or add to ~/.asoundrc like this:
Code: [Select]
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}
Title: Re: pulseaudio
Post by: Juanito on June 12, 2010, 08:36:18 AM
deps adjusted to use Xorg-7.5-lib rather than libXtst
Title: Re: pulseaudio
Post by: curaga on June 12, 2010, 11:33:49 AM
There's a separate extension just for that?

edit: Seems to be gone now ;)