Re: [pulseaudio-discuss] Volume algorithm

2011-03-07 Thread Tarantism
On Sun, 2011-03-06 at 22:55 +, Tarantism wrote: On Sun, 2011-03-06 at 22:48 +0200, Tanu Kaskinen wrote: Are you planning to use the module outside Maemo 5 (I assume you're talking about Maemo 5)? I ask because Pulseaudio's internal API that modules use isn't stable, so modules that

Re: [pulseaudio-discuss] Volume algorithm

2011-03-07 Thread Colin Guthrie
'Twas brillig, and Tarantism at 07/03/11 20:19 did gyre and gimble: The volume system on Maemo is a bit peculiar. The system volume doesn't touch any sink volumes (except with bluetooth in HSP/HFP mode), all volume control is done by adjusting stream volumes. If you want to use the

Re: [pulseaudio-discuss] Volume algorithm

2011-03-06 Thread Tanu Kaskinen
On Sat, 2011-03-05 at 11:29 +, Tarantism wrote: On Sat, 2011-03-05 at 11:08 +, Colin Guthrie wrote: 'Twas brillig, and Tarantism at 04/03/11 22:23 did gyre and gimble: I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm does pulse

Re: [pulseaudio-discuss] Volume algorithm

2011-03-06 Thread Tarantism
On Sun, 2011-03-06 at 22:48 +0200, Tanu Kaskinen wrote: Are you planning to use the module outside Maemo 5 (I assume you're talking about Maemo 5)? I ask because Pulseaudio's internal API that modules use isn't stable, so modules that aren't part of Pulseaudio itself break very likely if you

Re: [pulseaudio-discuss] Volume algorithm

2011-03-05 Thread Colin Guthrie
'Twas brillig, and Tarantism at 04/03/11 22:23 did gyre and gimble: I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm does pulse usually implement for this so that I can match it? Can you explain a little more what you're trying to do? You

Re: [pulseaudio-discuss] Volume algorithm

2011-03-05 Thread Tarantism
On Sat, 2011-03-05 at 11:08 +, Colin Guthrie wrote: 'Twas brillig, and Tarantism at 04/03/11 22:23 did gyre and gimble: I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm does pulse usually implement for this so that I can match it?

Re: [pulseaudio-discuss] Volume algorithm

2011-03-05 Thread Colin Guthrie
'Twas brillig, and Tarantism at 05/03/11 11:29 did gyre and gimble: On Sat, 2011-03-05 at 11:08 +, Colin Guthrie wrote: 'Twas brillig, and Tarantism at 04/03/11 22:23 did gyre and gimble: I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm

Re: [pulseaudio-discuss] Volume algorithm

2011-03-05 Thread Tarantism
On Sat, 2011-03-05 at 12:00 +, Colin Guthrie wrote: If you have a sink_input in your code, can you not simply use: pa_sink_input_set_volume() ? I'll try that. I'm still not 100% sure what you're meaning tho'. If your system volume is totally busted, then pa_sink_input_set_volume() wont

[pulseaudio-discuss] Volume algorithm

2011-03-04 Thread Tarantism
I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm does pulse usually implement for this so that I can match it? ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de