Changeset 285


Ignore:
Timestamp:
Oct 11, 2011, 8:50:37 AM (13 years ago)
Author:
george
Message:
 
Location:
CoolAudio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CoolAudio/Demo/Demo.lpi

    r284 r285  
    131131        <Filename Value="../Systems/UAudioSystem.pas"/>
    132132        <UnitName Value="UAudioSystem"/>
    133         <IsVisibleTab Value="True"/>
    134133        <EditorIndex Value="5"/>
    135134        <WindowIndex Value="0"/>
    136135        <TopLine Value="177"/>
    137         <CursorPos X="3" Y="181"/>
     136        <CursorPos X="34" Y="188"/>
    138137        <UsageCount Value="49"/>
    139138        <Loaded Value="True"/>
     
    230229        <Filename Value="../Systems/UAudioSystemWindows.pas"/>
    231230        <UnitName Value="UAudioSystemWindows"/>
     231        <IsVisibleTab Value="True"/>
    232232        <EditorIndex Value="2"/>
    233233        <WindowIndex Value="0"/>
    234234        <TopLine Value="212"/>
    235         <CursorPos X="1" Y="228"/>
     235        <CursorPos X="50" Y="224"/>
    236236        <UsageCount Value="45"/>
    237237        <Loaded Value="True"/>
     
    410410  </CompilerOptions>
    411411  <Debugging>
    412     <BreakPoints Count="1">
    413       <Item1>
    414         <Kind Value="bpkSource"/>
    415         <Source Value="../Systems/UAudioSystemWindows.pas"/>
    416         <Line Value="228"/>
    417       </Item1>
    418     </BreakPoints>
    419412    <Watches Count="1">
    420413      <Item1>
  • CoolAudio/Systems/UAudioSystemWindows.pas

    r284 r285  
    220220var
    221221  Parm: TMCI_Open_Parms;
     222  ParmFileName: string;
    222223begin
    223224  if FDeviceId <> 0 then DoClose;
     
    226227  Parm.dwCallback := 0;
    227228  Parm.lpstrDeviceType := DeviceName[FDeviceType];
    228   Parm.lpstrElementName := PChar(UTF8Decode(FFileName));
     229  ParmFileName := UTF8Decode(FFileName);
     230  Parm.lpstrElementName := PChar(ParmFileName);
    229231
    230232  FFlags := 0;
Note: See TracChangeset for help on using the changeset viewer.