I am using a Winfast Leadtek TV 2000 XP card and TVTime 1.0.2 to watch analog TV. The TV card's sound output is hooked up to the CD-in of my mainboard (MSI Intel X58 Platinum).
Just recently I managed to get ALSA to correctly recognize the CD-in (see How do I enable CD-in?).
Now I would like TVTime to adjust the ALSA CD slider when turning the volume up and down in TVTime. However, TVTime refuses to do this and I always have to use alsamixer
to control the volume.
I have tried different settings for the MixerDevice
setting in the tvtime.xml
configuration file as suggested e.g. in https://askubuntu.com/a/217462/9598. When using this value, this is the output when running TVTime:
Running tvtime 1.0.2. Reading configuration from /etc/tvtime/tvtime.xml Reading configuration from /home/chrisipk/.tvtime/tvtime.xml ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL mixer: attach error: No such file or directory mixer: Can't open mixer , mixer volume and mute unavailable.
This is what I currently have:
<option name="MixerDevice" value="default/cd"/>
This is the output when running TVTime:
Running tvtime 1.0.2. Reading configuration from /etc/tvtime/tvtime.xml Reading configuration from /home/chris/.tvtime/tvtime.xml mixer: find error: Success mixer: Can't open mixer default, mixer volume and mute unavailable. mixer: Can't open device default/cd, mixer volume and mute unavailable.
The current setting seems to be somewhat right as the output no longer complains about missing a file or directory and contains "find error: Success".
What do I need to do so that TVTime can adjust my CD-in volume?
tvtime | arecord -D hw:1,0 -r 48000 -c 2 -f S16_LE | aplay -
in a terminal in order to make tvtime to gather both audio and video from the device and route it to your master mixer, if this works you may wish to edit your tvtime launcher in order to add this command. Good luck!alsamixer
. The problem is that TVTime can not change the volume. This does not change when I run TVTime using your command.