I've enabled the TASK_OVERRIDE from your source and I can see the meter at start up., now looking in the 7k0r menu. but first will add the menu in play.
here my diff:
diff -r 853866588ab9 Makefile.inc
--- a/Makefile.inc Mon Jul 09 14:28:44 2012 -0500
+++ b/Makefile.inc Mon Jul 09 23:13:35 2012 +0200
@@ -172,6 +172,7 @@
-D__ARM__ \
-I$(PLATFORM_INC) \
-I$(SRC_DIR) \
+ -mlong-calls \
ifeq ($(CONFIG_PYMITE),y)
CFLAGS += $(PYMITE_CFLAGS)
diff -r 853866588ab9 src/audio.c
--- a/src/audio.c Mon Jul 09 14:28:44 2012 -0500
+++ b/src/audio.c Mon Jul 09 23:13:35 2012 +0200
@@ -1518,11 +1518,11 @@
}
}
-#ifndef CONFIG_600D
+//#ifndef CONFIG_600D
//#ifndef CONFIG_500D
-//TASK_OVERRIDE( sounddev_task, my_sounddev_task );
-#endif
+TASK_OVERRIDE( sounddev_task, my_sounddev_task );
+//#endif
#if 0
/** Replace the audio level task with our own.
diff -r 853866588ab9 src/menu.c
--- a/src/menu.c Mon Jul 09 14:28:44 2012 -0500
+++ b/src/menu.c Mon Jul 09 23:13:35 2012 +0200
@@ -2121,7 +2121,7 @@
void piggyback_canon_menu()
{
-#ifdef GUIMODE_ML_MENU
+/*#ifdef GUIMODE_ML_MENU
#ifdef CONFIG_500D
if (is_movie_mode()) return; // doesn'tworkstation
#endif
@@ -2132,12 +2132,12 @@
int new_gui_mode = GUIMODE_ML_MENU;
if (new_gui_mode) task_create("menu_redraw_flood", 0x1c, 0, menu_redraw_flood, 0);
if (new_gui_mode != CURRENT_DIALOG_MAYBE) { SetGUIRequestMode(new_gui_mode); msleep(200); }
-#endif
+#endif*/
}
void close_canon_menu()
{
-#ifdef GUIMODE_ML_MENU
+/*#ifdef GUIMODE_ML_MENU
#ifdef CONFIG_500D
if (is_movie_mode()) return; // doesn'tworkstation
#endif
@@ -2146,7 +2146,7 @@
if (gui_state == GUISTATE_MENUDISP) return;
SetGUIRequestMode(0);
msleep(100);
-#endif
+#endif*/
}
static void menu_open()
@@ -2486,6 +2486,14 @@
//~ else bmp_printf(FONT_LARGE, 100, 100, "%d ", gui_state);
}
+#ifndef CONFIG_5D2
+ if (event->param == BGMT_MENU && PLAY_MODE)
+ {
+ give_semaphore( gui_sem );
+ return 0;
+ }
+#endif
+
return 1;
}
Now during play a video:
Audio test... menu
Reboot Audio IC : during play audio goes away
Unmute AV, Unmute AV2 : not working
Disable / Enable Audio IC : works
Power/Unpower speaker: works
Play Filters 1 and 2 : works
Unset play filter: not working
7k0r menu:
Rec Start/Stop Block on/off : works in rec
RecVolSet: will droop volume too low, rec start will recover.
Play Vol Set also wil drop down volume when in play but no so much as in rec.
in audio menu
Analog gain seem to work only from 23 to 32 dB