=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/dsp.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/aucat/dsp.h 2024/04/22 12:21:49 1.11 +++ src/usr.bin/aucat/dsp.h 2024/04/22 12:32:51 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: dsp.h,v 1.11 2024/04/22 12:21:49 ratchov Exp $ */ +/* $OpenBSD: dsp.h,v 1.12 2024/04/22 12:32:51 ratchov Exp $ */ /* * Copyright (c) 2012 Alexandre Ratchov * @@ -107,7 +107,7 @@ int nch; }; -#define MIDI_TO_ADATA(m) (aparams_ctltovol[m] << (ADATA_BITS - 16)) +#define MIDI_TO_ADATA(m) (aparams_ctltovol[m]) extern const int aparams_ctltovol[128]; void aparams_init(struct aparams *);