diff options
author | 2014-09-19 16:45:55 +0000 | |
---|---|---|
committer | 2014-09-19 16:45:55 +0000 | |
commit | dd902d489a7232e2ddcf29f8c9c7fbeb60c06dde (patch) | |
tree | 61d368827fdd687eae7b4514db41a75fb881b510 | |
parent | add missing break statements to imxccm_get_fecclk() (diff) | |
download | wireguard-openbsd-dd902d489a7232e2ddcf29f8c9c7fbeb60c06dde.tar.xz wireguard-openbsd-dd902d489a7232e2ddcf29f8c9c7fbeb60c06dde.zip |
add missing break statements giving alaw encoding
a chance of working instead of returning EINVAL.
ok miod@
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_audio.c b/sys/arch/zaurus/dev/zaurus_audio.c index 969d45f13d7..f0bd34352ad 100644 --- a/sys/arch/zaurus/dev/zaurus_audio.c +++ b/sys/arch/zaurus/dev/zaurus_audio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_audio.c,v 1.17 2013/08/30 14:18:38 ratchov Exp $ */ +/* $OpenBSD: zaurus_audio.c,v 1.18 2014/09/19 16:45:55 jsg Exp $ */ /* * Copyright (c) 2005 Christopher Pascoe <pascoe@openbsd.org> @@ -633,9 +633,11 @@ zaudio_set_params(void *hdl, int setmode, int usemode, case 1: play->factor = 4; play->sw_code = alaw_to_slinear16_le_mts; + break; case 2: play->factor = 2; play->sw_code = alaw_to_slinear16_le; + break; default: return (EINVAL); } |