src/libtsduck/dtv/tsTunerArgs.cpp
bool ts::TunerArgs::resolveChannel(const DeliverySystemSet& systems, Report& report)
{
    if (channel_name.empty()) {
        // No channel name to resolve.
        return true;
    }
    else {
        ChannelFile file;
        return file.load(tuning_file_name, report) && file.serviceToTuning(*this, systems, channel_name, false, report);
    }
}
//----------------------------------------------------------------------------
// If a channel name was specified instead of modulation parameters,
// load its description from the channel file.
//----------------------------------------------------------------------------
If a channel name was specified instead of modulation parameters,
load its description from the channel file.
If a channel name was specified instead of modulation parameters load its description from the channel file .
bool ts::TunerArgs::resolveChannel(const DeliverySystemSet& systems, Report& report)
{
    if (channel_name.empty()) {
        return true;
    }
    else {
        ChannelFile file;
        return file.load(tuning_file_name, report) && file.serviceToTuning(*this, systems, channel_name, false, report);
    }
}
bool ts :: TunerArgs :: resolveChannel ( const DeliverySystemSet & systems , Report & report ) { if ( channel_name . empty ( ) ) { return true ; } else { ChannelFile file ; return file . load ( tuning_file_name , report ) && file . serviceToTuning ( * this , systems , channel_name , false , report ) ; } }
If a channel name was specified instead of modulation parameters,
load its description from the channel file.
If a channel name was specified instead of modulation parameters load its description from the channel file .
// No channel name to resolve.