head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.6 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.4 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.2 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.3.0.6 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.4 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.2 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.1.0.8 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.6 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.4 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.5 date 2026.07.13.04.35.21; author wiz; state Exp; branches; next 1.4; commitid KzpMRouvb2DLQrNG; 1.4 date 2025.10.23.20.35.52; author wiz; state Exp; branches; next 1.3; commitid 1V2hBZn9ypXaCJfG; 1.3 date 2025.02.12.06.44.27; author ryoon; state Exp; branches; next 1.2; commitid wrOiT0jBBwBs99JF; 1.2 date 2024.12.26.11.36.55; author wiz; state Exp; branches; next 1.1; commitid N3BcXtBr5ADDj0DF; 1.1 date 2024.02.29.14.15.41; author bsiegert; state Exp; branches; next ; commitid zOQ4V2BUsC5QRk0F; desc @@ 1.5 log @*: recursive bump for libmpg123 dependency in lame @ text @# $NetBSD: Makefile,v 1.4 2025/10/23 20:35:52 wiz Exp $ DISTNAME= pcaudiolib-1.3 PKGREVISION= 3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_GITHUB:=espeak-ng/} GITHUB_RELEASE= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/espeak-ng/pcaudiolib/ COMMENT= Provides a C API to different audio devices LICENSE= gnu-gpl-v3 GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ USE_TOOLS+= automake autoconf autoreconf pkg-config .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" CONFIGURE_ARGS+= --with-netbsd .else CONFIGURE_ARGS+= --without-netbsd .endif .if ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --with-coreaudio .else CONFIGURE_ARGS+= --without-coreaudio .endif .include "../../mk/oss.buildlink3.mk" .if ${OSS_TYPE} != "none" SUBST_CLASSES+= oss SUBST_STAGE.oss= pre-configure SUBST_FILES.oss= src/oss.c SUBST_SED.oss= -e s,/dev/dsp,${DEVOSSAUDIO},g SUBST_MESSAGE.oss= Fixing hardcoded audio device. .endif pre-configure: set -e; cd ${WRKSRC} && autoreconf -fi .include "options.mk" .include "../../mk/bsd.pkg.mk" @ 1.4 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2025/02/12 06:44:27 ryoon Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.3 log @*: Recursive revbump from audio/flac-1.5.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/12/26 11:36:55 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.2 log @pcaudiolib: update to 1.3. Merge pull request #30 from espeak-ng/rel-1.3 release 1.3 Merge pull request #29 from DataTriny/oss-close-device Fix OSS device never getting closed Merge pull request #25 from barracuda156/darwin Fix headers for macOS Merge pull request #21 from brad0/oss_cleanup Cleanup header checks for OSS OpenBSD no longer uses OSS so remove the soundcard.h header check. FreeBSD / NetBSD / DragonFly / Linux all use sys/soundcard.h. Merge pull request #20 from codeofdusk/build-on-macos Check-in Mac fixes Merge pull request #18 from zment4/master Copy audio buffer and send for playback without blocking, fixes Windows audio choppyness Fix latency-related buffer sizing Turns out that eSpeak-NG (the main user of this lib) enforces a minimum buffer size of 60ms which is also the default size. This explains why smaller LATENCY values were inducing choppiness in the audio on some systems. Adjust the comment accordingly,. Also make sure computed buffer sizes don't land in the middle of a sample frame. Doing (samplerate * channels * LATENCY) / 1000 is wrong. Both ALSA and PulseAudio provide nice abstractions for buffer sizing so let's use them directly. In the ALSA case in particular, we want the period to be 60ms, not the whole buffer, so to interleave speech audio computation and audio playback. Fix audio choppiness on some systems Commit a41d46e816d2 ("Fix cancellation snappiness") made espeak unusable on the RaspberryPi due to extreme audio choppiness. This can sometimes be observed on some PC-type systems as well, albeit much less prominently. Relax the timing to the smallest value that makes it work again on the RaspberryPi. Issue #9: update notes about build environment @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/02/29 14:15:41 bsiegert Exp $ d4 1 @ 1.1 log @audio/pcaudiolib: Add pcaudiolib version 1.2 Packaged in wip by adr The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices. It supports: ALSA, CoreAudio (Mac OS), OSS and PulseAudio. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= pcaudiolib-1.2 d6 1 a6 2 GITHUB_PROJECT= pcaudiolib GITHUB_RELEASE= 1.2 @