Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3

Thread: Auto Mute Mic?

  1. #1
    Join Date
    November 2008
    Location
    Australia
    Posts
    3

    Auto Mute Mic?

    Is there a parameter that I can use, or an option some where that will automatically mute the mic upon startup?

    I currently use parameters to connect to my server (so do my friends), so I was wondering if there's a parameter that will also automatically mute our mics too?

    Can anyone suggest another way to do this? I fear that I'm just going to have to create a program that sends the mute mic keys when teamspeak is started, but I thought I would ask here.

    Any help is greatly appreciated.

    Thanks.

  2. #2
    Join Date
    November 2008
    Location
    Australia
    Posts
    3
    I have found the SDK, but when I call this:

    PHP Code:
    tscontrol MUTE 
    It mutes both mic and speakers.

    I don't have Delphi and can't compile the edited exe. If some one does have Delphi, and would compile the new exe for me, it would be much appreciated.

    Alls they will have to do is change this function in the tsControl.dpr file:

    PHP Code:
    procedure DoMuteMuteBoolean);
    var
      
    UserInfoTtsrUserInfo;
      
    Res Integer;
    begin
      Res 
    := tsrGetUserInfo(@UserInfo);
      if 
    res <> 0 then if not DisplayResultres then exit;
      If 
    mute
        then UserInfo
    .Player.PlayerFlags := UserInfo.Player.PlayerFlags or (pfInputMuted)
        else 
    UserInfo.Player.PlayerFlags := UserInfo.Player.PlayerFlags and Not (pfInputMuted);
      if 
    not DisplayResulttsrSetPlayerFlags(UserInfo.Player.PlayerFlags)) then exit;
    end
    And that should do it, alls I did is take out the or pfOutputMuted to prevent it from muting the speakers.

    Perhaps an option can be added to this parameter that mutes the mic, or speakers, or both depending on the option. I can't do this as I don't have Delphi and know nothing about it (PHP, C++ and VB are my fields =(. ). I will learn if necessary and if given a good compiler (Have had baaaaaaaad experiences with Delphi). I would prefer an Admin or Moderator, or someone who is trusted on the forums to provide the exe please.

  3. #3
    Join Date
    November 2008
    Location
    Australia
    Posts
    3
    If someone could link me to a free Delphi compiler that will compile the exe I would settle for that too...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Auto Mute someone that joins
    By idrissz in forum Permission System
    Replies: 2
    Last Post: May 14th, 2012, 02:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •