Changeset 40765


Ignore:
Timestamp:
08/18/17 19:09:30 (5 years ago)
Author:
gost
Message:

test scan dvb-t2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/frontenddev.h

    r40762 r40765  
    16501650        int bandwidth = tpnode->symbolrate; //symbolrate = bandwidth on DVBT
    16511651        switch(bandwidth)
     1652
     1653#if DVB_API_VERSION >= 5       
     1654        {
     1655                case 0: bandwidth = 8000000; break;
     1656                case 1: bandwidth = 7000000; break;
     1657                case 2: bandwidth = 6000000; break;
     1658                case 3: bandwidth = 5000000; break;
     1659                default: bandwidth = 0; break;
     1660        }
     1661#else   
    16521662        {
    16531663                case 0: bandwidth = BANDWIDTH_8_MHZ; break;
     
    16571667                default: bandwidth = BANDWIDTH_AUTO; break;
    16581668        }
     1669#endif
    16591670       
    16601671        int transmission = tpnode->pilot; //pilot = transmission on DVBT
Note: See TracChangeset for help on using the changeset viewer.