As3525 wavpack_enc document some intentional switch fall through
Change-Id: I56bf439df2c05653d65f49238e886e4ef2291176
This commit is contained in:
parent
0a6d7abd13
commit
275c762bb2
3 changed files with 8 additions and 1 deletions
|
@ -67,6 +67,7 @@ void audio_input_mux(int source, unsigned flags)
|
||||||
{
|
{
|
||||||
default: /* playback - no recording */
|
default: /* playback - no recording */
|
||||||
source = AUDIO_SRC_PLAYBACK;
|
source = AUDIO_SRC_PLAYBACK;
|
||||||
|
/*fallthrough*/
|
||||||
case AUDIO_SRC_PLAYBACK:
|
case AUDIO_SRC_PLAYBACK:
|
||||||
if (source != last_source)
|
if (source != last_source)
|
||||||
{
|
{
|
||||||
|
|
|
@ -288,14 +288,19 @@ static bool dbg_btn(bool *done, int *x)
|
||||||
{
|
{
|
||||||
case DEBUG_CANCEL:
|
case DEBUG_CANCEL:
|
||||||
*done = true;
|
*done = true;
|
||||||
|
/*fallthrough*/
|
||||||
case DEBUG_NEXT:
|
case DEBUG_NEXT:
|
||||||
cont = false;
|
cont = false;
|
||||||
|
/*fallthrough*/
|
||||||
case DEBUG_LEFT_JUSTIFY:
|
case DEBUG_LEFT_JUSTIFY:
|
||||||
(*x) = 0;
|
(*x) = 0;
|
||||||
sleep(HZ/5);
|
sleep(HZ/5);
|
||||||
break;
|
break;
|
||||||
case DEBUG_LEFT_SCROLL:
|
case DEBUG_LEFT_SCROLL:
|
||||||
(*x)--;
|
(*x)--;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
|
@ -610,4 +615,4 @@ int get_cpu_voltage_setting(void)
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */
|
#endif /* HAVE_ADJUSTABLE_CPU_VOLTAGE */
|
||||||
|
|
|
@ -365,6 +365,7 @@ enum codec_status codec_run(void)
|
||||||
if (!(data = ci->enc_encbuf_get_buffer(out_reqsize)))
|
if (!(data = ci->enc_encbuf_get_buffer(out_reqsize)))
|
||||||
continue;
|
continue;
|
||||||
getbuf = GETBUF_PCM;
|
getbuf = GETBUF_PCM;
|
||||||
|
/*fallthrough*/
|
||||||
case GETBUF_PCM:
|
case GETBUF_PCM:
|
||||||
if (!ci->enc_pcmbuf_read(input_buffer + PCM_SAMP_PER_CHUNK,
|
if (!ci->enc_pcmbuf_read(input_buffer + PCM_SAMP_PER_CHUNK,
|
||||||
PCM_SAMP_PER_CHUNK))
|
PCM_SAMP_PER_CHUNK))
|
||||||
|
|
Loading…
Reference in a new issue