Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Pre-Sales Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Pre-Sales Technical Support
Subject Topic: Independently selecting audio IN and OUT devices Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gcamp0730
Intermediate
Intermediate


Joined: June 12 2006
Location: United States
Posts: 35
Posted: August 09 2006 at 4:16pm | IP Logged Quote gcamp0730

My computer is setup such that there is a sound card as well as a USB headset. The soundcard is the default audio output device and the mic on the headset is the default audio input device.

In START_SIP_TELEPHONY_PARAMS there is one variable "ZeroBasedAudioDeviceId" that is used to select the audio device. When using GetDigitalAudioOutputDevice() and GetDigitalAudioInputDevice(), here is how the values look in my system:

Output
0 = SoundMax sound card
1 = PLDA60 (USB headset)

Input
0 = PLDA60 (USB headset)
1 = SoundMax sound card

As you can see, since there is only a single variable used to select the audio device, there is no valid combination that will allow me to select an Output device of 1 and an Input device of 0 so that I may use the USB headset exclusively of the system sound card.

Is there a different method of selecting the audio device that I have overlooked? Is it possible to update the START_SIP_TELEPHONY_PARAMS structure so that it contains values for Input and Output devices?

Thanks,
Greg
Back to Top View gcamp0730's Profile Search for other posts by gcamp0730
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: August 09 2006 at 4:57pm | IP Logged Quote support

Hi Greg,

You are absolutely correct. When initializing the Media Engine, it is assumed that the audio in and out are on the same multimedia device.

Until now, this has not been an issue. However, what you point out is a limitation and we see the importance of separating the audio in and audio out “selectability.

You have not overlooked anything. The only way to specify in/out is via the startup param structure.

Your suggestion to update the START_SIP_TELEPHONY_PARAMS structure with another parameter is what we will have to do.

We will make this change and get ready an updated trial image for you to download.

What we will do is remove the existing ZeroBasedAudioDeviceId parameter and add two new values:

int ZeroBasedAudioInDeviceId;
int ZeroBasedAudioOutDeviceId;

That should take care of the problem.

Hold on while we have the software guys ready the new trial image. We will send you an email when we have it ready.


Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: August 09 2006 at 6:01pm | IP Logged Quote support

Greg,

Sorry, we had a bit of a “brain fart”.

Some additional info:

If you want to use an audio IN on one device and an audio OUT on another device, you can do this with the current version of software you have.

What you have to do is go to your PC’s sound and multimedia settings via control panel. Locate the Audio tab in “Sounds and Audio Devices Properties” dialog (Windows XP Pro, SP2 – other operating systems are similar).

Set the “preferred audio device” for the OUT and IN to whatever you want. They can be on different multimedia devices.

When you start the media engine, specify the SIP_USE_PREFERED_AUDIO_DEVICE value for the ZeroBasedAudioDeviceId structure parameter. See the START_SIP_TELEPHONY_PARAMS structure.

When the media engine starts, it will use whatever the preferred audio IN and OUT you selected via the operating system even if they are on different multimedia devices.

Note: We are still going to make the change to the SIP_USE_PREFERED_AUDIO_DEVICE structure so that all this can be performed programmatically without the need to alter default operating system settings.

We should have a new trial download for you early tomorrow morning.

Repost as needed,

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: August 10 2006 at 12:34pm | IP Logged Quote support

Hi Greg,

We have an updated trial image (v5.12.3.5) that you can download. We will email you the download info shortly.

The new version allows independent audio IN and OUT device ID selections.

Test it and post back with your results.

Thanks,

Support
Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
gcamp0730
Intermediate
Intermediate


Joined: June 12 2006
Location: United States
Posts: 35
Posted: August 10 2006 at 3:39pm | IP Logged Quote gcamp0730

That version works perfectly.

Many thanks on the ultra-quick responses!

Greg
Back to Top View gcamp0730's Profile Search for other posts by gcamp0730
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights