Skip to content

Commit

Permalink
Fixed Input-volume in Commander form. (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredvs committed Dec 26, 2018
1 parent 3528b98 commit cbe6b5d
Show file tree
Hide file tree
Showing 5 changed files with 344 additions and 337 deletions.
1 change: 0 additions & 1 deletion src/config.mfm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ object configfo: tconfigfo
000000000000000000000000000000000000000000000000
}
windowopacity = -Inf
oncreated = confcreated
moduleclassname = 'tmseform'
object tgroupbox1: tgroupbox
frame.caption = 'Latency ( -1 or < 0 ---> suggested latency )'
Expand Down
21 changes: 1 addition & 20 deletions src/config.pas
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tconfigfo = class(tmseform)
procedure changelatplay(const Sender: TObject);
procedure changelatdrums(const Sender: TObject);
procedure changelatrec(const Sender: TObject);
procedure confcreated(const sender: TObject);

end;

var
Expand All @@ -51,24 +51,5 @@ procedure tconfigfo.changelatrec(const Sender: TObject);
/// if latrec.value < 0 then latrec.value := -1;
end;

procedure tconfigfo.confcreated(const sender: TObject);
begin
devin := UOSDefaultDeviceIN;
devout := UOSDefaultDeviceOUT;

// devin := -1;

if devin > -1 then
defdevin.caption := 'Default Device IN = ' + IntToStr(devin)
else defdevin.caption := 'No Default Device IN';

if devout > -1 then
defdevout.caption := 'Default Device OUT = ' + IntToStr(devout)
else defdevout.caption := 'No Default Device OUT';




end;

end.
Loading

0 comments on commit cbe6b5d

Please sign in to comment.