parameters: (self, DeviceType=None, Set=None)
docstring: Queries or sets the sound output device.
  
          @param DeviceType: Sound output device type or None.
          @type DeviceType: L{Call IO device type<enums.callIoDeviceTypeUnknown>} or None
          @param Set: Value the device should be set to or None.
          @type Set: unicode, int or None
          @return: If DeviceType and Set are None, returns a dictionary of device types and their
          values. Dictionary contains only those device types, whose values were set. If the
          DeviceType is not None but Set is None, returns the current value of the device or
          None if the device wasn't set. If Set is not None, sets a new value for the device.
          @rtype: unicode, dict or None
docstring_summary: Queries or sets the sound output device.
docstring_tokens: Queries or sets the sound output device .
function: def OutputDevice(self, DeviceType=None, Set=None):
          '''Queries or sets the sound output device.
  
          @param DeviceType: Sound output device type or None.
          @type DeviceType: L{Call IO device type<enums.callIoDeviceTypeUnknown>} or None
          @param Set: Value the device should be set to or None.
          @type Set: unicode, int or None
          @return: If DeviceType and Set are None, returns a dictionary of device types and their
          values. Dictionary contains only those device types, whose values were set. If the
          DeviceType is not None but Set is None, returns the current value of the device or
          None if the device wasn't set. If Set is not None, sets a new value for the device.
          @rtype: unicode, dict or None
          '''
          if Set is None: # get
              args = args2dict(self._Property('OUTPUT', Cache=False))
              for t in args:
                  if t == callIoDeviceTypePort:
                      args[t] = int(args[t])
              if DeviceType is None: # get active devices
                  return args
              return args.get(DeviceType, None)
          elif DeviceType is not None: # set
              self._Alter('SET_OUTPUT', '%s=%s' % (DeviceType, quote(unicode(Set), True)))
          else:
              raise TypeError('DeviceType must be specified if Set is used')
function_tokens: def OutputDevice ( self , DeviceType = None , Set = None ) : if Set is None : # get args = args2dict ( self . _Property ( 'OUTPUT' , Cache = False ) ) for t in args : if t == callIoDeviceTypePort : args [ t ] = int ( args [ t ] ) if DeviceType is None : # get active devices return args return args . get ( DeviceType , None ) elif DeviceType is not None : # set self . _Alter ( 'SET_OUTPUT' , '%s=%s' % ( DeviceType , quote ( unicode ( Set ) , True ) ) ) else : raise TypeError ( 'DeviceType must be specified if Set is used' )