- vg_uictx.cursor[0] = 512 + 8;
- vg_uictx.cursor[1] = VG_PROFILE_SAMPLE_COUNT*2+8+24+12+12;
- vg_uictx.cursor[2] = 150;
- vg_uictx.cursor[3] = 12;
-
- ui_rect view_thing = { 4, vg.window_y-512-4, 512, 512 };
- ui_push_image( view_thing, vg_dsp.view_texture );
-
- float mb1 = 1024.0f*1024.0f,
- usage = vg_linear_get_cur( vg_audio.audio_pool ) / mb1,
- total = vg_linear_get_capacity( vg_audio.audio_pool ) / mb1,
- percent = (usage/total) * 100.0f;
-
- snprintf( perf, 127, "Mem: %.1f/%.1fmb (%.1f%%)\n", usage, total, percent );
-
- ui_text( vg_uictx.cursor, perf, 1, 0 );
- vg_uictx.cursor[1] += 20;
+ ui_rect window = {
+ 0,
+ 0,
+ 800,
+ AUDIO_CHANNELS * 18
+ };
+
+ if( vg_audio.debug_dsp ){
+ ui_rect view_thing = { 4, vg.window_y-512-4, 512, 512 };
+ ui_image( view_thing, vg_dsp.view_texture );
+ }