On Fri, 2014-05-09 at 18:19 +0500, Ibrar Ahmed wrote:
> Ah, sorry I missed that, thanks for your reply.
>
>
>
>
> Can we change the volume of specified channel, (Right or Left) ?
pa_context_set_sink_input_volume() takes a pa_cvolume parameter, which
contains separate volumes for each channel.
Ah, sorry I missed that, thanks for your reply.
Can we change the volume of specified channel, (Right or Left) ?
On Fri, May 9, 2014 at 5:53 PM, Tanu Kaskinen wrote:
> On Fri, 2014-05-09 at 17:11 +0500, Ibrar Ahmed wrote:
> > I want to change the volume after connecting( calling
> > pa_strea
On Fri, 2014-05-09 at 17:11 +0500, Ibrar Ahmed wrote:
> I want to change the volume after connecting( calling
> pa_stream_connect_playback) to the stream, should i call
> pa_stream_connect_playback again and again whenever i want to change
> volume?
Did you miss my earlier reply?
http://thread.gm
I want to change the volume after connecting( calling
pa_stream_connect_playback) to the stream, should i call
pa_stream_connect_playback again and again whenever i want to change volume?
> On 09-May-2014, at 12:38 pm, Rémi Denis-Courmont wrote:
>
> Le 2014-05-07 23:50, Ibrar Ahmed a écrit :
Le 2014-05-07 23:50, Ibrar Ahmed a écrit :
I am writing a program to play audio using libpulse on linux. I have
successfully played the audio, but need to know how to change the
volume. I am able to start the stream using
v = PA_VOLUME_NORM;
pa_cvolume_set(&m_lcvolume, 1, v);
pa_stream_connect_p
On Thu, 2014-05-08 at 15:34 +0500, Ibrar Ahmed wrote:
> Is this the right forum to ask these type of question?
Yes.
> On Thu, May 8, 2014 at 1:50 AM, Ibrar Ahmed
> wrote:
> I am writing a program to play audio using 'libpulse' on
> linux. I have successfully played the audio, but
Is this the right forum to ask these type of question?
On Thu, May 8, 2014 at 1:50 AM, Ibrar Ahmed wrote:
> I am writing a program to play audio using 'libpulse' on linux. I have
> successfully played the audio, but need to know how to change the volume.
> I am able to start the stream using
>
I am writing a program to play audio using 'libpulse' on linux. I have
successfully played the audio, but need to know how to change the volume. I
am able to start the stream using
v = PA_VOLUME_NORM;
pa_cvolume_set(&m_lcvolume, 1, v);
pa_stream_connect_playback(s, NULL, &attr, PA_STREAM_NOFLAGS,