Support and General Use > Recording

Recording Enhancements Pack

<< < (90/189) > >>

Mmmm:

--- Quote from: petur on August 03, 2006, 05:34:44 PM ---Mmmm, can you compare the agc patch (in the tracker) with the state of your code? I've made it compatible with CVS again but am unsure if we followed the same way.

--- End quote ---

 I think that the only thing I changed is how the AGC status is displayed (so that it is always directly below the gain setting) using the int line variable which is either 5 6 or 7 depending on the input (dig/mic/line as you have different no.s of lines displayed)). I also fixed the display for digital when pressing down as you got a load of blank stages before you reached the AGC status before. Apart from that I'm pretty sure it is the same as the original (apart from a few tweaks to make it work with the fonts and histogram patches).
I'll have a look at yours later :)

petur:

--- Quote from: Mmmm on August 04, 2006, 06:55:55 AM ---I'll have a look at yours later :)
--- End quote ---

Fine. I'm looking at making it compatible with all targets that can record. Just checking stuff and fixing some hard coded assumptions into the correct variables...

Mmmm:
Ok, I've had a look and digital mode doesn't work properly on yours (which I suppose is to be expected since you have an H3xx, so you're forgiven ;))

So I could add in the changes I made to get this working properly if you like, have you got a more up to date patch with any recent changes to the 'hard coded assumptions'?

Mmmm:
OK Petur, If you are still monkeying around with that AGC patch the following will fix the Digital in recording screen (just in case you don't want to think about it ;))
Hope it makes sense to you! :D

around 510 have this as the cursor position definitions

--- Code: ---#ifdef HAVE_AGC
    if (global_settings.rec_source == SOURCE_MIC)
    {
        if(cursor == 2)
            cursor = 4;
        else if(cursor == 3)
            cursor = 1;
    }
#ifdef HAVE_SPDIF_IN
    else if (global_settings.rec_source == SOURCE_SPDIF)
    {
        if(cursor == 1)
            cursor = 4;
        else if(cursor == 3)
            cursor = 0;
    }
#endif
    max_cursor = 5;
#else
    switch(global_settings.rec_source)
    {
    case SOURCE_MIC:
        max_cursor = 1;
        break;
    case SOURCE_LINE:
        max_cursor = 3;
        break;
    default:
        max_cursor = 0;
        break;
    }
#endif /* HAVE_AGC */
--- End code ---


around line 1430 put this in to define placement of the AGC info

--- Code: ---        if (global_settings.rec_source == SOURCE_LINE)
            line = 5;
        else if (global_settings.rec_source == SOURCE_MIC)
            line = 4;
#ifdef HAVE_SPDIF_IN
        else if (global_settings.rec_source == SOURCE_SPDIF)
            line = 3;
#endif
--- End code ---

get rid of this around 1470

--- Code: ---line = (global_settings.rec_source == SOURCE_MIC)? 4 : 5;

--- End code ---

around line 1560 replace this:

--- Code: ---#ifdef HAVE_AGC
            line = (global_settings.rec_source == SOURCE_MIC)? 5 : 6;
#else
            line = (global_settings.rec_source == SOURCE_MIC)? 4 : 5;
#endif
             for(i = 0; i < screen_update; i++)
                screens[i].puts(0, filename_offset[i] + PM_HEIGHT + line, buf);

--- End code ---

With this:

--- Code: ---            for(i = 0; i < screen_update; i++)
#ifdef HAVE_AGC
                screens[i].puts(0, filename_offset[i] + PM_HEIGHT + line + 1, buf);
#else
                screens[i].puts(0, filename_offset[i] + PM_HEIGHT + line, buf);
#endif

--- End code ---

I also think that the remote display needs looking into as it goes off the bottom of the screen at times.... Something like the last line on the remote always changes into the next line (a bit like the agc info part).

Techy_Bloke:
is there anyway of making just the recording screen text heaps massive instead of having it really small so its all easier to read

and also a bigger and labeled DB meter

and prehaps scrolling input waveform ??

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version