aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:22:36 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:22:36 +0000
commita96a43e325142ed688a65a75a0649eae0988a30d (patch)
tree7678fdeccd0474d235a39dec7cb6ca170c849c92 /Game
parent7ede07ea15a9c91f980a25ed6afbdf45987e7fcd (diff)
downloadusdx-a96a43e325142ed688a65a75a0649eae0988a30d.tar.gz
usdx-a96a43e325142ed688a65a75a0649eae0988a30d.tar.xz
usdx-a96a43e325142ed688a65a75a0649eae0988a30d.zip
fix build problem for me local...
hope it fixes builds on dev.usdx git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@951 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game')
-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;