gstreamer_core/tsrc/examples/controller/src/audio-example.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    18 #define LOG_FILENAME_LINE __FILE__, __LINE__
    18 #define LOG_FILENAME_LINE __FILE__, __LINE__
    19 
    19 
    20 
    20 
    21 void create_xml(int result)
    21 void create_xml(int result)
    22 {
    22 {
    23 
       
    24     if(result)
    23     if(result)
    25     {
       
    26         assert_failed = 1;
    24         assert_failed = 1;
    27     } 
    25     
    28 
       
    29     testResultXml(xmlfile);
    26     testResultXml(xmlfile);
    30     close_log_file();
    27     close_log_file();
    31 
       
    32     if(result)
       
    33     {
       
    34         exit (-1);
       
    35     }    
       
    36 
       
    37 }
    28 }
    38 
       
    39 gint
    29 gint
    40 main (gint argc, gchar ** argv)
    30 main (gint argc, gchar ** argv)
    41 {
    31 {
    42   gint res = 1;
    32   gint res = 1;
    43   GstElement *src, *sink;
    33   GstElement *src, *sink;