Add the break before the default case back. Otherwise, all cases will
fall into the default/error case.
Closes: https://github.com/alsa-project/alsa-utils/pull/315
Fixes: e78583ab7cde ("aplay: reorganize format handling in begin_wave()")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
case SND_PCM_FORMAT_S32_LE:
case SND_PCM_FORMAT_FLOAT_LE:
case SND_PCM_FORMAT_S24_3LE:
+ break;
default:
_format:
error(_("Wave doesn't support %s format..."), snd_pcm_format_name(hwparams.format));