pkgsrc/audio/portaudio/patches/patch-ae
ben 154d25d056 Initial import of portaudio-18.1, a portable cross-platform audio API.
Package provided by dotz@irc.pl.

PortAudio is a free, cross platform, open-source, audio I/O library.  It
lets you write simple audio programs in 'C' that will compile and run on
many platforms including Windows, Macintosh (8,9,X), Unix (OSS), SGI, and
BeOS. PortAudio is intended to promote the exchange of audio synthesis
software between developers on different platforms, and was recently
selected as the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing sound
using a simple callback function.  Example programs are included that
synthesize sine waves and pink noise, perform fuzz distortion on a guitar,
list available audio devices, etc.
2004-04-20 17:52:48 +00:00

15 lines
477 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2004/04/20 17:52:49 ben Exp $
--- pa_tests/patest_wire.c.orig Sat Nov 22 17:27:23 2003
+++ pa_tests/patest_wire.c Sat Nov 22 17:27:54 2003
@@ -74,9 +74,9 @@
SAMPLE *out = (SAMPLE*)outputBuffer;
SAMPLE *in = (SAMPLE*)inputBuffer;
unsigned int i;
- (void) outTime;
int samplesPerFrame;
int numSamples;
+ (void) outTime;
samplesPerFrame = (int) userData;
numSamples = framesPerBuffer * samplesPerFrame;