28 pre_record_enabled(false), pre_record_time(20),
29 record_time_limited(false), record_time(5*60),
30 start_time_enabled(false), start_time(QDateTime::currentDateTime()),
31 record_trigger_enabled(false), record_trigger(30),
32 amplification_enabled(false), amplification(+3),
33 agc_enabled(false), agc_decay(50),
34 fade_in_enabled(false), fade_in_time(5),
35 fade_out_enabled(false), fade_out_time(5),
36 device_name(
_(
"plug:dsnoop")),
52 #define GET(value,func) \ 53 value = list[index++].func(&ok); \ 55 if (!ok) return -EINVAL; 64 if (list.count() != 17)
return -EINVAL;
67 unsigned int method_index;
68 GET(method_index, toUInt);
70 static_cast<Kwave::record_method_t>(method_index) :
83 start_time = QDateTime::fromString(list[index++], Qt::ISODate);
92 t.setHMS(t.hour(), t.minute(), 0, 0);
137 #define PUT(value) list += param.setNum(value) unsigned int bits_per_sample
static Kwave::Compression::Type fromInt(int i)
unsigned int pre_record_time
unsigned int record_trigger
bool record_trigger_enabled
Kwave::SampleFormat::Format sample_format
Kwave::record_method_t method
Kwave::Compression::Type compression
unsigned int buffer_count
virtual int fromList(const QStringList &list)
virtual QStringList toList() const