<!--

Example configuration for audio mixer and driver
================================================

The configuration uses the new init configuration
elements. Please add 'SPECS += use_new_init' to your
etc/specs.conf.

-->

<config>
	<parent-provides>
		<service name="ROM"/>
		<service name="RAM"/>
		<service name="IRQ"/>
		<service name="IO_MEM"/>
		<service name="IO_PORT"/>
		<service name="CAP"/>
		<service name="PD"/>
		<service name="RM"/>
		<service name="CPU"/>
		<service name="LOG"/>
		<service name="SIGNAL"/>
	</parent-provides>
	<default-route>
		<!-- all clients use the mixer for audio per default -->
		<service name="Audio_out"> <child name="mixer"/> </service>
		<any-service> <parent/> <any-child/> </any-service>
	</default-route>

	<start name="timer">
		<resource name="RAM" quantum="512K"/>
		<provides> <service name="Timer"/> </provides>
	</start>

	<start name="pci_drv">
		<resource name="RAM" quantum="512K"/>
		<provides> <service name="PCI"/> </provides>
	</start>

	<start name="audio_out_drv">
		<resource name="RAM" quantum="8M"/>
		<provides> <service name="Audio_out"/> </provides>
	</start>

	<start name="mixer">
		<resource name="RAM" quantum="1M"/>
		<provides> <service name="Audio_out"/> </provides>
		<route>
			<!-- use the actual driver as mixer back end -->
			<service name="Audio_out"> <child name="audio_out_drv"/> </service>
			<any-service> <parent/> <any-child/> </any-service>
		</route>
	</start>

	<start name="test-audio_out">
		<resource name="RAM" quantum="12M"/>
		<config>
			<!-- a bunch of raw media files in 2-channel FLOAT -->
			<filename>silence.f32</filename>
			<filename>silence.f32</filename>
		</config>
	</start>
</config>

<!-- vi: set ft=xml : -->
