pb2menu 1

background menu_bg_ingame

widget
	ycent -40
	xcent -70
	halign left
	text "Sound Volume"
	type slider
	valign center
	cvar s_volume

widget
	yrel 12
	type checkbox
	text "3D Sound (Experimental)"
	cvar s_a3d

widget
	yrel 12
	type checkbox
	text "8bit (low quality) sound"
	cvar s_loadas8bit

widget
	yrel 12
	type checkbox
	text "Disable External Sound"
	cvar s_primary

widget
	yrel 12
	type checkbox
	text "No CD Music"
	cvar cd_nocd

widget
	yrel 12
	type field
	width 3
	text "Sound Mixahead"
	cvar s_mixahead

widget
	yrel 12
	xcent 0
	halign center
	text "   [Apply]   "
	command "snd_restart"

widget
	ycent -30
	xcent -80
	halign right
	type text
	text "Sound"

widget
	yrel 10
	halign right
	text "Quality"

widget
	yrel 12
	halign right
	type select
	width 6
	rows 3
	begin pairs
		11	"11kHz"
		22	"22kHz"
		44	"44kHz"
		48	"48kHz"
	end
	cvar s_khz