File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -191,18 +191,18 @@ void CacheDisk::Add(std::shared_ptr<Frame> frame)
191191
192192 if (audio_file.open (QIODevice::WriteOnly)) {
193193 QTextStream audio_stream (&audio_file);
194- audio_stream << frame->SampleRate () << endl;
195- audio_stream << frame->GetAudioChannelsCount () << endl;
196- audio_stream << frame->GetAudioSamplesCount () << endl;
197- audio_stream << frame->ChannelsLayout () << endl;
194+ audio_stream << frame->SampleRate () << Qt:: endl;
195+ audio_stream << frame->GetAudioChannelsCount () << Qt:: endl;
196+ audio_stream << frame->GetAudioSamplesCount () << Qt:: endl;
197+ audio_stream << frame->ChannelsLayout () << Qt:: endl;
198198
199199 // Loop through all samples
200200 for (int channel = 0 ; channel < frame->GetAudioChannelsCount (); channel++)
201201 {
202202 // Get audio for this channel
203203 float *samples = frame->GetAudioSamples (channel);
204204 for (int sample = 0 ; sample < frame->GetAudioSamplesCount (); sample++)
205- audio_stream << samples[sample] << endl;
205+ audio_stream << samples[sample] << Qt:: endl;
206206 }
207207
208208 }
You can’t perform that action at this time.
0 commit comments