[mythtv-users] Per Card Volume Control Bounty started
Tom Lichti
tom at redpepperracing.com
Sat Sep 9 06:53:14 UTC 2006
Anduin Withers wrote:
>> Definitely not wanting to interrupt the conversation here, but might
>> it be worth while for Anduin Withers to accept the bounty and complete
>> this? I realize that the point of this discussion is whether bounties
>> are worth it or not, but isn't this a good example of where a small
>> bounty might be worth the time involved in doing it yourself rather
>> than a "how's my progress" interaction?
>>
>
> He currently isn't pursuing an actual fix, at least not that I can see.
> Basically commenting out that tiny chunk of code is a workaround that will
> allow him to set the audio levels outside MythTV and expect them to remain
> (in other words I'd suspect the back and forth will stop somewhat soon).
>
Exactly what I am trying to do. I just want to stop Myth from setting
the level, now that I have all corrects pretty close via ivtvctl. I am
NOT trying to make this a complete solution, but it works for me.
Anduin, thank you for pointing me in the right direction, it seems to
work fairly well. I have modified the patch slightly based on your
comment. If this is correct (see below) then you won't hear from me
again on this subject... :)
> I'm currently in the "bounties make me feel dirty" camp. I've neither read
> significantly about nor been involved with any project where bounties were
> used, so I'm hesitant to judge their impact (other than long threads on this
> list).
>
Sorry for that...
Tom
Index: libs/libmythtv/mpegrecorder.cpp
===================================================================
--- libs/libmythtv/mpegrecorder.cpp (revision 11073)
+++ libs/libmythtv/mpegrecorder.cpp (working copy)
@@ -322,6 +322,7 @@
return false;
}
+/* Trying to remove audio setting
struct v4l2_control ctrl;
ctrl.id = V4L2_CID_AUDIO_VOLUME;
ctrl.value = 65536 / 100 *audvolume;
@@ -333,6 +334,7 @@
"If you are using an AverMedia M179 card this is normal.");
}
+*/
if (!SetIVTVDeviceOptions(chanfd) && !SetV4L2DeviceOptions(chanfd))
return false;
More information about the mythtv-users
mailing list