mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Fix bug adding first samples twice
This commit is contained in:
parent
72481999df
commit
1c5c9cb31b
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ void Recording::addFrame(int timestamp, RecordingFrame &frame) {
|
|||
void Recording::addAudioPacket(QByteArray byteArray) {
|
||||
if (!_audio) {
|
||||
_audio = new Sound(byteArray);
|
||||
return;
|
||||
}
|
||||
_audio->append(byteArray);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue