Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: change volume of soundcard



> Hi,
>
> I want the VolUp, VolDown and Mute keys of my remote
> to change the volume of my sound card.
>
> I could probably do this with the User1 ... keys but they
> always let some text on the OSD pop up for  a moment,
> and repeat does not seem to work.

You can use cStatus to be informed about volume changes in VDR.
Look into the code of the plugin described in
http://www.linuxtv.org/mailinglists/vdr/2004/01-2004/msg00369.html
to find sample code that keeps the soundcard mixer in sync with VDR.

>
> I could have lircd listen on /dev/input/eventX but
> /dev/input/eventX is opened exclusively by vdr.
>
> Is there any way that vdr can pass events along to other
> apps like calling "aumix -v+5"  instead of interpreting them
> itself?
>
> If not, would something like this make sense:
>
> Extend remote.conf. If identical, vdr behaves as always.
> If anything is entered behind the key code, interpret
> the rest of the line as a shell command:
>
> remote-event2.Volume+	0000000100010073	aumix -v+5
> remote-event2.Volume-	0000000100010072	aumix -v-5
>
> this could be extended to replace keymacros.conf:
>
> remote-event2.User1	0000000xxxxxxxxxx		Macro [@plugin] key1 key2 ...
>
> where Macro is a literal
>
> --
> Wolfgang


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index