Skip to content

Commit 46e068f

Browse files
pre-commit-ci[bot]Remi-Gau
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d96fda2 commit 46e068f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/utils/ptb_soundDevice_test.m

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,37 @@
1212

1313
% tmp = [2 3 9];
1414

15-
for idx = 10
16-
15+
for idx = 10
16+
1717
fprintf(1, '\n%i: %s\n', idx, audioDev(idx).DeviceName);
18-
18+
1919
cfg.audio.devIdx = audioDev(idx).DeviceIndex;
20-
20+
2121
% get device's sampling rate
2222
cfg.audio.fs = audioDev(idx).DefaultSampleRate;
23-
23+
2424
try
2525
cfg.audio.pahandle = PsychPortAudio('Open', ...
2626
cfg.audio.devIdx, ...
2727
cfg.audio.playbackMode, ...
2828
cfg.audio.requestedLatency, ...
2929
cfg.audio.fs, ...
3030
cfg.audio.channels);
31-
31+
3232
clear sound
3333
sound = rand(cfg.audio.channels, cfg.audio.fs);
34-
34+
3535
PsychPortAudio('FillBuffer', cfg.audio.pahandle, sound);
3636
PsychPortAudio('Start', cfg.audio.pahandle);
37-
37+
3838
WaitSecs(1.5);
39-
39+
4040
PsychPortAudio('Close');
41-
41+
4242
WaitSecs(1);
4343
catch
4444
end
45-
46-
pressSpaceForMe
47-
45+
46+
pressSpaceForMe
47+
4848
end

0 commit comments

Comments
 (0)