1.21. FM Receiver Control Reference¶
The FM Receiver (FM_RX) class includes controls for common features of FM Reception capable devices.
1.21.1. FM_RX Control IDs¶
The FM_RX class descriptor. Calling ioctls VIDIOC_QUERYCTRL, VIDIOC_QUERY_EXT_CTRL and VIDIOC_QUERYMENU for this control will return a description of this control class.
Enables/disables RDS reception by the radio tuner
Gets RDS Programme Type field. This encodes up to 31 pre-defined programme types.
Gets the Programme Service name (PS_NAME). It is intended for static display on a receiver. It is the primary aid to listeners in programme service identification and selection. In Annex E of IEC 62106, the RDS specification, there is a full description of the correct character encoding for Programme Service name strings. Also from RDS specification, PS is usually a single eight character text. However, it is also possible to find receivers which can scroll strings sized as 8 x N characters. So, this control must be configured with steps of 8 characters. The result is it must always contain a string with size multiple of 8.
Gets the Radio Text info. It is a textual description of what is being broadcasted. RDS Radio Text can be applied when broadcaster wishes to transmit longer PS names, programme-related information or any other text. In these cases, RadioText can be used in addition to
V4L2_CID_RDS_RX_PS_NAME. The encoding for Radio Text strings is also fully described in Annex E of IEC 62106. The length of Radio Text strings depends on which RDS Block is being used to transmit it, either 32 (2A block) or 64 (2B block). However, it is also possible to find receivers which can scroll strings sized as 32 x N or 64 x N characters. So, this control must be configured with steps of 32 or 64 characters. The result is it must always contain a string with size multiple of 32 or 64.
If set, then a traffic announcement is in progress.
If set, then the tuned programme carries traffic announcements.
If set, then this channel broadcasts music. If cleared, then it broadcasts speech. If the transmitter doesn’t make this distinction, then it will be set.
- enum v4l2_deemphasis -
Configures the de-emphasis value for reception. A de-emphasis filter is applied to the broadcast to accentuate the high audio frequencies. Depending on the region, a time constant of either 50 or 75 useconds is used. The enum v4l2_deemphasis defines possible values for de-emphasis. Here they are:
No de-emphasis is applied.
A de-emphasis of 50 uS is used.
A de-emphasis of 75 uS is used.