diff cfg-common.h @ 7522:aa1a1249f239

-ac/-afm rewrite, now works the same way as -vc/-vfm including audio codec fallbacks if init failed
author arpi
date Sat, 28 Sep 2002 02:23:20 +0000
parents c1cb94198e05
children c276bfb414fb
line wrap: on
line diff
--- a/cfg-common.h	Sat Sep 28 02:21:13 2002 +0000
+++ b/cfg-common.h	Sat Sep 28 02:23:20 2002 +0000
@@ -106,9 +106,11 @@
 	// select audio/video codec (by name) or codec family (by number):
 //	{"afm", &audio_family, CONF_TYPE_INT, CONF_MIN, 0, 22, NULL}, // keep ranges in sync
 //	{"vfm", &video_family, CONF_TYPE_INT, CONF_MIN, 0, 29, NULL}, // with codec-cfg.c
-	{"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
+//	{"afm", &audio_fm, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"afm", &audio_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 	{"vfm", &video_fm_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
-	{"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
+//	{"ac", &audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"ac", &audio_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 	{"vc", &video_codec_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 
 	// postprocessing: