This article describes how to optimize audio for XenDesktop.
You can modify the following settings for optimum audio performance in a XenDesktop environment. You can tune these settings as per your environmental basis.
On the Desktop Delivery Controller (DDC), navigate to the following directory:
C:\Program Files\Citrix\Desktop Delivery Controller
Run the following command:
PortICASetDefaults /o <Directory>:\<FileName.xml>
Consider the following adjustments:
Within the XML Blob, adjust the priorities of the Virtual Channels as required. Specify highest priority to Client Audio Mapping to achieve the best performance for audio.
Default
<value>CTXCAM ,1</value>
Client Audio Mapping over WAN
<value>CTXCAM ,0</value>
Note: If the clients are connecting without newer audio codecs, the preceding setting is not recommended on WAN.
Default
<PCMSamplesPerSec>8000</PCMSamplesPerSec> <PCMChannels>1</PCMChannels> <PCMBitsPerSample>8</PCMBitsPerSample>
CD Quality
<PCMSamplesPerSec>44100</PCMSamplesPerSec> <PCMChannels>2</PCMChannels> <PCMBitsPerSample>16</PCMBitsPerSample>
DVD Quality
<PCMSamplesPerSec>96000</PCMSamplesPerSec> <PCMChannels>2</PCMChannels> <PCMBitsPerSample>24</PCMBitsPerSample>
On the DDC, navigate to the following directory:
C:\Program Files\Citrix\Desktop Delivery Controller
Run the following command to import the XML Blob back into IMA:
PortICASetDefaults /i <Directory>:\<FileName.xml>
Restart IMA.
Open the Presentation Server Management Console.
Create a new policy.
Navigate to Client Devices > Resources > Audio > Sound Quality.
Select High, Medium, or Low depending on the environment.
Citrix TV contains the following video for this article:
http://www.citrix.com/tv/#videos/2452
The length of this video is 7:24 minutes.
Note: This video requires the Adobe Flash player plug-in for your browser.
PCM (Pulse Coded Modulation) - PCM is a set of uncompressed digital encodings with the following three (3) parameters:
Bits Per Sample
Channels
Sample Frequency
Virtual Channels
You have four priority levels to choose from:
0 - Highest Priority
1 - Medium
2 - Low
3 - Background Priority
Following is a list of 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 |