~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/timer.h

  • Committer: Osmo Antero Maatta
  • Date: 2011-02-08 13:27:23 UTC
  • mfrom: (28.1.2 audio-recorder)
  • Revision ID: osmoma@gmail.com-20110208132723-agnxxx3j46s923gx
Preparing .deb package for this app

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    gchar action;      // recording action: 'S' = start, 'T' = stop, 'P' = pause
21
21
    gchar action_prep; // action preposition: 'a' = after
22
22
    gchar data_type;   // data type: 't' = time data, 'f' = file size, 'l' = label
23
 
    double val[3];     // data: hh, mm, ss | file size | silence/voice/audio/sound duration and dB level
 
23
    double val[3];     // data: hh, mm, ss | file size | silence/voice/audio/sound duration
24
24
    gchar label[12];   // textual action: "silence" | ("sound" | "voice" | "audio") | ("bytes" | "kb" | "mb" | "gb" | "tb")
25
25
 
26
 
    gchar level_unit[10]; // level unit: db (decibel) | %
27
 
    double level;
 
26
    gchar level_unit[10]; // level unit: "db" (decibel) | "%"
 
27
    double level;         // level value in dB or %
28
28
 
29
29
    gint day_of_year; // Internal flag. Used to check if the clock has gone around to next day.
30
30
    gint64 seconds;   // Internal value. Count seconds for this command.
 
31
 
31
32
    gint64 seconds_x; // Internal value. Count seconds to resume recording after "silence" command.
32
 
    //                 Or count seconds to pause recording if started with "sound", "voice" or "audio" command.
 
33
                      // Or count seconds to pause recording if started with "sound", "voice" or "audio" commands.
 
34
 
33
35
    gboolean done;    // Internal value. TRUE when this timer command has been executed.
34
36
} TimerRec;
35
37