Frequency Tables
Microsoft DirectShow 9.0 |
Frequency Tables
The TV Tuner filter (kstvtune.ax) has an internal list of frequency tables. Each frequency table contains a list of frequencies, and corresponds to the broadcast or cable frequencies for a given country/region. An application tunes to a particular frequency by calling the IAMTuner::put_Channel method with the index of the desired frequency.
For some countries/regions, the index numbers of the frequency tables map directly to channel numbers. Fixed channel numbers are not appropriate for all markets, however. For instance, the European channel numbers are not actually used by consumers. Instead, consumers expect to choose and assign their own channel numbers for the frequencies that are used by the broadcast or cable operators in their area. For these countries/regions, applications should not expose the index numbers directly to the user. Instread, the application should keep an internal mapping between channel numbers (presented to the user) and frequency indexes (for tuning).
Most non-US cable operators are free to broadcast on frequencies of their choosing, often mixing frequencies from different standards into the same channel lineup. Therefore, a "Unicable" frequency table is used for any country/region that lacks a standard cable channel standards authority. Also, a mechanism is provided to override individual frequencies in the frequency tables. This mechanism is described in the following section, Frequency Overrides.