diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c index acaeedcbd9..aa79946c85 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -502,7 +502,9 @@ static const struct bit_entry hd_bits[] = | |||
502 | "rec frequency", "44,48,32,22,24,16" }, | 502 | "rec frequency", "44,48,32,22,24,16" }, |
503 | {3, S_O(rec_quality), 5 /* 192 kBit/s max */, "rec quality", NULL }, | 503 | {3, S_O(rec_quality), 5 /* 192 kBit/s max */, "rec quality", NULL }, |
504 | {1, S_O(rec_editable), false, "editable recordings", off_on }, | 504 | {1, S_O(rec_editable), false, "editable recordings", off_on }, |
505 | #elif defined(HAVE_UDA1380) || defined(HAVE_TLV320) | 505 | #endif /* CONFIG_CODEC == MAS3587F */ |
506 | |||
507 | #if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) | ||
506 | #ifdef HAVE_UDA1380 | 508 | #ifdef HAVE_UDA1380 |
507 | {8|SIGNED, S_O(rec_mic_gain), 16 /* 8 dB */, "rec mic gain", NULL }, /* -128...+108 */ | 509 | {8|SIGNED, S_O(rec_mic_gain), 16 /* 8 dB */, "rec mic gain", NULL }, /* -128...+108 */ |
508 | #endif | 510 | #endif |
@@ -512,11 +514,17 @@ static const struct bit_entry hd_bits[] = | |||
512 | #endif | 514 | #endif |
513 | {8|SIGNED, S_O(rec_left_gain), 0, "rec left gain", NULL }, /* -128...+96 */ | 515 | {8|SIGNED, S_O(rec_left_gain), 0, "rec left gain", NULL }, /* -128...+96 */ |
514 | {8|SIGNED, S_O(rec_right_gain), 0, "rec right gain", NULL }, /* -128...+96 */ | 516 | {8|SIGNED, S_O(rec_right_gain), 0, "rec right gain", NULL }, /* -128...+96 */ |
517 | #if 0 /* Till samplerates are added for SWCODEC */ | ||
515 | {3, S_O(rec_frequency), 0, /* 0=44.1kHz */ | 518 | {3, S_O(rec_frequency), 0, /* 0=44.1kHz */ |
516 | "rec frequency", "44,48,32,22,24,16" }, | 519 | "rec frequency", "44,48,32,22,24,16" }, |
517 | {4, S_O(rec_quality), 4 /* MP3 L3 192 kBit/s */, "rec quality", NULL }, | 520 | #else |
521 | {3, S_O(rec_frequency), 0, /* 0=44.1kHz */ | ||
522 | "rec frequency", "44" }, | ||
518 | #endif | 523 | #endif |
519 | 524 | ||
525 | {4, S_O(rec_quality), 4 /* MP3 L3 192 kBit/s */, "rec quality", NULL }, | ||
526 | #endif /* CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) */ | ||
527 | |||
520 | /* values for the trigger */ | 528 | /* values for the trigger */ |
521 | {8 | SIGNED, S_O(rec_start_thres), -35, "trigger start threshold", NULL}, | 529 | {8 | SIGNED, S_O(rec_start_thres), -35, "trigger start threshold", NULL}, |
522 | {8 | SIGNED, S_O(rec_stop_thres), -45, "trigger stop threshold", NULL}, | 530 | {8 | SIGNED, S_O(rec_stop_thres), -45, "trigger stop threshold", NULL}, |