static void gui_playq_statbar_time ( struct audio_file fd  )  [static]

Fills the str_time with the time value of the audio file. audio file. It also checks if the times are the same as before, useful to discard useless refreshes.

Definition at line 141 of file gui_playq.c.

00142 {
00143         if (fd == NULL) {
00144                 g_string_assign(str_time, "");
00145         } else {
00146                 g_string_assign(str_time, " [");
00147                 gui_playq_statbar_time_calc(str_time, fd->time_cur);
00148                 if (!fd->stream) {
00149                         g_string_append_c(str_time, '/');
00150                         gui_playq_statbar_time_calc(str_time, fd->time_len);
00151                 }
00152                 g_string_append_c(str_time, ']');
00153         }
00154 }

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:33 2010 for herrie by  doxygen 1.6.3