[KDE/Mac] Fwd: [MacPorts] #46658: pulseaudio builds but doesn't work

René J.V. Bertin rjvbertin at gmail.com
Fri Jan 23 13:53:16 UTC 2015


Hi,

A request (https://trac.macports.org/ticket/46558#comment:3) brought me to have another look at pulseaudio and sound playing through KDE's internals. I can now run pulseaudio manually and get sound without using an external play command. Progress, but not resolution, esp. since the device names appear to change each time pulseaudio is restarted, which makes it hard (impossible?) to set a default sink that's not the built-in speaker system.

R.

----------  Forwarded Message  ----------

Subject: [MacPorts] #46658: pulseaudio builds but doesn't work
Date: Friday January 23 2015, 13:24:40
From: MacPorts <noreply at macports.org>
To: rjvbertin at gmail.com, macports-tickets at lists.macosforge.org
CC: devans at macports.org

#46658: pulseaudio builds but doesn't work
-------------------------+--------------------------------
 Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.3
 Keywords:               |       Port:  pulseaudio
-------------------------+--------------------------------
 port:pulseaudio appears to be missing a proper configuration that makes
 the pulseaudio service function on OS X.
snip


 Editing /opt/local/etc/pulse/default.pa such that
 {{{
 --- pulseaudio-mp9-work/pulseaudio-5.0/src/default.pa   2015-01-23
 02:45:48.000000000 +0100
 +++ /opt/local/etc/pulse/default.pa     2015-01-23 14:23:05.000000000
 +0100
 @@ -48,9 +48,12 @@
  #load-module module-pipe-sink

  ### Automatically load driver modules depending on the hardware available
 -.ifexists module-detect.so
 +#.ifexists module-detect.so
  ### Use the static hardware detection module (for systems that lack udev
 support)
 -load-module module-detect
 +#load-module module-detect
 +#.endif
 +.ifexists module-coreaudio-detect.so
 +load-module module-coreaudio-detect
  .endif

  ### Automatically connect sink and source if JACK server is present
 @@ -66,6 +69,7 @@
  load-module module-esound-protocol-unix
  .endif
  load-module module-native-protocol-unix
 +#load-module module-coreaudio-device

  ### Network access (may be configured with paprefs, so leave this
 commented
  ### here if you plan to use paprefs)
 @@ -110,12 +114,12 @@

  ### If autoexit on idle is enabled we want to make sure we only quit
  ### when no local session needs us anymore.
 -.ifexists module-console-kit.so
 -load-module module-console-kit
 -.endif
 -.ifexists module-systemd-login.so
 -load-module module-systemd-login
 -.endif
 +#.ifexists module-console-kit.so
 +#load-module module-console-kit
 +#.endif
 +#.ifexists module-systemd-login.so
 +#load-module module-systemd-login
 +#.endif

  ### Enable positioned event sounds
  load-module module-position-event-sounds
 }}}

 I get a bit further:

snip


 Note that I have a session DBus running for use with KDE apps, AFAIK
 running a system DBus in addition is out of the question.

-- 
Ticket URL: <https://trac.macports.org/ticket/46658>
MacPorts <https://www.macports.org/>
Ports system for OS X
-----------------------------------------


More information about the kde-mac mailing list