View Full Version : [other] Listing Available Sinks using pulse-audio

June 23rd, 2011, 11:12 AM

I have a scenario where I need to play a source in different sinks available in the system. I have done the playback using the simple pulse audio playback programme which is der in the pulse audio examples. But now i have a problem.

Can anyone please help me out with three simple functions :
1. To list the available sinks in the system as an array with the index using pulse audio.
2. To assign an application with a particular sink from the list of sinks.
3. To set the volume of a particular aplication thats being played.

Suggestions are always welcome as always.:)