Help - Search - Members - Calendar
Full Version: Audio Devices Names in SET calls.
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
VictorZ
On Vista names of audio devices are likely to be more than 32 bytes long. It looks that currently you need to cut the names to 32 chars when setting IN/OUT audio device on English platforms. When using far east languages it looks that you need to use full name. Does anybody know the exact rules. And when it will be fixed.
TheUberOverlord
QUOTE(VictorZ @ Thu Mar 8 2007, 12:52) [snapback]369537[/snapback]

On Vista names of audio devices are likely to be more than 32 bytes long. It looks that currently you need to cut the names to 32 chars when setting IN/OUT audio device on English platforms. When using far east languages it looks that you need to use full name. Does anybody know the exact rules. And when it will be fixed.


A quick and dirty way maybe to query what the value(s) show for a given device in Vista.
VictorZ
QUOTE(TheUberOverlord @ Thu Mar 8 2007, 20:12) [snapback]369566[/snapback]

A quick and dirty way maybe to query what the value(s) show for a given device in Vista.


That is a good idea for the languages that I have in the lab. But I need to know it for all languages that I can ran into, including language packs which can be installed now or in the future. I really need to know the rules to play this game.
TheUberOverlord
QUOTE(VictorZ @ Thu Mar 8 2007, 14:28) [snapback]369573[/snapback]

That is a good idea for the languages that I have in the lab. But I need to know it for all languages that I can ran into, including language packs which can be installed now or in the future. I really need to know the rules to play this game.


Example: Before you change anything, get the original value and length and save it, so that you will be able to return things back to as they where.
VictorZ
QUOTE(TheUberOverlord @ Thu Mar 8 2007, 20:46) [snapback]369585[/snapback]

Example: Before you change anything, get the original value and length and save it, so that you will be able to return things back to as they where.


Ok. Original is Windows default which in all languages is 0. I need to set it to my device and I know very well the name of my device. I can send message to change IN and OUT to my device. But I need to know if I should send 31 character with the 0 at the end or the full string.
TheUberOverlord
QUOTE(VictorZ @ Thu Mar 8 2007, 15:08) [snapback]369605[/snapback]

Ok. Original is Windows default which in all languages is 0. I need to set it to my device and I know very well the name of my device. I can send message to change IN and OUT to my device. But I need to know if I should send 31 character with the 0 at the end or the full string.


I guess this is my point, match what the query of the value is, if it is truncated, truncate it, if it is not, don't.

Why not using the Skype Client Options -> Sound Devices select the device in question, and then query to see if the device name is truncated or not?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.