After installing the  2.6.36-1-generic Ubuntu-kernel I also noticed the 
missing audio. 

The audio immidiately re-appears when I do a
v4l2-ctl --set-ctrl=volume=58880 -d 1. I can choose different volumes and it 
alwys works.

But if I set the volume with my application (pvrinput) the audio always gets 
muted immidiately. No matter how often and which volume I choose, it keeps 
silent.

The code looks like this:

  struct v4l2_ext_controls ctrls;
  struct v4l2_ext_control  ctrl;

  ctrl.id    = control;
  ctrl.value = Val;

  ctrls.ctrl_class = control_class;
  ctrls.controls = &ctrl;
  ctrls.count = 1;
 
  ioctl(v4l2_fd, VIDIOC_S_EXT_CTRLS, &ctrls);

So what is v4l2-ctl doing different?

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to