| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal User Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
| It's correct the code for tune Radio Channel? foreach (ITVCard Tuner in xCards.Cards) { if (Tuner is TvCardAnalog) { float FrecFMIni = 85.0; float FrecFMFin = 108.0; float FrecFMSalto = 0.1; AnalogChannel xCanal; for (int nFrecuencia = FrecFMIni; nFrecuencia < FrecFMFin; nFrecuencia += FrecFMSalto) { xCanal = new AnalogChannel(); xCanal.Country = countries.GetTunerCountry("Spain"); xCanal.TunerSource = TunerInputType.Antenna; xCanal.VideoSource = AnalogChannel.VideoInputType.Tuner; xCanal.Frequency = nFrecuencia * 1000000; Tuner.Tune(0, (IChannel)xCanal); Thread.Sleep(1000); if (Tuner.IsTunerLocked && xCanal.IsRadio) MsgBox.Show( "Channel Ok" ); } } } Thank's Last edited by arogerm; 2007-11-21 at 23:48. |
| | |
![]() |
| Bookmarks |
| Tags |
| channel, radio, tune |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question: How Do I Tune TV Channel to pickup S-Video Input (Cable) | gcarter | General Support | 9 | 2008-08-21 22:32 |
| Can't tune channel after renaming it | Das Hammer | General Talk | 4 | 2007-08-24 21:07 |
| Two TT3200 Sometimes One card can´t tune a Channel | liberation | pre 1.0 RC1 | 4 | 2007-06-20 13:32 |
| Tul/PowerColor ATI550 Pro unable to tune radio | zxcvbnm2 | pre 1.0 RC1 | 1 | 2007-03-11 20:51 |
| Unable to tune Analog Channel 58! | primo525 | General Support | 0 | 2007-01-08 20:21 |