diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/settings.c b/apps/settings.c index 4090714de0..650a957d6e 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -78,7 +78,7 @@ const char rec_base_directory[] = REC_BASE_DIR; | |||
78 | #include "pcm_playback.h" | 78 | #include "pcm_playback.h" |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | #define CONFIG_BLOCK_VERSION 26 | 81 | #define CONFIG_BLOCK_VERSION 27 |
82 | #define CONFIG_BLOCK_SIZE 512 | 82 | #define CONFIG_BLOCK_SIZE 512 |
83 | #define RTC_BLOCK_SIZE 44 | 83 | #define RTC_BLOCK_SIZE 44 |
84 | 84 | ||
@@ -364,8 +364,11 @@ static const struct bit_entry hd_bits[] = | |||
364 | {1, S_O(rec_channels), 0, "rec channels", "stereo,mono" }, | 364 | {1, S_O(rec_channels), 0, "rec channels", "stereo,mono" }, |
365 | {4, S_O(rec_mic_gain), 8, "rec mic gain", NULL }, | 365 | {4, S_O(rec_mic_gain), 8, "rec mic gain", NULL }, |
366 | {3, S_O(rec_quality), 5, "rec quality", NULL }, | 366 | {3, S_O(rec_quality), 5, "rec quality", NULL }, |
367 | {2, S_O(rec_source), 0, /* 0=mic */ | 367 | #ifdef HAVE_SPDIF_IN |
368 | "rec source", "mic,line,spdif" }, | 368 | {2, S_O(rec_source), 0 /* 0=mic */, "rec source", "mic,line,spdif" }, |
369 | #else | ||
370 | {1, S_O(rec_source), 0 /* 0=mic */, "rec source", "mic,line" }, | ||
371 | #endif | ||
369 | {3, S_O(rec_frequency), 0, /* 0=44.1kHz */ | 372 | {3, S_O(rec_frequency), 0, /* 0=44.1kHz */ |
370 | "rec frequency", "44,48,32,22,24,16" }, | 373 | "rec frequency", "44,48,32,22,24,16" }, |
371 | {4, S_O(rec_left_gain), 2, /* 0dB */ | 374 | {4, S_O(rec_left_gain), 2, /* 0dB */ |