src/libtsduck/dtv/tsTunerArgs.cpp
void ts::TunerArgs::reset()
{
    device_name.clear();
    signal_timeout = Tuner::DEFAULT_SIGNAL_TIMEOUT;
    receive_timeout = 0;
#if defined(TS_LINUX)
    demux_buffer_size = Tuner::DEFAULT_DEMUX_BUFFER_SIZE;
#elif defined(TS_WINDOWS)
    demux_queue_size = Tuner::DEFAULT_SINK_QUEUE_SIZE;
    receiver_name.clear();
#endif
    channel_name.clear();
    tuning_file_name.clear();

    // Reset superclass.
    ModulationArgs::reset();
}
//----------------------------------------------------------------------------
// Reset all values, they become "unset"
//----------------------------------------------------------------------------
Reset all values, they become "unset"
Reset all values they become " unset "
void ts::TunerArgs::reset()
{
    device_name.clear();
    signal_timeout = Tuner::DEFAULT_SIGNAL_TIMEOUT;
    receive_timeout = 0;
#if defined(TS_LINUX)
    demux_buffer_size = Tuner::DEFAULT_DEMUX_BUFFER_SIZE;
#elif defined(TS_WINDOWS)
    demux_queue_size = Tuner::DEFAULT_SINK_QUEUE_SIZE;
    receiver_name.clear();
#endif
    channel_name.clear();
    tuning_file_name.clear();
    ModulationArgs::reset();
}
void ts :: TunerArgs :: reset ( ) { device_name . clear ( ) ; signal_timeout = Tuner :: DEFAULT_SIGNAL_TIMEOUT ; receive_timeout = 0 ; #if defined ( TS_LINUX ) demux_buffer_size = Tuner :: DEFAULT_DEMUX_BUFFER_SIZE ; #elif defined ( TS_WINDOWS ) demux_queue_size = Tuner :: DEFAULT_SINK_QUEUE_SIZE ; receiver_name . clear ( ) ; #endif channel_name . clear ( ) ; tuning_file_name . clear ( ) ; ModulationArgs :: reset ( ) ; }
Reset all values, they become "unset"
Reset all values they become " unset "
// Reset superclass.