Add info key 'i' to show some states.

Currently showing C-Netz attached subscribers
This commit is contained in:
Andreas Eversberg
2016-08-02 09:03:46 +02:00
parent c9012c7663
commit 038ce9d1b7
10 changed files with 32 additions and 1 deletions

View File

@@ -39,3 +39,5 @@ void sighandler(int sigset);
void main_loop(int *quit, int latency, int interval, void (*myhandler)(void));
void dump_info(void);

View File

@@ -329,6 +329,10 @@ next_char:
/* toggle display */
display_wave_on(-1);
goto next_char;
case 'i':
/* dump info */
dump_info();
goto next_char;
}
/* process audio of built-in call control */