@@ -300,13 +300,13 @@ struct pcm {
300300 int fd ;
301301 /** Flags that were passed to @ref pcm_open */
302302 unsigned int flags ;
303- /** The number of (under/over)runs that have occured */
303+ /** The number of (under/over)runs that have occurred */
304304 int xruns ;
305305 /** Size of the buffer */
306306 unsigned int buffer_size ;
307307 /** The boundary for ring buffer pointers */
308308 unsigned long boundary ;
309- /** Description of the last error that occured */
309+ /** Description of the last error that occurred */
310310 char error [PCM_ERROR_MAX ];
311311 /** Configuration that was passed to @ref pcm_open */
312312 struct pcm_config config ;
@@ -409,10 +409,10 @@ int pcm_get_file_descriptor(const struct pcm *pcm)
409409 return pcm -> fd ;
410410}
411411
412- /** Gets the error message for the last error that occured .
413- * If no error occured and this function is called, the results are undefined.
412+ /** Gets the error message for the last error that occurred .
413+ * If no error occurred and this function is called, the results are undefined.
414414 * @param pcm A PCM handle.
415- * @return The error message of the last error that occured .
415+ * @return The error message of the last error that occurred .
416416 * @ingroup libtinyalsa-pcm
417417 */
418418const char * pcm_get_error (const struct pcm * pcm )
@@ -1449,8 +1449,8 @@ int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail,
14491449 * @param pcm A PCM handle.
14501450 * @param timeout The maximum amount of time to wait for, in terms of milliseconds.
14511451 * @returns If frames became available, one is returned.
1452- * If a timeout occured , zero is returned.
1453- * If an error occured , a negative number is returned.
1452+ * If a timeout occurred , zero is returned.
1453+ * If an error occurred , a negative number is returned.
14541454 * @ingroup libtinyalsa-pcm
14551455 */
14561456int pcm_wait (struct pcm * pcm , int timeout )
0 commit comments