diff options
Diffstat (limited to 'apps/gui/statusbar.c')
-rw-r--r-- | apps/gui/statusbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index e082063a6f..9eb766f054 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c | |||
@@ -680,7 +680,7 @@ static void gui_statusbar_write_samplerate_info(struct screen * display) | |||
680 | #ifdef SIMULATOR | 680 | #ifdef SIMULATOR |
681 | samprk = 44100; | 681 | samprk = 44100; |
682 | #else | 682 | #else |
683 | #ifdef HAVE_SPDIF_IN | 683 | #ifdef HAVE_SPDIF_REC |
684 | if (global_settings.rec_source == AUDIO_SRC_SPDIF) | 684 | if (global_settings.rec_source == AUDIO_SRC_SPDIF) |
685 | /* Use rate in use, not current measured rate if it changed */ | 685 | /* Use rate in use, not current measured rate if it changed */ |
686 | samprk = pcm_rec_sample_rate(); | 686 | samprk = pcm_rec_sample_rate(); |
@@ -731,7 +731,7 @@ static void gui_statusbar_icon_recording_info(struct screen * display) | |||
731 | gui_statusbar_write_samplerate_info(display); | 731 | gui_statusbar_write_samplerate_info(display); |
732 | #else /* !SWCODEC */ | 732 | #else /* !SWCODEC */ |
733 | /* hwcodec targets have sysfont characters */ | 733 | /* hwcodec targets have sysfont characters */ |
734 | #ifdef HAVE_SPDIF_IN | 734 | #ifdef HAVE_SPDIF_REC |
735 | if (global_settings.rec_source == AUDIO_SRC_SPDIF) | 735 | if (global_settings.rec_source == AUDIO_SRC_SPDIF) |
736 | { | 736 | { |
737 | /* Can't measure S/PDIF sample rate on Archos/Sim yet */ | 737 | /* Can't measure S/PDIF sample rate on Archos/Sim yet */ |