openbsd-ports/audio/audacity/patches/patch-lib-src_libnyquist_snd_sndheader_c
ajacoutot 130d7818ea - update audacity to latest version: 1.3.3
- add NO_REGRESS since regression tests have not been updated for more
than 3 years and upstream does not seem interested
- add a patch from deanna@ that makes audacity use portaudio v19 and
make full duplex work (well sort of, but at least it does not hang
anymore)

ok deanna@
2007-06-06 09:35:18 +00:00

13 lines
702 B
Plaintext

$OpenBSD: patch-lib-src_libnyquist_snd_sndheader_c,v 1.3 2007/06/06 09:35:18 ajacoutot Exp $
--- lib-src/libnyquist/snd/sndheader.c.orig Wed Mar 28 09:16:45 2007
+++ lib-src/libnyquist/snd/sndheader.c Wed Mar 28 09:17:08 2007
@@ -923,7 +923,7 @@ void snd_write_header(snd_type snd, long *flags)
8 /*SSND hdr*/ + 8 /*SSND chunk*/;
if (snd->format.bits != 8 && snd->format.bits != 16) {
char msg[64];
- sprintf(msg, "Warning: using 16 bits per sample instead of %d\n",
+ sprintf(msg, "Warning: using 16 bits per sample instead of %ld\n",
snd->format.bits);
snd_warn(msg);
snd->format.bits = 16;