aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/rtp_audio_stream.cpp
diff options
context:
space:
mode:
authorJirka Novak <j.novak@netsystem.cz>2021-04-25 19:32:25 +0200
committerJirka Novak <j.novak@netsystem.cz>2021-04-26 10:57:22 +0200
commitc1084fe97e764c97a9971e97be07df7a98807534 (patch)
tree711a32709c8cb38e7b419f68b20d5f3c60b7fcf1 /ui/qt/rtp_audio_stream.cpp
parentfd14396972733e8e2e1023150f628e3aa7370b18 (diff)
RTP Player: Settings for enabling use of disk as temporarly store
New advanced settings are created: - rtp_player_use_disk1 - controls if decoded samples are stored in memory or on disk. - rtp_player_use_disk2 - controls if dictionary for decoded samples is stored in memory or on disk. - documentation updated
Diffstat (limited to 'ui/qt/rtp_audio_stream.cpp')
-rw-r--r--ui/qt/rtp_audio_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/rtp_audio_stream.cpp b/ui/qt/rtp_audio_stream.cpp
index c2774f85ee..994894d37b 100644
--- a/ui/qt/rtp_audio_stream.cpp
+++ b/ui/qt/rtp_audio_stream.cpp
@@ -72,7 +72,7 @@ RtpAudioStream::RtpAudioStream(QObject *parent, rtpstream_id_t *id, bool stereo_
try {
// RtpAudioFile is ready for writing Frames
- audio_file_ = new RtpAudioFile();
+ audio_file_ = new RtpAudioFile(prefs.gui_rtp_player_use_disk1, prefs.gui_rtp_player_use_disk2);
} catch (...) {
speex_resampler_destroy(visual_resampler_);
rtpstream_info_free_data(&rtpstream_);