API Guide
2-1032 API Functions 601355 Rev A
21 int count;
22 VST_BOOLEAN single_class
= VSE_TRUE;
23 VST_MEDIA_CLASS_NAME
old_media_class;
24 VST_MEDIA_CLASS_NAME
target_media_class;
25 char *
medialist[VST_MAX_ITEMS];
26 char *
mediaclasslist
[VST_MAX_ITEMS];
27 VST_COMMAND_HANDLE cmd;
28
29 /* get parameters from user */
30 printf(“*** Reclassify parameters
***\n” );
31 count = vst_getmedialist(medialist,
VST_MAX_ITEMS);
32 printf(“\nEnter Target media class:
“);
33 gets( target_media_class);
34 printf(“\n Are media in same class
(1) yes, (0) no? “);
35 single_class = (VST_BOOLEAN)
atoi(gets(input));
36 if (single_class)
37 {
38 printf(“\n Enter media class: “);
39 gets( old_media_class);
40 }
41 else
42 {
43 count =
vst_getmediaclasslist(mediaclassl
ist, VST_MAX_ITEMS);
44 }
45
46 /* create the command handle */
47 /* Note that the command handle is
not */