Aufgrund eines Versionsupdates wird GitLab am 17.12. zwischen 9:00 und 9:30 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to a version upgrade, GitLab won't be accessible at 17.12. between 9 and 9:30 a.m.

Commit 0efa3781 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter Committed by Marco Berzborn

bugfix: stop button was no longer showing on playback

this was the result of the reduction of the page_size.
this should now work. i did not test this very much, especially recording
parent 83398e47
......@@ -420,6 +420,7 @@ while timeout %normally only one time, one loop
waitFor = sArgs.recsamples ./ sArgs.samplingRate;
elseif playback
ita_verbose_info('start playback',1)
sArgs.block = true;
pageno = hPlayRec('play',single(data.timeData),out_channel_vec);
waitFor = data.nSamples ./ data.samplingRate;
else
......@@ -429,7 +430,7 @@ while timeout %normally only one time, one loop
hPlayRec('reset');
ita_verbose_info('TIMEOUT, I will try a reset and redo',0)
ita_verbose_info(errmsg.message,0);
timeout = true;
timeout = true;
break
end
......@@ -450,7 +451,7 @@ while timeout %normally only one time, one loop
pause(0.01) % pdi changed: was 0.1 before
lastSample = 1;
if sArgs.block && ~timeout && ~using_more_pages
if sArgs.block && ~timeout %&& ~using_more_pages
%if verboseMode || max_buffer_reached, disp('ITA_PORTAUDIO:
%waiting for results'), end;%pdi:please be quiter
isfinished = hPlayRec('isFinished',pageno);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment