Re: [vdr] vdr-xine adjusting audio-volume

2007-03-23 Thread Marco Skambraks
hi,

I tried it with xineliboutput-plugin

if you use:
XINE_PARAM_AUDIO_AMP_LEVEL and XINE_PARAM_AUDIO_AMP_MUTE
instead of 
xine_param_AUDIO_Volume and XINE_PARAM_AUDIO_MUTE

it works great

I changed it in:
xine_input_vdr.c
line 3485 and 3486
xine_set_param(stream, XINE_PARAM_AUDIO_VOLUME, tmp32);
xine_set_param(stream, XINE_PARAM_AUDIO_MUTE, tmp32=0 ? 1 : 0);

maybe, this helps

marco

On Wed, 21 Mar 2007, Reinhard Nissl wrote:

 Hi,
 
 Halim Sahin wrote:
 
  Hhm, I've had a look into .xine/config and there is this option you've
  mentioned. But I did't find it in xine's setup dialog. It might well be
  that this software mode does what I've mentioned above.
 
 Actually, the config option is in the Gui tab, but I've looked for it in
 the Audio tab.
 
  Thats the right option but it does not work for me.
  Perhaps someone can try this too?
 
  Just to make sure, you are not going to send digital audio data to an
  external decoder, are you? In case you are, the above option doesn't
  
  No I don't have any digital output yet.
 
 I've just had a look what how this option works. Actually, this option
 enables scaling all audio samples, but -- and that's why it doesn't work
 with vdr-xine at the moment -- it uses a different xine-lib stream
 property to signal the requested volume.
 
 If you change the volume in xine's UI, it should work though.
 
 Bye.
 -- 
 Dipl.-Inform. (FH) Reinhard Nissl
 mailto:[EMAIL PROTECTED]
 
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 

--
AMMEC - Accessible Multimedia Entertainment Center

http://www.ammec.de
Email: Marco Skambraks [EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-21 Thread Iain

Hi.

Reinhard Nissl wrote:

Halim Sahin wrote:
  

I was running alsamixer while changing the volume in VDR and in my case,
the PCM volume changes, not the master volume.

Have a look into xine's audio setup page. Maybe changing the alsa mixer
device to PCM helps.
  

Thats not my problem.


So, you don't want to touch the hardware controls at all, right?

Maybe an audio post process plugin could scale all audio samples by a
factor to simulate changing the volume. But I'm sorry, no such plugin
exists at the moment.
  


The older Xine I use (v0.99.4.) has an option Audio mixer control 
method (audio_mixer_method), on the GUI tab, with 2 options. Sound 
card, and Software.

Does the latter do what you're after?

--
Regards, Iain
W: http://www.triv.org.uk/~iain/


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-21 Thread Reinhard Nissl
Hi,

Iain wrote:

 Maybe an audio post process plugin could scale all audio samples by a
 factor to simulate changing the volume. But I'm sorry, no such plugin
 exists at the moment.
 
 The older Xine I use (v0.99.4.) has an option Audio mixer control
 method (audio_mixer_method), on the GUI tab, with 2 options. Sound
 card, and Software.

 Does the latter do what you're after?

Hhm, I've had a look into .xine/config and there is this option you've
mentioned. But I did't find it in xine's setup dialog. It might well be
that this software mode does what I've mentioned above.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-21 Thread Halim Sahin
Hello,
On Mi, Mär 21, 2007 at 08:27:49 +0100, Reinhard Nissl wrote:
 Iain wrote:
 
  Maybe an audio post process plugin could scale all audio samples by a
  factor to simulate changing the volume. But I'm sorry, no such plugin
  exists at the moment.
  
  The older Xine I use (v0.99.4.) has an option Audio mixer control
  method (audio_mixer_method), on the GUI tab, with 2 options. Sound
  card, and Software.
 
  Does the latter do what you're after?
 
 Hhm, I've had a look into .xine/config and there is this option you've
 mentioned. But I did't find it in xine's setup dialog. It might well be
 that this software mode does what I've mentioned above.
 
Thats the right option but it does not work for me.
Perhaps someone can try this too?
Halim


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-21 Thread Halim Sahin
Hi,
On Mi, Mär 21, 2007 at 08:55:10 +0100, Reinhard Nissl wrote:
 Hi,
 
 Halim Sahin wrote:
 
  Hhm, I've had a look into .xine/config and there is this option you've
  mentioned. But I did't find it in xine's setup dialog. It might well be
  that this software mode does what I've mentioned above.
 
  Thats the right option but it does not work for me.
  Perhaps someone can try this too?
 
 Just to make sure, you are not going to send digital audio data to an
 external decoder, are you? In case you are, the above option doesn't

No I don't have any digital output yet.



 work as it processes only decoded audio samples. It cannot modify the
 encoded stream.
 

Halim


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-21 Thread Reinhard Nissl
Hi,

Halim Sahin wrote:

 Hhm, I've had a look into .xine/config and there is this option you've
 mentioned. But I did't find it in xine's setup dialog. It might well be
 that this software mode does what I've mentioned above.

Actually, the config option is in the Gui tab, but I've looked for it in
the Audio tab.

 Thats the right option but it does not work for me.
 Perhaps someone can try this too?

 Just to make sure, you are not going to send digital audio data to an
 external decoder, are you? In case you are, the above option doesn't
 
 No I don't have any digital output yet.

I've just had a look what how this option works. Actually, this option
enables scaling all audio samples, but -- and that's why it doesn't work
with vdr-xine at the moment -- it uses a different xine-lib stream
property to signal the requested volume.

If you change the volume in xine's UI, it should work though.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-19 Thread Reinhard Nissl
Hi,

Halim Sahin wrote:

 Is it possible to adjust audio-volume ins software without chaning the 
 master control?

I was running alsamixer while changing the volume in VDR and in my case,
the PCM volume changes, not the master volume.

Have a look into xine's audio setup page. Maybe changing the alsa mixer
device to PCM helps.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-19 Thread Halim Sahin
Hi,
On Mo, Mär 19, 2007 at 09:09:59 +0100, Reinhard Nissl wrote:
 Hi,
 
 I was running alsamixer while changing the volume in VDR and in my case,
 the PCM volume changes, not the master volume.
 
 Have a look into xine's audio setup page. Maybe changing the alsa mixer
 device to PCM helps.

Thats not my problem.
Best regards


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr-xine adjusting audio-volume

2007-03-19 Thread Reinhard Nissl
Hi,

Halim Sahin wrote:

 I was running alsamixer while changing the volume in VDR and in my case,
 the PCM volume changes, not the master volume.

 Have a look into xine's audio setup page. Maybe changing the alsa mixer
 device to PCM helps.
 
 Thats not my problem.

So, you don't want to touch the hardware controls at all, right?

Maybe an audio post process plugin could scale all audio samples by a
factor to simulate changing the volume. But I'm sorry, no such plugin
exists at the moment.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:[EMAIL PROTECTED]

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr