Silicon Technix Forums

Please login or register.

Author Topic: Problem with Audio Controls  (Read 381 times)

Offline louie.nohay

  • Regular Memeber
  • ***
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Problem with Audio Controls
« on: May 03, 2011, 08:31:43 AM »
Hi,

Can anyone help me identifying bug for iaxclient.. i added mic and speaker controls but dont work properly.

hold only works on my side and not on the calling side.
mic when set to mute don't work.

Offline Babar Shafiq Nazmi

  • Administrator
  • Senior Member
  • *****
  • Posts: 151
  • Karma: +87/-0
    • View Profile
    • http://www.silicontechnix.com
Re: Problem with Audio Controls
« Reply #1 on: May 03, 2011, 01:35:35 PM »
Kindly provide more details.
Mic/Speaker controls ? what's that ?
Hold works on your side, what happen when you press hold ? little more detail required
Also what's your Operating System ?
the version of iaxclient you are using ?
using Visual Studio, then what's the version of VS ?
etc
....God is the greatest Programmer....

http://www.silicontechnix.com

Offline louie.nohay

  • Regular Memeber
  • ***
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Problem with Audio Controls
« Reply #2 on: May 16, 2011, 06:49:21 AM »
mute functions only decreases the mic level.. like if i set 0f input level for the function setLevels(float input, float output), the calling party on the other end could still hear anything on my side..

on the other hand.. calling the hold function int iaxc_quelch(int callNo, int MOH) has the same result.. the other end calling party could still hear anything on my side..

BTW.. this functions were only compiled and tested on windows os..

Hope you could give me feed back on this..

Offline Babar Shafiq Nazmi

  • Administrator
  • Senior Member
  • *****
  • Posts: 151
  • Karma: +87/-0
    • View Profile
    • http://www.silicontechnix.com
Re: Problem with Audio Controls
« Reply #3 on: May 17, 2011, 08:28:28 PM »
If you are asking about iaxclient control then:-
Quote
SelectLine( Line);
Use this and select some non-existent line, when done switch back to existing line, that way you can mute everything.

Just to add
Quote
SelectedCall();
will return the current status of line

Basically
Quote
Hold();
is doing the same.

Also you can set volume levels of mic
Quote
             SetMicVolume( Volume);
             GetMicVolume();
....God is the greatest Programmer....

http://www.silicontechnix.com

Offline louie.nohay

  • Regular Memeber
  • ***
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Problem with Audio Controls
« Reply #4 on: July 11, 2011, 06:17:59 PM »
Got a working solution for this problem.. i just reviewed java.sound.sample api and had created my own implementation.. thanks babar for the advices.. :)

 

Page created in 0.142 seconds with 16 queries.