aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UAudioInput_Portaudio.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:10:50 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:10:50 +0000
commit07d79daa7ca0af3cd24820242a3428fb18f3403b (patch)
tree9dc93838d7815f30a7212de9ee543dffcbb98342 /Game/Code/Classes/UAudioInput_Portaudio.pas
parent78ea8d5b1d7608255de7a776d98032fa14d47b76 (diff)
downloadusdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.tar.gz
usdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.tar.xz
usdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.zip
removed a few unused local variables
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@949 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UAudioInput_Portaudio.pas')
-rw-r--r--Game/Code/Classes/UAudioInput_Portaudio.pas9
1 files changed, 5 insertions, 4 deletions
diff --git a/Game/Code/Classes/UAudioInput_Portaudio.pas b/Game/Code/Classes/UAudioInput_Portaudio.pas
index 077598a9..f055c9d6 100644
--- a/Game/Code/Classes/UAudioInput_Portaudio.pas
+++ b/Game/Code/Classes/UAudioInput_Portaudio.pas
@@ -3,6 +3,7 @@ unit UAudioInput_Portaudio;
interface
{$IFDEF FPC}
+{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
@@ -136,10 +137,10 @@ var
paApiInfo: PPaHostApiInfo;
deviceName: string;
deviceIndex: TPaDeviceIndex;
- deviceInfo: PPaDeviceInfo;
- sourceCnt: integer;
+ //deviceInfo: PPaDeviceInfo;
+ //sourceCnt: integer;
sourceIndex: integer;
- sourceName: string;
+ //sourceName: string;
channelCnt: integer;
SC: integer; // soundcard
err: TPaError;
@@ -354,7 +355,7 @@ end;
destructor TAudioInput_Portaudio.Destroy;
var
i: integer;
- paSoundCard: TPortaudioInputDevice;
+ //paSoundCard: TPortaudioInputDevice;
begin
Pa_Terminate();
for i := 0 to High(AudioInputProcessor.Device) do