Hi all,
While working on the v4l2-compliance tool I came across an ambiguous
specification.
The question is whether VIDIOC_S_TUNER should accept audmode values other
then MONO and STEREO for FM radio devices.
On the one hand the description of VIDIOC_S_TUNER says:
"Drivers may choose a different audio mode if the requested mode is invalid or
unsupported."
On the other hand the clearly mention that the non-MONO and -STEREO modes are
for analog TV only.
The return code description says that -EINVAL is only returned in case of an
invalid index value.
I'm inclined to say that for radio devices any audmodes other than MONO and
STEREO should cause a -EINVAL error.
Alternatively we could define that any other audmodes are accepted but map to
STEREO instead.
Comments?
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html