#
# Configuration for PMac
#

<confdir:pcm/front.conf>

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

# default with dmix/dsnoop
PMac.pcm.!default {
	@args [ CARD ]
	@args.CARD {
		type string
	}
	type asym
	playback.pcm {
		type plug
		slave.pcm {
			@func concat
			strings [ "dmix:CARD=" $CARD ",FORMAT=S16_BE" ]
		}
	}
	capture.pcm {
		type plug
		slave.pcm {
			@func concat
			strings [ "dsnoop:CARD=" $CARD ",FORMAT=S16_BE" ]
		}
	}
}
