<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Tags/>
	<Includes>
		<!-- Some settings are different for 360 vs. PC. This is a cheap way to vary things between platforms. There is one
		     PlatformSpecificAudioDefines under pc and one under xenon; the correct one will be picked up. -->
		<Include type="instance" source="DATA:Includes/PlatformSpecificAudioDefines.xml"/>
	</Includes>
	
	<!-- The first set of attributes are the low-level engineering attributes that keep the audio engine running. Scary, scary, don't touch, only 
			 engineers training in the ancient art of audio programming should release the fivefold seals on these attributes, yada yada yada.
			 
			 The second set of attributes control the sound of the main audio engine. These are meant for sound designers to muck with to change the 
			 global sound of the game.
			 
			 The third set of attributes control various sounds which are not in the main audio engine. Again, they are meant for the sound designers
			 to fiddle with. -->
	<AudioSettings
		id="TheAudioSettings"
		
		ForceResetTime="0s"
		EmergencyResetTime="0s"
		AudioFootprintInBytes="8388608"
		MaxRequestsPerStream="20"
		StreamBufferSizePerChannel="=$PLATFORM_SPECIFIC_STREAM_BUFFER_SIZE_PER_CHANNEL"
		SuppressOcclusion="false"
		MinOcclusion="0%"
		DelayPriorToPlayingToReadSoundFile="1s"
		ReadAheadTime="3s"
		QueueAheadTime=".5s"
		LongTime="60s"
		DontLoadThirdVariationWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_THIRD_VARIATION_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
		DontLoadSecondVariationWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_SECOND_VARIATION_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
		DontLoadForLowPrioritySoundsWhenFileReadQueueIsLongerThan="=$PLATFORM_SPECIFIC_DONT_LOAD_FOR_LOW_PRIORITY_SOUNDS_WHEN_FILE_READ_QUEUE_IS_LONGER_THAN"
		WhatIsLowPriorityForDontLoadForLowPrioritySoundsWhenFileReadQueueIsLongerThan="LOW"

		PositionDeltaForReverbCheck="10"
		TimeToFadeAudio="2s"
		MinSampleVolume="2"
		AmbientStreamHysteresisVolume="10"
		PanRadiusScaleValue="400"
		PanSize=".5"
		DefaultSoundVolume="70%"
		DefaultAmbientVolume="50%"
		DefaultMovieVolume="70%"
		DefaultVoiceVolume="70%"
		DefaultMusicVolume="70%"
		VolumeMultiplierFor2DSounds="=$PLATFORM_SPECIFIC_2D_VOLUME_MULTIPLIER"
		VolumeMultiplierFor3DSounds="=$PLATFORM_SPECIFIC_3D_VOLUME_MULTIPLIER"
		AutomaticSubtitleDuration="20s"
		AutomaticSubtitleLines="8"
	
		VoiceMoveToCampMaxCampnessAtStartPoint="0"
		VoiceMoveToCampMinCampnessAtEndPoint="5000"
		MinDelayBetweenEnterStateVoice="5s"
		TimeSinceLastAttackForVoiceRetreatToCastle="3s"
		DistanceToLookForEnemiesForVoiceRetreatToCastle="1000"
		PostPostGameMusicWait="10s"
		PlayEnemySightedEventsOnlyFromNearbyUnits="false"
		>		
		<AutomaticSubtitleWindowColor R="0.0" G="0.0" B="0.0" A=".50"/>
		<AutomaticSubtitleTextColor R="1.0" G="0.8" B="0.0" A="1.0"/>

		<!-- Amount to lower other sounds while movies are playing -->
		<VolumeSliderMultiplierForMovie Slider="VOICE" Multiplier="0.4" />
		<VolumeSliderMultiplierForMovie Slider="SOUNDFX" Multiplier="0.7" />
		<VolumeSliderMultiplierForMovie Slider="MUSIC" Multiplier="0.7" />
		<VolumeSliderMultiplierForMovie Slider="AMBIENT" Multiplier="0.7" />

		<TacticalMicSettings
			id="TacticalMicSettings" 
			MicrophonePreferredFractionCameraToGround="86%"
			MicrophoneMinDistanceToCamera="100"
			MicrophoneMaxDistanceToCamera="300"
			VolumeMicrophonePullTowardsTerrainLookAtPoint="120%"
			PanningMicrophonePullTowardsTerrainLookAtPoint="35%"
			ZoomMinDistance="130.0"
			ZoomMaxDistance="425.0"
			ZoomSoundVolumePercentageAmount="20%"						
			ZoomFadeDistanceForMaxEffect="200"
			ZoomFadeZeroEffectEdgeLength="260"
			ZoomFadeFullEffectEdgeLength="135"
		/>
		<LivingWorldMicSettings
			id="LivingWorldMicSettings" 
			MicrophonePreferredFractionCameraToGround="80%"
			MicrophoneMinDistanceToCamera="100"
			MicrophoneMaxDistanceToCamera="4500"
			VolumeMicrophonePullTowardsTerrainLookAtPoint="120%"
			PanningMicrophonePullTowardsTerrainLookAtPoint="60%"
			ZoomMinDistance="130.0"
			ZoomMaxDistance="1000.0"
			ZoomSoundVolumePercentageAmount="20%"						
			ZoomFadeDistanceForMaxEffect="200"
			ZoomFadeZeroEffectEdgeLength="260"
			ZoomFadeFullEffectEdgeLength="135"
		/>
		<ShellMicSettings
			id="ShellMicSettings"
		/>
		<VolumeCompressorSettings 
			Threshold="-6"
			Ratio="10"
			AttackTime="2ms"
			ReleaseTime="70ms" 
			AppliesEquallyToAllChannels="true"
		/>
	</AudioSettings>
</AssetDeclaration>
