void S60RadioTunerControl::MTsoStereoReceptionChanged(TBool aStereo) { TRACE("S60RadioTunerControl::MTsoStereoReceptionChanged" << qtThisPtr() << "stereo" << aStereo); m_isStereo = aStereo; emit stereoStatusChanged(aStereo); }
void V4LRadioControl::setStereoMode(QRadioTuner::StereoMode mode) { bool stereo = true; if(mode == QRadioTuner::ForceMono) stereo = false; v4l2_tuner tuner; memset( &tuner, 0, sizeof( tuner ) ); if ( ioctl( fd, VIDIOC_G_TUNER, &tuner ) >= 0 ) { if(stereo) tuner.audmode = V4L2_TUNER_MODE_STEREO; else tuner.audmode = V4L2_TUNER_MODE_MONO; if ( ioctl( fd, VIDIOC_S_TUNER, &tuner ) >= 0 ) { emit stereoStatusChanged(stereo); } } }
void QXARadioSession::CBStereoStatusChanged(bool isStereo) { emit stereoStatusChanged(isStereo); }