Exemplo n.º 1
0
 public AudioComponentDescriptionNative(AudioComponentDescription other)
 {
     this.ComponentType         = other.ComponentType;
     this.ComponentSubType      = other.ComponentSubType;
     this.ComponentManufacturer = other.ComponentManufacturer;
     this.ComponentFlags        = other.ComponentFlags;
     this.ComponentFlagsMask    = other.ComponentFlagsMask;
 }
 internal AudioComponentDescription(AudioComponentType type, int subType)
 {
     ComponentType         = type;
     ComponentSubType      = subType;
     ComponentManufacturer = AudioComponentManufacturerType.Apple;
     ComponentFlags        = (AudioComponentFlag)0;
     ComponentFlagsMask    = 0;
 }
Exemplo n.º 3
0
 // Because someone made AudioComponentDescription a class
 internal AudioComponentDescription(AudioComponentDescriptionNative native)
 {
     this.ComponentType         = native.ComponentType;
     this.ComponentSubType      = native.ComponentSubType;
     this.ComponentManufacturer = native.ComponentManufacturer;
     this.ComponentFlags        = native.ComponentFlags;
     this.ComponentFlagsMask    = native.ComponentFlagsMask;
 }
Exemplo n.º 4
0
        internal AudioComponentDescription(AudioComponentType type, int subType)
        {
            ComponentType = type;
#if NET && !COREBUILD
            ComponentSubType = (AudioUnitSubType)subType;
#else
            ComponentSubType = subType;
#endif
            ComponentManufacturer = AudioComponentManufacturerType.Apple;
            ComponentFlags        = (AudioComponentFlag)0;
            ComponentFlagsMask    = 0;
        }
 public static AudioComponentDescription CreateGeneric(AudioComponentType type, int subType)
 {
     return(new AudioComponentDescription(type, subType));
 }
Exemplo n.º 6
0
 public AudioComponentDescription(AudioComponentType type, AudioComponentSubType subType)
 {
     ComponentType = type;
     ComponentSubType = subType;
     ComponentManufacturer = AudioComponentManufacturerType.Apple;
     //ComponentFlags = 0;
     //ComponentFlagsMask = 0;
 }
Exemplo n.º 7
0
 public static AudioComponentDescription CreateGeneric(AudioComponentType type, int subType)
 {
     return new AudioComponentDescription (type, subType);
 }
Exemplo n.º 8
0
		// Because someone made AudioComponentDescription a class
		internal AudioComponentDescription (AudioComponentDescriptionNative native)
		{
			this.ComponentType = native.ComponentType;
			this.ComponentSubType = native.ComponentSubType;
			this.ComponentManufacturer = native.ComponentManufacturer;
			this.ComponentFlags = native.ComponentFlags;
			this.ComponentFlagsMask = native.ComponentFlagsMask;
		}
Exemplo n.º 9
0
		internal AudioComponentDescription (AudioComponentType type, int subType)
		{
			ComponentType = type;
			ComponentSubType = subType;
			ComponentManufacturer = AudioComponentManufacturerType.Apple;
			ComponentFlags = (AudioComponentFlag) 0;
			ComponentFlagsMask = 0;
		}
Exemplo n.º 10
0
		public AudioComponentDescriptionNative (AudioComponentDescription other)
		{
			this.ComponentType = other.ComponentType;
			this.ComponentSubType = other.ComponentSubType;
			this.ComponentManufacturer = other.ComponentManufacturer;
			this.ComponentFlags = other.ComponentFlags;
			this.ComponentFlagsMask = other.ComponentFlagsMask;
		}