~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/timer.h

  • Committer: Osmo Antero
  • Date: 2015-02-06 09:56:19 UTC
  • Revision ID: osmoma@gmail.com-20150206095619-qayinwgpu598n3mi
Cleanups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
void timer_module_reset(gint for_state);
32
32
 
33
33
typedef struct {
34
 
    gchar action;      // recording action: 'S' = start, 'T' = stop, 'P' = pause
 
34
    gchar action;      // recording action:   'S' = start | 'T' = stop | 'P' = pause
35
35
    gchar action_prep; // action preposition: 'a' = after
36
 
    gchar data_type;   // data type: 't' = time data, 'f' = file size, 'l' = label
37
 
    gdouble val[3];    // data: hh, mm, ss | file size | silence/voice/audio/sound duration
38
 
    gchar label[12];   // textual action: "silence" | ("sound" | "voice" | "audio") | ("bytes" | "kb" | "mb" | "gb" | "tb")
 
36
    gchar data_type;   // data type:          't' = clock time h:m:s | 'd' = time duration h,m,s | 'f' = file size | 'l' = label
 
37
    gdouble val[3];    // data:               hours,minutes,seconds | file size | silence/voice/audio/sound duration
 
38
    gchar label[12];   // label:              "silence" | ("sound" | "voice" | "audio") | ("bytes" | "kb" | "mb" | "gb" | "tb")
39
39
 
40
40
    gchar threshold_unit[10]; // level/threshold unit: "dB" (decibel) | "%" or empty
41
41
    gdouble threshold;        // level/threshold value in dB, % or plain value [0 - 1.0]