From ec206d6434f0f930fc58070f4ad89754aaf5f76f Mon Sep 17 00:00:00 2001 From: ratchov Date: Sun, 6 Jul 2025 09:58:07 +0000 Subject: [PATCH] import audio/sndiortp, ok sthen The sndiortp utility can record audio from a sndio(7) audio device and send it on the network over RTP. Similarly it can receive audio streams over RTP and play the result on the device. This utility is mainly intended to test RTP capable audio equipment but it may also be used to broadcast audio over a fast local area network. --- audio/sndiortp/Makefile | 17 +++++++++++++++++ audio/sndiortp/distinfo | 2 ++ audio/sndiortp/pkg/DESCR | 6 ++++++ audio/sndiortp/pkg/PLIST | 2 ++ 4 files changed, 27 insertions(+) create mode 100644 audio/sndiortp/Makefile create mode 100644 audio/sndiortp/distinfo create mode 100644 audio/sndiortp/pkg/DESCR create mode 100644 audio/sndiortp/pkg/PLIST diff --git a/audio/sndiortp/Makefile b/audio/sndiortp/Makefile new file mode 100644 index 00000000000..87e1acc1097 --- /dev/null +++ b/audio/sndiortp/Makefile @@ -0,0 +1,17 @@ +COMMENT= play RTP streams or send recorded audio over RTP + +GH_ACCOUNT= ratchov +GH_PROJECT= sndiortp +GH_TAGNAME= v1.0.1 + +CATEGORIES= audio +MAINTAINER= Alexandre Ratchov + +# BSD +PERMIT_PACKAGE= Yes + +WANTLIB= c sndio +NO_TEST= Yes +MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" + +.include diff --git a/audio/sndiortp/distinfo b/audio/sndiortp/distinfo new file mode 100644 index 00000000000..b0781224f7e --- /dev/null +++ b/audio/sndiortp/distinfo @@ -0,0 +1,2 @@ +SHA256 (sndiortp-1.0.1.tar.gz) = A7L1rNKI9iBAIyzOOrRQKAXhAUwvMakWd7IKB5uEShc= +SIZE (sndiortp-1.0.1.tar.gz) = 10078 diff --git a/audio/sndiortp/pkg/DESCR b/audio/sndiortp/pkg/DESCR new file mode 100644 index 00000000000..ccdbc25dc55 --- /dev/null +++ b/audio/sndiortp/pkg/DESCR @@ -0,0 +1,6 @@ +The sndiortp utility can record audio from a sndio(7) audio device and send it +on the network over RTP. Similarly it can receive audio streams over RTP and +play the result on the device. + +This utility is mainly intended to test RTP capable audio equipment but +it may also be used to broadcast audio over a fast local area network. diff --git a/audio/sndiortp/pkg/PLIST b/audio/sndiortp/pkg/PLIST new file mode 100644 index 00000000000..95ccdc6ac64 --- /dev/null +++ b/audio/sndiortp/pkg/PLIST @@ -0,0 +1,2 @@ +@bin bin/sndiortp +@man man/man1/sndiortp.1