[pulseaudio-discuss] Default sources/sinks

2010-04-06 Thread Brendon Costa
Hi all, I have started using pulse audio for some app development. In our existing application which I am porting to Linux, we ask the OS for a list of the devices, including which of those devices is the default device. This information is used to show a list of audio devices to a user that they

Re: [pulseaudio-discuss] Default sources/sinks

2010-04-06 Thread Mateusz Viste
On Tuesday 06 April 2010 08:48 (CEST), Brendon Costa wrote: With PA I can successfully enumerate the sources/sinks, however I seem to find out which source or sink is the system default. For example there does not seem to be a field in pa_sink_info or pa_source_info structures for the default

Re: [pulseaudio-discuss] Default sources/sinks

2010-04-06 Thread Colin Guthrie
'Twas brillig, and Brendon Costa at 06/04/10 07:48 did gyre and gimble: Hi all, I have started using pulse audio for some app development. In our existing application which I am porting to Linux, we ask the OS for a list of the devices, including which of those devices is the default

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Tanu Kaskinen
ti, 2010-04-06 kello 07:08 +0200, Fabrice DELENTE kirjoitti: Thanks for the advice. However, I won't go through Slackware's support channel, since my distribution has been long modified: after the initial install, I recompile many packages myself to have the latest version, so I'm not sure

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Fabrice DELENTE
The man page says this: -n Don't load default script file default.pa (see below) on startup. Useful in conjunction with -C or --file. I guess your problem with your config file is that you're not using it at all. Thanks for the tips, I had

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Tanu Kaskinen
ti, 2010-04-06 kello 18:17 +0200, Fabrice DELENTE kirjoitti: The man page says this: -n Don't load default script file default.pa (see below) on startup. Useful in conjunction with -C or --file. I guess your problem with your config file is

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Fabrice DELENTE
I suggest you read these three blog articles by Colin Guthrie: Ok, I will. So maybe you didn't start from http://pulseaudio.org/wiki/FirstSteps after all? Because that page says The best idea is to configure your daemon in /etc/pulse/daemon.conf and /etc/pulse/default.pa and to run

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Tanu Kaskinen
ti, 2010-04-06 kello 19:06 +0200, Fabrice DELENTE kirjoitti: I suggest you read these three blog articles by Colin Guthrie: Ok, I will. So maybe you didn't start from http://pulseaudio.org/wiki/FirstSteps after all? Because that page says The best idea is to configure your daemon in

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Fabrice DELENTE
I guess you just ran pulseaudio in a terminal window? Yep. Colin told you what was wrong - if you fixed those issues, I don't think I fixed them, since I don't know how to fix them :^) hence my asking for how to configure pulseaudio :^) but it still doesn't work, you can paste the new

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Tanu Kaskinen
On Tue, 2010-04-06 at 19:26 +0200, Fabrice DELENTE wrote: org.freedesktop.ConsoleKit was not provided by any .service files The error message claims that the file /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service doesn't exist. Check whether that's true. If that's true, then

Re: [pulseaudio-discuss] How do I use PulseAudio?

2010-04-06 Thread Ng Oon-Ee
On Tue, 2010-04-06 at 20:35 +0300, Tanu Kaskinen wrote: On Tue, 2010-04-06 at 19:26 +0200, Fabrice DELENTE wrote: org.freedesktop.ConsoleKit was not provided by any .service files The error message claims that the file /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service