# configuration for ESS Maestro3

<confdir:pcm/front.conf>

Maestro3.pcm.front.!0 {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type hw
	card $CARD
}

# default with dmix/dsnoop
Maestro3.pcm.!default {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type asym
	playback.pcm {
		type plug
		slave.pcm {
			# we need to specify device and subdevice numbers
			# for a device with multiple substreams
			@func concat
			strings [ "dmix:" $CARD ",0,0" ]
		}
	}
	capture.pcm {
		type plug
		slave.pcm {
			@func concat
			strings [ "dsnoop:" $CARD ]
		}
	}
}
