test/testautomation_audio.c
changeset 7126 6fce42265686
parent 7094 330d3bb2476d
child 7134 09ee216e6a25
equal deleted inserted replaced
7125:082c0c53ac16 7126:6fce42265686
    47 	SDL_QuitSubSystem( SDL_INIT_AUDIO );
    47 	SDL_QuitSubSystem( SDL_INIT_AUDIO );
    48         SDLTest_AssertPass("Call to SDL_QuitSubSystem(SDL_INIT_AUDIO)");
    48         SDLTest_AssertPass("Call to SDL_QuitSubSystem(SDL_INIT_AUDIO)");
    49 
    49 
    50         /* Restart audio again */
    50         /* Restart audio again */
    51         _audioSetUp(NULL);
    51         _audioSetUp(NULL);
       
    52 
       
    53     return TEST_COMPLETED;
    52 }
    54 }
    53 
    55 
    54 /**
    56 /**
    55  * \brief Start and stop audio directly
    57  * \brief Start and stop audio directly
    56  * 
    58  * 
    99 	SDL_AudioQuit();
   101 	SDL_AudioQuit();
   100 	SDLTest_AssertPass("Call to SDL_AudioQuit()");
   102 	SDLTest_AssertPass("Call to SDL_AudioQuit()");
   101       
   103       
   102         /* Restart audio again */
   104         /* Restart audio again */
   103         _audioSetUp(NULL);
   105         _audioSetUp(NULL);
       
   106 
       
   107     return TEST_COMPLETED;
   104 }
   108 }
   105 
   109 
   106 /**
   110 /**
   107  * \brief Start, open, close and stop audio
   111  * \brief Start, open, close and stop audio
   108  * 
   112  * 
   180 		} /* spec loop */
   184 		} /* spec loop */
   181 	} /* driver loop */
   185 	} /* driver loop */
   182 	      
   186 	      
   183         /* Restart audio again */
   187         /* Restart audio again */
   184         _audioSetUp(NULL);
   188         _audioSetUp(NULL);
       
   189 
       
   190     return TEST_COMPLETED;
   185 }
   191 }
   186 
   192 
   187 /**
   193 /**
   188  * \brief Enumerate and name available audio devices (output and capture).
   194  * \brief Enumerate and name available audio devices (output and capture).
   189  * 
   195  *