DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
This only happens when aacplus support is enabled.
/usr/bin/make all-am
c++ -DHAVE_CONFIG_H -I. -Wall -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT darkice-aacPlusEncoder.o -MD -MP -MF .deps/darkice-aacPlusEncoder.Tpo -c -o darkice-aacPlusEncoder.o test -f 'aacPlusEncoder.cpp' || echo './'aacPlusEncoder.cpp
In file included from aacPlusEncoder.cpp:43:
./aacPlusEncoder.h:400:20: warning: variable 'id' is uninitialized when used here [-Wuninitialized]
return id;
^~
./aacPlusEncoder.h:396:27: note: initialize the variable 'id' to silence this warning
char id;
^
= nullptr
aacPlusEncoder.cpp:158:9: error: no matching function for call to 'src_short_to_float_array'
src_short_to_float_array ((short ) b, converterData.data_in, samples);
^~~~~~~~
/usr/local/include/samplerate.h:171:6: note: candidate function not viable: 2nd argument ('const float ') would lose const qualifier
void src_short_to_float_array (const short in, float *out, int len) ;
^
1 warning and 1 error generated.
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/audio/darkice/work/darkice-1.3/src
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/audio/darkice/work/darkice-1.3/src
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/audio/darkice/work/darkice-1.3
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/audio/darkice
*** Error code 1
darkice # pkg info
apg-2.3.0b_5 Automated password generator
atk-2.28.1 GNOME accessibility toolkit (ATK)
autoconf-2.69_2 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203 Wrapper script for GNU autoconf
automake-1.16.1_1 GNU Standards-compliant Makefile generator
avahi-app-0.7_2 Service discovery on a local network
bash-4.4.23_1 GNU Project's Bourne Again SHell
bind-tools-9.12.3P4 Command line tools from BIND: delv, dig, host, nslookup...
ca_root_nss-3.42.1 Root certificate bundle from the Mozilla Project
cairo-1.15.12,2 Vector graphics library with cross-device output support
cups-2.2.10 Common UNIX Printing System
dbus-1.10.16_1 Message bus system for inter-application communication
dbus-glib-0.108 GLib bindings for the D-BUS messaging system
dejavu-2.37 Bitstream Vera Fonts clone with a wider range of characters
dialog4ports-0.1.6 Console Interface to configure ports
dmidecode-3.2 Tool for dumping DMI (SMBIOS) contents in human-readable format
encodings-1.0.4_4,1 X.Org Encoding fonts
expat-2.2.6_1 XML 1.0 parser written in C
ffmpeg-4.1.1,1 Realtime audio/video encoder/converter and streaming server
flac-1.3.2 Free lossless audio codec
font-bh-ttf-1.0.3_3 X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.3_3 X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_3 X.Org miscellaneous Meltho font
font-util-1.3.1 Create an index of X font files in a directory
fontconfig-2.12.6,1 XML-based font configuration API for X Windows
fping-4.0_1 Quickly ping multiple hosts without flooding the network
freetype2-2.9.1 Free and portable TrueType font rendering engine
fribidi-0.19.7 Free Implementation of the Unicode Bidirectional Algorithm
gdbm-1.18.1 GNU database manager
gdk-pixbuf2-2.36.12 Graphic library for GTK+
gettext-runtime-0.19.8.1_2 GNU gettext runtime libraries and programs
gettext-tools-0.19.8.1_1 GNU gettext development and translation tools
glib-2.56.3_2,1 Some useful routines of C programming (current stable version)
gmake-4.2.1_3 GNU version of 'make' utility
gmp-6.1.2_1 Free library for arbitrary precision arithmetic
gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scripts
gnutls-3.6.5 GNU Transport Layer Security library
gobject-introspection-1.56.1,1 Generate interface introspection data for GObject libraries
graphite2-1.3.13 Rendering capabilities for complex non-Roman writing systems
gtk-update-icon-cache-2.24.32 Gtk-update-icon-cache utility from the Gtk+ toolkit
gtk2-2.24.32 Gimp Toolkit for X11 GUI (previous stable version)
harfbuzz-2.3.1 OpenType text shaping engine
help2man-1.47.8_1 Automatically generating simple manual pages from program output
hicolor-icon-theme-0.15 High-color icon theme shell from the FreeDesktop project
htop-2.2.0_1 Better top(1) - interactive process viewer
indexinfo-0.3.1 Utility to regenerate the GNU info page index
jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.0.1 SIMD-accelerated JPEG codec which replaces libjpeg
json-c-0.13.1 JSON (JavaScript Object Notation) implementation in C
lame-3.100_2 Fast MP3 encoder kit
libICE-1.0.9_3,1 Inter Client Exchange library for X11
libSM-1.2.3,1 Session Management library for X11
libX11-1.6.7,1 X11 library
libXau-1.0.8_5 Authentication Protocol library for X11
libXcomposite-0.4.4_5,1 X Composite extension library
libXcursor-1.1.15_2 X client-side cursor loading library
libXdamage-1.1.4_5 X Damage extension library
libXdmcp-1.1.2_2 X Display Manager Control Protocol library
libXext-1.3.3_3,1 X11 Extension library
libXfixes-5.0.3_2 X Fixes extension library
libXft-2.3.2_3 Client-sided font API for X applications
libXi-1.7.9_2,1 X Input extension library
libXinerama-1.1.4_2,1 X11 Xinerama library
libXrandr-1.5.1_2 X Resize and Rotate extension library
libXrender-0.9.10_2 X Render extension library
libXxf86vm-1.1.4_3 X Vidmode Extension
libaacplus-2.0.2_8 HE-AAC+ Codec as Shared Library
libdaemon-0.14_1 Lightweight C library that eases the writing of UNIX daemons
libdrm-2.4.96,1 Userspace interface to kernel Direct Rendering Module services
libedit-3.1.20170329_2,1 Command line editor library
libepoll-shim-0.0.20181229 epoll shim implemented using kevent
libevent-2.1.8_2 API for executing callback functions on events or timeouts
libffi-3.2.1_3 Foreign Function Interface
libfontenc-1.1.3_3 The fontenc Library
libiconv-1.14_11 Character set conversion library
libidn2-2.0.5_1 Implementation of IDNA2008 internationalized domain names
libogg-1.3.3,4 Ogg bitstream library
libpaper-1.1.24.4 Library providing routines for paper size management
libpciaccess-0.13.5 Generic PCI access library
libpthread-stubs-0.4 This library provides weak aliases for pthread functions
libsamplerate-0.1.9 Secret Rabbit Code: a Sample Rate Converter for audio
libsndfile-1.0.28_1 Reading and writing files containing sampled sound (like WAV or AIFF)
libtasn1-4.13_1 ASN.1 structure parser library
libtheora-1.1.1_7 Theora video codec for the Ogg multimedia streaming system
libtool-2.4.6_1 Generic shared library support script
libunistring-0.9.10_1 Unicode string library
libunwind-20170615 Generic stack unwinding library
libv4l-1.6.3_4 Video4Linux library
libva-2.3.0_2 VAAPI wrapper and dummy driver
libvdpau-1.1.1_2 VDPAU wrapper and tracing library
libvorbis-1.3.6,3 Audio compression codec library
libvpx-1.7.0_4 VP8/VP9 Codec SDK
libx264-0.155.2917 H.264/MPEG-4 AVC Video Encoding (Library)
libxcb-1.13.1 The X protocol C-language Binding (XCB) library
libxml2-2.9.7 XML parser library for GNOME
libxshmfence-1.2_4 Shared memory 'SyncFence' synchronization primitive
lsof-4.92.b_1,8 Lists information about open files (similar to fstat(1))
m4-1.4.18_1,1 GNU M4
mesa-libs-18.1.9_4 OpenGL libraries that support GLX and EGL clients
mkfontdir-1.0.7 Create an index of X font files in a directory
mkfontscale-1.1.3_2 Creates an index of scalable font files for X
mtr-nox11-0.92 Traceroute and ping in a single network diagnostic tool
nagios-pf-plugin-0.1_2 Nagios plugin for checking PF
nagios-plugins-2.2.1_6,1 Plugins for Nagios
net-snmp-5.7.3_19 Extendable SNMP implementation
nettle-3.4.1_1 Low-level cryptographic library
nrpe3-3.2.1 Nagios Remote Plugin Executor
opencv-core-3.4.1_12 Open Source Computer Vision library
opus-1.3 IETF audio codec
oss-4.2.b2017 Open Sound System from 4Front Technologies
p11-kit-0.23.14 Library for loading and enumerating of PKCS#11 modules
p5-Locale-gettext-1.07 Message handling functions
p5-Locale-libintl-1.31 Internationalization library for Perl
p5-Text-Unidecode-1.30 Text::Unidecode -- US-ASCII transliterations of Unicode text
p5-Unicode-EastAsianWidth-1.40 East Asian Width properties
pango-1.42.4_1 Open-source framework for the layout and rendering of i18n text
pciids-20181113 Database of all known IDs used in PCI devices
pcre-8.42_1 Perl Compatible Regular Expressions library
perl5-5.28.1 Practical Extraction and Report Language
pixman-0.34.0_1 Low-level pixel manipulation library
pkg-1.10.5_5 Package manager
pkgconf-1.6.0,1 Utility to help to configure compiler and linker flags
png-1.6.36 Library for manipulating PNG images
py27-ply-3.11 Python Lex-Yacc
py27-setuptools-40.6.2 Python packages installer
python2-2_3 The "meta-port" for version 2 of the Python interpreter
python27-2.7.15 Interpreted object-oriented programming language
python36-3.6.7 Interpreted object-oriented programming language
readline-7.0.5 Library for editing command lines as they are typed
shared-mime-info-1.8 MIME types database from the freedesktop.org project
sudo-1.8.27 Allow others to run commands as root
texinfo-6.5_4,1 Typeset documentation system with multiple format output
tiff-4.0.10 Tools and library routines for working with TIFF images
tmux-2.8 Terminal Multiplexer
tpm-emulator-0.7.4_2 Trusted Platform Module (TPM) emulator
trousers-0.3.14_2 Open-source TCG Software Stack
v4l_compat-1.6.3_3 Video4Linux IOCTL header files
vim-console-8.1.0555 Improved version of the vi editor (console only)
wayland-1.16.0 Wayland composite "server"
x265-2.8_2 H.265/High Efficiency Video Coding (HEVC) format
xcb-util-0.4.0_2,1 Module with libxcb/libX11 extension/replacement libraries
xcb-util-renderutil-0.3.9_1 Convenience functions for the Render extension
xorg-fonts-truetype-7.7_1 X.Org TrueType fonts
xorgproto-2018.4 xorg protocol headers
xvid-1.3.5,1 Opensource MPEG-4 codec, based on OpenDivx
This only happens when aacplus support is enabled.
/usr/bin/make all-am c++ -DHAVE_CONFIG_H -I. -Wall -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -MT darkice-aacPlusEncoder.o -MD -MP -MF .deps/darkice-aacPlusEncoder.Tpo -c -o darkice-aacPlusEncoder.o
test -f 'aacPlusEncoder.cpp' || echo './'
aacPlusEncoder.cpp In file included from aacPlusEncoder.cpp:43: ./aacPlusEncoder.h:400:20: warning: variable 'id' is uninitialized when used here [-Wuninitialized] return id; ^~ ./aacPlusEncoder.h:396:27: note: initialize the variable 'id' to silence this warning char id; ^ = nullptr aacPlusEncoder.cpp:158:9: error: no matching function for call to 'src_short_to_float_array' src_short_to_float_array ((short ) b, converterData.data_in, samples); ^~~~~~~~ /usr/local/include/samplerate.h:171:6: note: candidate function not viable: 2nd argument ('const float ') would lose const qualifier void src_short_to_float_array (const short in, float *out, int len) ; ^ 1 warning and 1 error generated. *** Error code 1Stop. make[4]: stopped in /usr/ports/audio/darkice/work/darkice-1.3/src *** Error code 1
Stop. make[3]: stopped in /usr/ports/audio/darkice/work/darkice-1.3/src *** Error code 1
Stop. make[2]: stopped in /usr/ports/audio/darkice/work/darkice-1.3 *** Error code 1
Stop. make[1]: stopped in /usr/ports/audio/darkice *** Error code 1
Stop. make: stopped in /usr/ports/audio/darkice
darkice # cat distinfo TIMESTAMP = 1475029544 SHA256 (darkice-1.3.tar.gz) = 2c0d0faaa627c0273b2ce8b38775a73ef97e34ef866862a398f660ad8f6e9de6 SIZE (darkice-1.3.tar.gz) = 371411
darkice # freebsd-version 12.0-RELEASE-p3
darkice # pkg info apg-2.3.0b_5 Automated password generator atk-2.28.1 GNOME accessibility toolkit (ATK) autoconf-2.69_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20131203 Wrapper script for GNU autoconf automake-1.16.1_1 GNU Standards-compliant Makefile generator avahi-app-0.7_2 Service discovery on a local network bash-4.4.23_1 GNU Project's Bourne Again SHell bind-tools-9.12.3P4 Command line tools from BIND: delv, dig, host, nslookup... ca_root_nss-3.42.1 Root certificate bundle from the Mozilla Project cairo-1.15.12,2 Vector graphics library with cross-device output support cups-2.2.10 Common UNIX Printing System dbus-1.10.16_1 Message bus system for inter-application communication dbus-glib-0.108 GLib bindings for the D-BUS messaging system dejavu-2.37 Bitstream Vera Fonts clone with a wider range of characters dialog4ports-0.1.6 Console Interface to configure ports dmidecode-3.2 Tool for dumping DMI (SMBIOS) contents in human-readable format encodings-1.0.4_4,1 X.Org Encoding fonts expat-2.2.6_1 XML 1.0 parser written in C ffmpeg-4.1.1,1 Realtime audio/video encoder/converter and streaming server flac-1.3.2 Free lossless audio codec font-bh-ttf-1.0.3_3 X.Org Bigelow & Holmes TTF font font-misc-ethiopic-1.0.3_3 X.Org miscellaneous Ethiopic font font-misc-meltho-1.0.3_3 X.Org miscellaneous Meltho font font-util-1.3.1 Create an index of X font files in a directory fontconfig-2.12.6,1 XML-based font configuration API for X Windows fping-4.0_1 Quickly ping multiple hosts without flooding the network freetype2-2.9.1 Free and portable TrueType font rendering engine fribidi-0.19.7 Free Implementation of the Unicode Bidirectional Algorithm gdbm-1.18.1 GNU database manager gdk-pixbuf2-2.36.12 Graphic library for GTK+ gettext-runtime-0.19.8.1_2 GNU gettext runtime libraries and programs gettext-tools-0.19.8.1_1 GNU gettext development and translation tools glib-2.56.3_2,1 Some useful routines of C programming (current stable version) gmake-4.2.1_3 GNU version of 'make' utility gmp-6.1.2_1 Free library for arbitrary precision arithmetic gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scripts gnutls-3.6.5 GNU Transport Layer Security library gobject-introspection-1.56.1,1 Generate interface introspection data for GObject libraries graphite2-1.3.13 Rendering capabilities for complex non-Roman writing systems gtk-update-icon-cache-2.24.32 Gtk-update-icon-cache utility from the Gtk+ toolkit gtk2-2.24.32 Gimp Toolkit for X11 GUI (previous stable version) harfbuzz-2.3.1 OpenType text shaping engine help2man-1.47.8_1 Automatically generating simple manual pages from program output hicolor-icon-theme-0.15 High-color icon theme shell from the FreeDesktop project htop-2.2.0_1 Better top(1) - interactive process viewer indexinfo-0.3.1 Utility to regenerate the GNU info page index jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes jpeg-turbo-2.0.1 SIMD-accelerated JPEG codec which replaces libjpeg json-c-0.13.1 JSON (JavaScript Object Notation) implementation in C lame-3.100_2 Fast MP3 encoder kit libICE-1.0.9_3,1 Inter Client Exchange library for X11 libSM-1.2.3,1 Session Management library for X11 libX11-1.6.7,1 X11 library libXau-1.0.8_5 Authentication Protocol library for X11 libXcomposite-0.4.4_5,1 X Composite extension library libXcursor-1.1.15_2 X client-side cursor loading library libXdamage-1.1.4_5 X Damage extension library libXdmcp-1.1.2_2 X Display Manager Control Protocol library libXext-1.3.3_3,1 X11 Extension library libXfixes-5.0.3_2 X Fixes extension library libXft-2.3.2_3 Client-sided font API for X applications libXi-1.7.9_2,1 X Input extension library libXinerama-1.1.4_2,1 X11 Xinerama library libXrandr-1.5.1_2 X Resize and Rotate extension library libXrender-0.9.10_2 X Render extension library libXxf86vm-1.1.4_3 X Vidmode Extension libaacplus-2.0.2_8 HE-AAC+ Codec as Shared Library libdaemon-0.14_1 Lightweight C library that eases the writing of UNIX daemons libdrm-2.4.96,1 Userspace interface to kernel Direct Rendering Module services libedit-3.1.20170329_2,1 Command line editor library libepoll-shim-0.0.20181229 epoll shim implemented using kevent libevent-2.1.8_2 API for executing callback functions on events or timeouts libffi-3.2.1_3 Foreign Function Interface libfontenc-1.1.3_3 The fontenc Library libiconv-1.14_11 Character set conversion library libidn2-2.0.5_1 Implementation of IDNA2008 internationalized domain names libogg-1.3.3,4 Ogg bitstream library libpaper-1.1.24.4 Library providing routines for paper size management libpciaccess-0.13.5 Generic PCI access library libpthread-stubs-0.4 This library provides weak aliases for pthread functions libsamplerate-0.1.9 Secret Rabbit Code: a Sample Rate Converter for audio libsndfile-1.0.28_1 Reading and writing files containing sampled sound (like WAV or AIFF) libtasn1-4.13_1 ASN.1 structure parser library libtheora-1.1.1_7 Theora video codec for the Ogg multimedia streaming system libtool-2.4.6_1 Generic shared library support script libunistring-0.9.10_1 Unicode string library libunwind-20170615 Generic stack unwinding library libv4l-1.6.3_4 Video4Linux library libva-2.3.0_2 VAAPI wrapper and dummy driver libvdpau-1.1.1_2 VDPAU wrapper and tracing library libvorbis-1.3.6,3 Audio compression codec library libvpx-1.7.0_4 VP8/VP9 Codec SDK libx264-0.155.2917 H.264/MPEG-4 AVC Video Encoding (Library) libxcb-1.13.1 The X protocol C-language Binding (XCB) library libxml2-2.9.7 XML parser library for GNOME libxshmfence-1.2_4 Shared memory 'SyncFence' synchronization primitive lsof-4.92.b_1,8 Lists information about open files (similar to fstat(1)) m4-1.4.18_1,1 GNU M4 mesa-libs-18.1.9_4 OpenGL libraries that support GLX and EGL clients mkfontdir-1.0.7 Create an index of X font files in a directory mkfontscale-1.1.3_2 Creates an index of scalable font files for X mtr-nox11-0.92 Traceroute and ping in a single network diagnostic tool nagios-pf-plugin-0.1_2 Nagios plugin for checking PF nagios-plugins-2.2.1_6,1 Plugins for Nagios net-snmp-5.7.3_19 Extendable SNMP implementation nettle-3.4.1_1 Low-level cryptographic library nrpe3-3.2.1 Nagios Remote Plugin Executor opencv-core-3.4.1_12 Open Source Computer Vision library opus-1.3 IETF audio codec oss-4.2.b2017 Open Sound System from 4Front Technologies p11-kit-0.23.14 Library for loading and enumerating of PKCS#11 modules p5-Locale-gettext-1.07 Message handling functions p5-Locale-libintl-1.31 Internationalization library for Perl p5-Text-Unidecode-1.30 Text::Unidecode -- US-ASCII transliterations of Unicode text p5-Unicode-EastAsianWidth-1.40 East Asian Width properties pango-1.42.4_1 Open-source framework for the layout and rendering of i18n text pciids-20181113 Database of all known IDs used in PCI devices pcre-8.42_1 Perl Compatible Regular Expressions library perl5-5.28.1 Practical Extraction and Report Language pixman-0.34.0_1 Low-level pixel manipulation library pkg-1.10.5_5 Package manager pkgconf-1.6.0,1 Utility to help to configure compiler and linker flags png-1.6.36 Library for manipulating PNG images py27-ply-3.11 Python Lex-Yacc py27-setuptools-40.6.2 Python packages installer python2-2_3 The "meta-port" for version 2 of the Python interpreter python27-2.7.15 Interpreted object-oriented programming language python36-3.6.7 Interpreted object-oriented programming language readline-7.0.5 Library for editing command lines as they are typed shared-mime-info-1.8 MIME types database from the freedesktop.org project sudo-1.8.27 Allow others to run commands as root texinfo-6.5_4,1 Typeset documentation system with multiple format output tiff-4.0.10 Tools and library routines for working with TIFF images tmux-2.8 Terminal Multiplexer tpm-emulator-0.7.4_2 Trusted Platform Module (TPM) emulator trousers-0.3.14_2 Open-source TCG Software Stack v4l_compat-1.6.3_3 Video4Linux IOCTL header files vim-console-8.1.0555 Improved version of the vi editor (console only) wayland-1.16.0 Wayland composite "server" x265-2.8_2 H.265/High Efficiency Video Coding (HEVC) format xcb-util-0.4.0_2,1 Module with libxcb/libX11 extension/replacement libraries xcb-util-renderutil-0.3.9_1 Convenience functions for the Render extension xorg-fonts-truetype-7.7_1 X.Org TrueType fonts xorgproto-2018.4 xorg protocol headers xvid-1.3.5,1 Opensource MPEG-4 codec, based on OpenDivx