AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 17:02

Parameter dieser Suchanfrage:

Suche in Thema: Get/Set Master Volume Lautstärke?
Suche alle Beiträge, die von "Kas Ob." geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 5 von insges. 5 Treffern
Suche benötigte 0.000s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Multimedia

    AW: Get/Set Master Volume Lautstärke?

      Delphi
      by Kas Ob., 16. Okt 2023
    Interesting !

    Please try this
    const
    IID_IAudioEndpointVolumeEx: TGUID = '{66E11784-F695-4F28-A505-A7080081A78F}';

    type
    IAudioEndpointVolumeEx = interface(IAudioEndpointVolume)

    function GetVolumeRangeChannel(nChannel: Integer; out pflVolumeMindB: double; out
  • Forum: Multimedia

    AW: Get/Set Master Volume Lautstärke?

      Delphi
      by Kas Ob., 15. Okt 2023
    Here is my full working example
    procedure TForm10.Button3Click(Sender: TObject);
    begin
    SetMasterMuteState(True);
    end;

    procedure TForm10.Button4Click(Sender: TObject);
    begin
    SetMasterMuteState(False);
    end;
  • Forum: Multimedia

    AW: Get/Set Master Volume Lautstärke?

      Delphi
      by Kas Ob., 15. Okt 2023
    Yes you are right there.

    I messed that up, but in all cases the master is switching between muted and unmuted with that function, try to capture the R value.

    Also it seems the behavior is different on my Windows


    As you see in the Log Event first click is OK showing changing state followed by False because the state is not changed.
  • Forum: Multimedia

    AW: Get/Set Master Volume Lautstärke?

      Delphi
      by Kas Ob., 15. Okt 2023
    Sure but Windows lack ability to do permissions like iOS or Android so they revert to prohibit some API without explicitly user inatraction.

    I was mistaken with the mute status, my old project was on specific request from a client where he wanted to control the devices in Sound Control Panel to enable and disable a device and change the Default device for both Playback and Recording, which is...
  • Forum: Multimedia

    AW: Get/Set Master Volume Lautstärke?

      Delphi
      by Kas Ob., 14. Okt 2023
    My two cents on this, Mute and Enable are intentionally undocumented by Microsoft, these will compromise the user privacy, like .. by simply enabling the disabled microphone in first place, or just unmute the speakers without the user consent and play some audio.

    It is doable and it is not a hack, but unethical to share, so you have to ask the user himself to enable (eg. the Mic) or unmute the...


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=Kas+Ob.&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=213884
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:19 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