AtmoLight and Visualization (2 Viewers)

B

BassFan

Guest
i have tested with your exemple.exe + atmowin, and it's working fine.
you think BassVisAPI.net.dll can be the bug ?

no that File is only a reference/Interface and a Bridge to BassVis API.

greets
 
B

BassFan

Guest
@legnod
you have set atmolight like screenshot above,
because, i think you use Atmowin GDI for capture ( i hope i me wrong )
View attachment 144552

I'm sorry you don't understand me.. ;)

you can nothing Change
over the Settings from Atmolight Plugin
Only Startup Parameter like leds-off.

if AtmoWin start then all Action to AtmoWin come from BassVis NOT! from AtmoLight.
all Settings in Atmolight then has no longer any effect to your Hardware.

AtmoWin with Bassvis is a standalone Application which not used any of MP or 3rdPart-Plugin from MP.
i think you use Atmowin GDI for capture
What use they?

i'm set LiveViewSource lvsExternal not lvsGDI on Start
Code:
function  TAtmoWinLive.Start(Format: TPixelFormat) : Bool;
begin
  if (not (Format in [pf16Bit, pf24Bit, pf32Bit])) then
  begin
    raise Exception.Create('Unsupported pixel format.');
  end;
 
  FFormat := Format;
 
  if FAtmoWinInterface.Initialize = nil then
  begin
    FInitialized := false;
    Result := False;
    exit;
  end else
  Result := True;
 
  FAtmoWinInterface.SetEffect(cemLivePicture, FOldEffect);
  FOldLiveViewSource := FAtmoWinInterface.GetLiveViewSource;
  FAtmoWinInterface.SetLiveViewSource(lvsExternal);
  CreateTransferBuffers;
  FInitialized := true;
 
end;

PS:
You can do the following so that you know what I mean
Uninstall the AtmoLight process plugin Then start AtmoWin before it starts MP
Then you can see bassvis works with AtmoWin without Atmolight.
I use AtmoLight that AtmoWin automatically start before MP launches
Only the settings from AtmoWin used in Bassvis not this from AtmoLight

greets
 
Last edited by a moderator:

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    thank you for your reply.
    but i have tried to desactivate atmolight . without succes . :(

    i need to test more.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    it seems, bassvis can't connect to Atmowin.

    Question :
    - UAC can have bad effect on the communication ?
    - How Bassvis can know if Atmowin is started ? or found the good path to it ?
     
    B

    BassFan

    Guest
    ALLWAYS ON FULLSCREEN
    Yes..
    all my test qas in windowed mode ....
    That can not Work :)
    Do Change from FullScreen to Window mode AtmoWin will stop and deaktivate all LEDs

    Code:
            EnterCriticalSection(CritSect);
            try
              if (FAtmoRunning) then
              begin
                if (FAtmoWinInterface.Initialize <> nil) then
                begin
                  FullScreen := GetFullScreen(ParentHandle);
                  if FullScreen then  // only FullScreen
                  begin
                    FAtmoWin.Render(ScrBitmap, pf32Bit, ParentHandle, VisInfo^.VisDC,
                      StretchWidth, StretchHeight);
                    FDisableLEDs := True;
                  end else
                  if FDisableLEDs then // no FullScreen
                  begin
                    FAtmoWin.DisableLEDs;
                    FDisableLEDs := False;
                  end;
              end else
              FAtmoRunning := False;
              end;
            finally
              LeaveCriticalSection(CritSect);
            end;

    greets
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    That can not Work :)
    So, i think we have found the issue, and i'm sure you talking about test it on Fullscreen view.

    but why have you added this setting ? o_O
    i can understand only because Ambilight can be used for HTPC system, and we use only fullscreen for this.
     
    B

    BassFan

    Guest
    but why have you added this setting ?
    Weil es der richtige weg ist
    Es bringt nichts ein kleines Fenster auf dem Desktop mit Ambilight zu visualisieren
    Zudem habe ich das Problem das die Visualisierung immer aktiv sein kann so wie in MP
    auch wenn es nicht sichtbar ist also in einem kleinen Fenster im Hintergrund.
    Das würde dann dazu führen das AtmoLight immer aktiv ist und der Anwender sich dann wundert warum
    die LEDs nicht aus sind.
    ----------------
    Because it is the right
    It's no use to visualize a small window on the desktop with Ambilight
    In addition, I have the problem that the visualization is active can be as in MP
    Although not visible so it's in a small window in the background.
    That would then cause the AtmoLight is always active and the user then wonders why
    the LEDs are not out.

    greets
     
    Last edited by a moderator:

    Users who are viewing this thread

    Top Bottom