How to Optimize Audio for XenDesktop

How to Optimize Audio for XenDesktop

Document ID: CTX118836 / Created On: Nov 3, 2008 / Updated On: Dec 24, 2008
Average Rating:
View products this document applies to

Summary

The following settings can be modified for optimum audio performance in a XenDesktop environment. These settings can be tuned on a per environmental need basis.

Siphon the XML blob from IMA on the desktop delivery controller (DDC):

1. On the DDC, navigate to the following directory:

C:\Program Files\Citrix\Desktop Delivery Controller

2. Run the following command:

PortICASetDefaults /o :\

Consider the following adjustments:

Virtual Channel Priorities:

Within the XML Blob, adjust the priorities of the Virtual Channels as needed. Best performance for audio over the WAN was achieved by giving Client Audio Mapping the highest priority and lowering others:

Default

CTXCAM ,1
CTXTW ,0
CTXTWI ,0

Client Audio Mapping over WAN

CTXCAM ,0
CTXTW ,1
CTXTWI ,1

Note: Consider what the trade offs are. In the above example Screen Updates are sacrificed to allow a higher priority for Client Audio Mapping

PCM (pulse coded modulation) modifications:

Default

8000
1
8

CD Quality

44100
2
16

DVD Quality

96000

2
24

Import the XML adjustments back into IMA:

1. On the DDC, navigate to the following directory:

C:\Program Files\Citrix\Desktop Delivery Controller

2. Run the following command to import the XML Blob back into IMA:

PortICASetDefaults /i :\

3. Restart IMA

Note: Citrix Policy can also be adjusted for better audio performance.

1. Open the Presentation Server Management Console.

2. Create a new policy.

3. Navigate to Client Devices > Resources > Audio > Sound Quality.

4. Select High, Medium, or Low depending on the environment.

More Information

PCM (pulse coded modulation) :

PCM is a set of uncompressed digital encodings with the following three (3) parameters:

Bits Per Sample

Channels

Sample Frequency

Sample = A measurement of analogue sound as a voltage at a single point in time.

The more Bits Per Sample the subtler the changes in frequency that can be encoded.

The more samples per second the finer the changes in frequency.

Virtual Channels

You have four priority levels to choose from :

0 - Highest Priority
1 - Medium
2 - Low
3 - Background Priority

Below is a list of the Virtual Channels and a brief description:

Virtual Channel Default

Priority

Description

CTXTW

0

Remote Windows screen update data (ThinWire)

CTXTWI

0

Seamless Windows screen update data (ThinWire)

CTXCLIP

1

Clipboard

CTXCAM

1

Client audio mapping

CTXLIC

1

License management

CTXVFM

1

Video server video (not ThinWire video)

CTXPN

1

Program Neighborhood

CTXCCM

2

Client COM port mapping

CTXCDM

3

Client drive mapping

CTXCM

3

Client management (Auto Client Update)

CTXLPT1

3

Printer mapping for non-spooling client (Thin client devices)

CTXLPT2

3

Printer mapping for non-spooling client (Thin client devices)

CTXCOM1

3

Printer mapping for non-spooling client (Thin client devices)

CTXCOM2

3

Printer mapping for non-spooling client (Thin client devices)

CTXCPM

3

Printer mapping for spooling clients

OEMOEM

3

Used by Original Equipment Manufacturers (OEMs)

OEMOEM2

3

Used by OEMs

This document applies to:

XenDesktop 2.0 x32
XenDesktop 2.0 x64
XenDesktop 2.1 x32
XenDesktop 3.0 x64
Exit Print View



Primary links

Custom Search

Who's new

  • Rullydery
  • eagenorce
  • rittaarier
  • swasseZex
  • gaterfoko

Who's online

There are currently 0 users and 4 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.