Wednesday, February 21, 2024

UPDATE: portaudio

Sync with the sndio backend I was finally able to have commited upstream.


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/portaudio-svn/Makefile,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 Makefile
--- Makefile 5 Sep 2023 16:13:41 -0000 1.24
+++ Makefile 22 Feb 2024 05:28:04 -0000
@@ -2,7 +2,7 @@ COMMENT= portable cross-platform audio

DISTNAME = pa_stable_v190700_20210406
PKGNAME = portaudio-svn-1970
-REVISION = 0
+REVISION = 1
CATEGORIES= audio
SITES = http://files.portaudio.com/archives/
EXTRACT_SUFX = .tgz
Index: files/pa_sndio.c
===================================================================
RCS file: /cvs/ports/audio/portaudio-svn/files/pa_sndio.c,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 pa_sndio.c
--- files/pa_sndio.c 6 Feb 2019 14:21:15 -0000 1.6
+++ files/pa_sndio.c 22 Feb 2024 05:28:04 -0000
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2009 Alexandre Ratchov <alex@caoua.org>
+ * Copyright (c) 2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -13,43 +14,39 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
-#include <pthread.h>
-#include <poll.h>
+
#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include <poll.h>
+#include <pthread.h>
#include <sndio.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>

-#include "pa_util.h"
+#include "pa_allocation.h"
+#include "pa_debugprint.h"
#include "pa_hostapi.h"
-#include "pa_stream.h"
#include "pa_process.h"
-#include "pa_allocation.h"
-
-#if 0
-#define DPR(...) do { fprintf(stderr, __VA_ARGS__); } while (0)
-#else
-#define DPR(...) do {} while (0)
-

No comments:

Post a Comment