c318a7e095
Audacity is a free audio editor. You can record sounds, play sounds, import and export WAV, AIFF, Ogg Vorbis, and MP3 files, and more. Use it to edit your sounds using Cut, Copy and Paste (with unlimited Undo), mix tracks together, or apply effects to your recordings. Initial port and many patches by jakemsr@. Thanks to maintainer Antoine Jacoutot for persistence and keeping the port alive. ok jakemsr@
13 lines
695 B
Plaintext
13 lines
695 B
Plaintext
$OpenBSD: patch-lib-src_libnyquist_snd_sndheader_c,v 1.1.1.1 2006/01/12 08:59:27 steven Exp $
|
|
--- lib-src/libnyquist/snd/sndheader.c.orig Tue Jan 11 20:58:31 2005
|
|
+++ lib-src/libnyquist/snd/sndheader.c Tue Jan 11 21:02:41 2005
|
|
@@ -923,7 +923,7 @@ void snd_write_header(snd_type snd, long
|
|
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;
|