@@ -231,7 +231,7 @@ microphone_driver_t *microphone_drivers[] = {
231231#ifdef HAVE_PIPEWIRE
232232 & microphone_pipewire ,
233233#endif
234- #if defined(HAVE_COREAUDIO ) && IOS
234+ #if defined(HAVE_COREAUDIO )
235235 & microphone_coreaudio ,
236236#endif
237237 & microphone_null ,
@@ -483,9 +483,9 @@ static void audio_driver_flush(audio_driver_state_t *audio_st,
483483 dsp_data .output_frames = 0 ;
484484
485485 /* Initialize the DSP input/output.
486- * Our DSP implementations generally operate directly on the
486+ * Our DSP implementations generally operate directly on the
487487 * input buffer, so the output/output_frames attributes here are zero;
488- * the DSP filter will set them to useful values, most likely to be
488+ * the DSP filter will set them to useful values, most likely to be
489489 * the same as the inputs. */
490490
491491 retro_dsp_filter_process (audio_st -> dsp , & dsp_data );
@@ -565,7 +565,7 @@ static void audio_driver_flush(audio_driver_state_t *audio_st,
565565 audio_st -> avg_flush_delta = audio_st -> avg_flush_delta * (n - 1 ) / n +
566566 (flush_time - audio_st -> last_flush_time ) / n ;
567567
568- /* How much does the avg_flush_delta deviate
568+ /* How much does the avg_flush_delta deviate
569569 * from the delta at 1.0x speed? */
570570 src_data .ratio *=
571571 MAX (AUDIO_MIN_RATIO ,
@@ -598,7 +598,7 @@ static void audio_driver_flush(audio_driver_state_t *audio_st,
598598#endif
599599
600600 /* Now we write our processed audio output to the driver.
601- * It may not be played immediately, depending on
601+ * It may not be played immediately, depending on
602602 * the driver implementation. */
603603 {
604604 const void * output_data = audio_st -> output_samples_buf ;
@@ -686,14 +686,14 @@ bool audio_driver_init_internal(void *settings_data, bool audio_cb_inited)
686686 audio_driver_st .output_samples_conv_buf_length = outsamples_max * sizeof (int16_t );
687687 audio_driver_st .chunk_block_size = AUDIO_CHUNK_SIZE_BLOCKING ;
688688 audio_driver_st .chunk_nonblock_size = AUDIO_CHUNK_SIZE_NONBLOCKING ;
689- audio_driver_st .chunk_size = audio_driver_st . chunk_block_size ;
689+ audio_driver_st .chunk_size = AUDIO_CHUNK_SIZE_BLOCKING ;
690690
691691 if (!audio_enable )
692692 {
693693 audio_driver_st .flags &= ~AUDIO_FLAG_ACTIVE ;
694694 return false;
695695 }
696-
696+
697697 audio_driver_st .flags |= AUDIO_FLAG_ACTIVE ;
698698
699699 if (!(audio_driver_find_driver (settings -> arrays .audio_driver ,
@@ -929,7 +929,7 @@ size_t audio_driver_sample_batch(const int16_t *data, size_t frames)
929929 {
930930 size_t frames_to_write =
931931 (frames_remaining > (AUDIO_CHUNK_SIZE_NONBLOCKING >> 1 ))
932- ? (AUDIO_CHUNK_SIZE_NONBLOCKING >> 1 )
932+ ? (AUDIO_CHUNK_SIZE_NONBLOCKING >> 1 )
933933 : frames_remaining ;
934934
935935 if (recording_push_audio )
@@ -1996,7 +1996,7 @@ bool microphone_driver_start(void)
19961996
19971997 /* If there's an opened microphone that the core turned on... */
19981998 if (microphone -> flags & MICROPHONE_FLAG_ACTIVE )
1999- {
1999+ {
20002000 /* If this microphone was requested before the driver was ready...*/
20012001 if (microphone -> flags & MICROPHONE_FLAG_PENDING )
20022002 {
@@ -2035,7 +2035,7 @@ bool microphone_driver_stop(void)
20352035 microphone_driver_state_t * mic_st = & mic_driver_st ;
20362036 retro_microphone_t * microphone = & mic_st -> microphone ;
20372037
2038- /* If there's an opened microphone that the core
2038+ /* If there's an opened microphone that the core
20392039 * turned on and received... */
20402040 if ( (microphone -> flags & MICROPHONE_FLAG_ACTIVE )
20412041 && (microphone -> flags & MICROPHONE_FLAG_ENABLED )
0 commit comments