aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UAudioInput_Portaudio.pas9
1 files changed, 4 insertions, 5 deletions
diff --git a/Game/Code/Classes/UAudioInput_Portaudio.pas b/Game/Code/Classes/UAudioInput_Portaudio.pas
index f055c9d6..2883ccb0 100644
--- a/Game/Code/Classes/UAudioInput_Portaudio.pas
+++ b/Game/Code/Classes/UAudioInput_Portaudio.pas
@@ -3,7 +3,6 @@ unit UAudioInput_Portaudio;
interface
{$IFDEF FPC}
-{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
@@ -137,10 +136,7 @@ var
paApiInfo: PPaHostApiInfo;
deviceName: string;
deviceIndex: TPaDeviceIndex;
- //deviceInfo: PPaDeviceInfo;
- //sourceCnt: integer;
- sourceIndex: integer;
- //sourceName: string;
+ deviceInfo: PPaDeviceInfo;
channelCnt: integer;
SC: integer; // soundcard
err: TPaError;
@@ -152,7 +148,10 @@ var
sampleRate: integer;
latency: TPaTime;
{$IFDEF UsePortmixer}
+ sourceIndex: integer;
mixer: PPxMixer;
+ sourceCnt: integer;
+ sourceName: string;
{$ENDIF}
cbPolls: integer;
cbWorks: boolean;