LINUX.ORG.RU

История изменений

Исправление ZenitharChampion, (текущая версия) :

А вот мой:

pcm.SKYPE_IN_MIC {
	type plug
	slave.pcm "second_asymed"
}

pcm.SKYPE_OUT_SPEAKERS {
	type plug
	slave.pcm "second_asymed"
}

pcm.SKYPE_RINGING {
	type plug
	slave.pcm "first_asymed"
}

pcm.first_asymed {
	type asym
	playback.pcm "dmix"
	capture.pcm "dsnoop"
}

pcm.second_asymed {
	type asym
	playback.pcm "second_dmix"
	capture.pcm "second_dsnoop"
}

pcm.!default {
	type plug
	slave.pcm "first_asymed"
}

ctl.!default {
	type hw				# Main Card  - Main Speakers
	card 0				# HW ID HERE
}

pcm.!dmix {
	type dmix
	ipc_key 10000
	ipc_key_add_uid false

	slave {				# Main speakers
		pcm "hw:0,0"		# HW ID HERE
		period_time 0
		buffer_time 0
		period_size 2048
		buffer_size 32768
		channels 2
		format S32_LE
		rate 192000
	}

	bindings {
		0 0
		1 1
	}
}

pcm.!dsnoop {
	type dsnoop
	ipc_key 20000
	ipc_key_add_uid false

	slave {				# Mic - Main Card
		pcm "hw:0,0"		# HW ID HERE
		period_time 0
		buffer_time 0
		period_size 1024
		buffer_size 2048
		format S32_LE
		rate 96000
	}
}

pcm.second_dmix {
	type dmix
	ipc_key 30000
	ipc_key_add_uid false

	slave {				# Headphones - Second Card
		pcm "hw:1,0"		# HW ID HERE
		period_time 0
		buffer_time 0
		period_size 1024
		buffer_size 2048
	}

	bindings {
		0 0
		1 1
	}
}

pcm.second_dsnoop {
	type dsnoop
	ipc_key 40000
	ipc_key_add_uid false

	slave {				# Mic - Second Card
		pcm "hw:1,0"		# HW ID HERE
		period_time 0
		buffer_time 0
		period_size 1024
		buffer_size 2048
		format S16_LE
		# HW supports ONLY 48000
		# rate 48000 # Skype does not work
		rate 44100 # Skype works!
	}
}

Исходная версия ZenitharChampion, :

А вот мой: