BSD Ports

audio/portaudio 19.6.0_8,1 FreeBSD

Portable cross-platform Audio API

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
70ca1da239
License
MIT
Categories
audio
Package size
174.7 KiB, 1071.4 KiB installed

Description

PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O.

PortAudio provides a very simple API for recording and/or playing sound using a simple callback function or a blocking read/write interface. Example programs are included that play sine waves, process audio input (guitar fuzz), record and playback audio, list available audio devices, etc.

In the other systems

SystemPortVersion
FreeBSDaudio/portaudio19.6.0_8,1
NetBSDaudio/portaudio190700.20210406nb2
DragonFlyaudio/portaudio19.6.0_7,1
MidnightBSDaudio/portaudio19.20140130_2

Install

Binary package:

pkg install portaudio

From the ports tree:

cd /usr/ports/audio/portaudio/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	portaudio>0:audio/portaudio
LIB_DEPENDS=	libportaudio.so:audio/portaudio

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest19.6.0_8,119.6.0_8,119.6.0_7,119.6.0_7,119.6.0_8,1
FreeBSD:14:quarterly19.6.0_8,119.6.0_8,1n/a19.6.0_7,119.6.0_8,1
FreeBSD:15:latest19.6.0_8,119.6.0_8,1n/a19.6.0_7,119.6.0_7,1
FreeBSD:15:quarterly19.6.0_8,119.6.0_8,1n/an/an/a
FreeBSD:16:latest19.6.0_8,119.6.0_8,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 58
Run dependencies 49
Required by 223

The first 100 are listed.

Configuration

Options name: audio_portaudio

OptionDefaultDescription
DOCSoffBuild and/or install documentation
DOXYGENoffBuild documentation with Doxygen
EXAMPLESoffBuild and/or install examples
JACKonJACK audio server support
PATESToffPortAudio Test Programs
SNDIOoffSndio audio support
USES
autoreconf:2.69 cpe dos2unix gmake libtool localbase:ldflags pkgconfig tar:tgz
Service scripts
none

Message after installing

#
# PortAudio test programs can be built like this:
#
# cd /usr/local/share/examples/portaudio
# cc -L/usr/local/lib -lm -lpthread -lportaudio -I/usr/local/include \
#		pa_unix*.c pa_allocation.c pa_ringbuffer.c pa_debugprint.c \
#		pa_front.c paex_ocean_shore.c
#

Files

pkg-plist 65
  • bin/pa_minlat
  • bin/paqa_devs
  • bin/paqa_errs
  • bin/paqa_latency
  • bin/patest1
  • bin/patest_buffer
  • bin/patest_callbackstop
  • bin/patest_clip
  • bin/patest_dither
  • bin/patest_hang
  • bin/patest_in_overflow
  • bin/patest_latency
  • bin/patest_leftright
  • bin/patest_longsine
  • bin/patest_many
  • bin/patest_maxsines
  • bin/patest_mono
  • bin/patest_multi_sine
  • bin/patest_out_underflow
  • bin/patest_prime
  • bin/patest_ringmix
  • bin/patest_sine8
  • bin/patest_sine_channelmaps
  • bin/patest_sine_formats
  • bin/patest_sine_srate
  • bin/patest_sine_time
  • bin/patest_start_stop
  • bin/patest_stop
  • bin/patest_stop_playout
  • bin/patest_toomanysines
  • bin/patest_two_rates
  • bin/patest_underflow
  • bin/patest_wire
  • include/pa_jack.h
  • include/pa_unix_oss.h
  • include/portaudio.h
  • include/portaudiocpp/AutoSystem.hxx
  • include/portaudiocpp/BlockingStream.hxx
  • include/portaudiocpp/CFunCallbackStream.hxx
  • include/portaudiocpp/CallbackInterface.hxx
  • include/portaudiocpp/CallbackStream.hxx
  • include/portaudiocpp/CppFunCallbackStream.hxx
  • include/portaudiocpp/Device.hxx
  • include/portaudiocpp/DirectionSpecificStreamParameters.hxx
  • include/portaudiocpp/Exception.hxx
  • include/portaudiocpp/HostApi.hxx
  • include/portaudiocpp/InterfaceCallbackStream.hxx
  • include/portaudiocpp/MemFunCallbackStream.hxx
  • include/portaudiocpp/PortAudioCpp.hxx
  • include/portaudiocpp/SampleDataFormat.hxx
  • include/portaudiocpp/Stream.hxx
  • include/portaudiocpp/StreamParameters.hxx
  • include/portaudiocpp/System.hxx
  • include/portaudiocpp/SystemDeviceIterator.hxx
  • include/portaudiocpp/SystemHostApiIterator.hxx
  • lib/libportaudio.a
  • lib/libportaudio.so
  • lib/libportaudio.so.2
  • lib/libportaudio.so.2.0.0
  • lib/libportaudiocpp.a
  • lib/libportaudiocpp.so
  • lib/libportaudiocpp.so.0
  • lib/libportaudiocpp.so.0.0.12
  • libdata/pkgconfig/portaudio-2.0.pc
  • libdata/pkgconfig/portaudiocpp.pc
distinfo 1
FileSizeSHA256
pa_stable_v190600_20161030.tgz1.450572e+06f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513
Master sites 1
  • http://www.portaudio.com/archives/

Commit history 1

DateCommitCreditsLog message
70ca1da239 Daniel Engberg audio/portaudio: Enable JACK audio backend by default
This is default in most distros Requested by pi@ via mailinglist