WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pulseaudio  (Read 3358 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
pulseaudio
« on: May 20, 2010, 01: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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pulseaudio
« Reply #1 on: May 20, 2010, 01: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.
« Last Edit: May 20, 2010, 03:39:13 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pulseaudio
« Reply #2 on: May 20, 2010, 05:01:55 AM »
Ah - I'd forgotten to rescan the udev rules - module-udev-detect now seems to work.

Updated extension uploaded.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: pulseaudio
« Reply #3 on: May 31, 2010, 12: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
« Last Edit: May 31, 2010, 01:01:21 PM by Arslan S. »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pulseaudio
« Reply #4 on: May 31, 2010, 08: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pulseaudio
« Reply #5 on: June 05, 2010, 04: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
}

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pulseaudio
« Reply #6 on: June 12, 2010, 05:36:18 AM »
deps adjusted to use Xorg-7.5-lib rather than libXtst

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: pulseaudio
« Reply #7 on: June 12, 2010, 08:33:49 AM »
There's a separate extension just for that?

edit: Seems to be gone now ;)
« Last Edit: June 12, 2010, 08:36:04 AM by curaga »
The only barriers that can stop you are the ones you create yourself.