Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   RecordTest von Bass funktioniert nicht (https://www.delphipraxis.net/158413-recordtest-von-bass-funktioniert-nicht.html)

EWeiss 16. Feb 2011 16:50


RecordTest von Bass funktioniert nicht
 
Hat jemand das selbe Problem?
In der IDE von 2009 funktioniert das Beispiel nicht.
Es zeigt mir mein Aufnahme Device nicht.

In der Kompilierten EXE funktioniert es aber.

Selbe problem habe ich mit meinem Player.
dName ist immer nil.

Delphi-Quellcode:
function BASS_RecordGetInputName(input: LongInt): PAnsiChar; stdcall; external bassdll;
Delphi-Quellcode:
var
  i: Integer;
  dName: PAnsiChar;
  level: Single;
....
   i := 0;
   dName := BASS_RecordGetInputName(i);
   while dName <> nil do
   begin
      ComboBox1.Items.Add(StrPas(dName));
      // is this one currently "on"?
      if (BASS_RecordGetInput(i, level) and BASS_INPUT_OFF) = 0 then
           ComboBox1.ItemIndex := i;
      Inc(i);
      dName := BASS_RecordGetInputName(i);
   end;
    ComboBox1Change(Self);   // display info
...
EDIT:
Hat sich erledigt..
Lag daran das ich D2009 im XP Kompatibilitäts Modus gestartet habe.

gruss


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:27 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz