Commits

Giovanni C  committed 2d44628

Refactor commit #e58b396

  • Participants
  • Parent commits 497f709

Comments (0)

Files changed (1)

File src/audio-common.c

 audio_set_meterlabel(){
 
 #if (defined(CONFIG_500D) || defined(CONFIG_1100D))  //500d and 1100d only have internal mono audio :(
-	int input_source = 4;
+	int input_source = 0;
 #else
 	int input_source = get_input_source();
 #endif
     switch (input_source)
         {
         case 0:
+            #if (defined(CONFIG_500D) || defined(CONFIG_1100D))
+            snprintf(left_label,  sizeof(left_label),  " MIC ");
+            snprintf(right_label, sizeof(right_label), " N/C ");
+            #else
             snprintf(left_label,  sizeof(left_label),  "L INT");
             snprintf(right_label, sizeof(right_label), "R INT");
+            #endif
             break;
         case 1:
             snprintf(left_label,  sizeof(left_label),  "L INT");
             snprintf(left_label,  sizeof(left_label),  "L INT");
             snprintf(right_label, sizeof(right_label), "R BAL");
             break;
-        case 4:
-            snprintf(left_label,  sizeof(left_label),  "MIC ");
-            break;
         }
 
 }