1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

Audio output device recording: save record file name and record silence time

This commit is contained in:
f4exb 2022-11-11 23:21:50 +01:00
parent 4a383e439b
commit 1ca47ddcc9

View File

@ -50,7 +50,9 @@ QDataStream& operator<<(QDataStream& ds, const AudioDeviceManager::OutputDeviceI
<< info.udpUseRTP << info.udpUseRTP
<< (int) info.udpChannelMode << (int) info.udpChannelMode
<< (int) info.udpChannelCodec << (int) info.udpChannelCodec
<< info.udpDecimationFactor; << info.udpDecimationFactor
<< info.fileRecordName
<< info.recordSilenceTime;
return ds; return ds;
} }
@ -66,7 +68,9 @@ QDataStream& operator>>(QDataStream& ds, AudioDeviceManager::OutputDeviceInfo& i
>> info.udpUseRTP >> info.udpUseRTP
>> intChannelMode >> intChannelMode
>> intChannelCodec >> intChannelCodec
>> info.udpDecimationFactor; >> info.udpDecimationFactor
>> info.fileRecordName
>> info.recordSilenceTime;
info.udpChannelMode = (AudioOutputDevice::UDPChannelMode) intChannelMode; info.udpChannelMode = (AudioOutputDevice::UDPChannelMode) intChannelMode;
info.udpChannelCodec = (AudioOutputDevice::UDPChannelCodec) intChannelCodec; info.udpChannelCodec = (AudioOutputDevice::UDPChannelCodec) intChannelCodec;
return ds; return ds;