head 1.6; access; symbols pkgsrc-2013Q4:1.5.0.62 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.60 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.58 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.56 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.54 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.52 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.50 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.48 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.46 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.44 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.42 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.40 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.38 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.36 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.34 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.32 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.30 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.28 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.26 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.24 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.22 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.20 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.18 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.16 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.14 pkgsrc-2008Q1:1.5.0.12 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.10 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.8 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.6 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.4 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.2 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.4.0.4 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.2 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.3.0.10 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2014.02.22.14.51.03; author wiedi; state dead; branches; next 1.5; commitid 70XW8mRSIBU6F6qx; 1.5 date 2006.10.10.20.09.22; author rillig; state Exp; branches; next 1.4; 1.4 date 2006.04.12.21.12.48; author rillig; state dead; branches; next 1.3; 1.3 date 2005.03.11.21.27.17; author rillig; state Exp; branches; next 1.2; 1.2 date 2004.02.16.09.51.47; author xtraeme; state dead; branches; next 1.1; 1.1 date 2004.01.09.17.23.45; author xtraeme; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.01.09.17.23.45; author xtraeme; state Exp; branches; next ; desc @@ 1.6 log @Update darkice to 1.2 Forward ported the existing patches that were not upstream yet. Also added patches for cfmakeraw and log10(int) amgiguity to fix build on SunOS. From the changelog since 0.17.1 15-07-2013 Darkice 1.2 released o Issue #75: Added Ogg/Opus support. Patch by Doug Kelly dougk.ff7@@gmail.com o Fix 'Ring Ruffer' reports. - Increased buffer for jack to 5 seconds - prevent darkice termination by jack, report no fatal problem when we have a ringbuffer overflow, can happen during startup If we can not handle input audio fast enough we just ignore the buffer and skip it, and just report it. - new multithreaded connector code, now handles encoders in parallel and does not spin waiting, cpu load will be very much lower now Codes uses 2 condition variables to report data availability and consumer thread availability - Hopes are that glitching reports will be a thing of the past - minor compiler warnings fixed (Fix by Edwin van den Oetelaar) o Issue #56: Wrong icecast2 password isn't properly reported, fixed. thanks to Filipe Roque o Issue #57: BufferedSink makes streams invalid, fixed. thanks to Alban Peignier o Issue #30: Segmentation Fault when creating file with fileAddDate, fixed thanks to Filipe Roque 27-10-2011 Darkice 1.1 released o Updated aac+ encoding to use libaacplus-2.0.0 api. thanks to Sergiy o Added pulseaudio support closes ticket #25 thanks to Filipe Roque and and Johann Fot o Added rtprio parameter and revisited realtime priority closes ticket #21 thanks to Adrian Knoth o Fixed a call to a deprecated jack call closes ticket #22 thanks to Adrian Knoth again. 09-05-2010 Darkice 1.0 released o fixed a bug in BufferedSink.cpp that leads to some buffers being written twice, causing corruption of datastream, closes ticked #20 thanks to Edwin van den Oetelaar o implemented samplerate conversion for all codecs using libsamplerate, and keeping internal aflibConverter as fallback, thanks to Sergiy o bugfix: fix for alsa driver - closes ticked #8 thanks to Clemens Ladisch 14-11-2009 Darkice 0.20.1 released o added rc.darkice init script thanks to Niels Dettenbach o bugfix: fix for gcc 4.4 05-11-2009 Darkice 0.20 released o new maintainer: Rafael Diniz o added AAC HEv2 encoding support (branch darkice-aacp merged) through libaacplus, http://tipok.org.ua/ru/node/17 thanks to tipok and others for the contribution. o bugfix: the configure script recognizes Ogg Vorbis shared objects now, not just static libraries. Thanks to omroepvenray. o bugfix: enabling jack source compilation on Debian Lenny, thanks to Alessandro Beretta 07-07-2008 Darkice 0.19 released o added mount point option for Darwin Streaming Server thanks to Pierre Souchay o fix for some reliablity issues when using a Jack source thanks to Pierre Souchay o enable easier finding of jack libraries on MacOS X, thanks to Daniel Hazelbaker o added ability to specify name of jack device created by darkice, thanks to Alessandro Beretta 26-04-2007 DarkIce 0.18.1 released o enable real-time scheduling for non-super-users, if they have the proper operating system permissions, thanks to Jens Maurer o fix to enable compliation of the Serial ULAW code on MacOS X, thanks to Elod Horvath o fix to solve Shoutcast login failures, introduced in 0.18 05-03-2007 DarkIce 0.18 released o added serial ulaw input device support, thanks to Clyde Stubbs o improvements on reconnecting: added TCP connection keep-alive to TCP sockets added graceful sleep when trying to reconnect o added user-defined date formatting for the fileAddDate options, thanks to dsk o added logging facility - [file-X] targets will cut the saved file and rename it as needed when darkice recieves the SIGUSR1 signal o added default configuration file handling - if no configuration file is specified, /etc/darkice.cfg is used o fix to enable compiling on 64 bit platforms thanks to Alexander Vlasov and Mariusz Mazur o fix to enable file dump feature using ogg vorbis. thanks to dsk o fix to enable compiling with jack installed at arbitrary locations @ text @$NetBSD: patch-aa,v 1.5 2006/10/10 20:09:22 rillig Exp $ --- configure.orig 2006-10-10 22:01:05.000000000 +0200 +++ configure 2006-10-10 22:07:44.000000000 +0200 @@@@ -6750,7 +6750,7 @@@@ else USE_DEBUG="no" fi; -if test "x${USE_DEBUG}" == "xyes" ; then +if test "x${USE_DEBUG}" = "xyes" ; then DEBUG_CXXFLAGS="-g" echo "$as_me:$LINENO: result: compiling in debug mode" >&5 echo "${ECHO_T}compiling in debug mode" >&6 @ 1.5 log @Fixed "test ==" and path to the man pages. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Updated darkice to 0.15. 14-04-2005 DarkIce 0.15 released o ported to OpenBSD and NetBSD, though real-time scheduling not supported, since it is not implemented in OpenBSD / NetBSD o added possibility to downsample from stereo to mono when encoding to Ogg Vorbis, thanks to Deti Fliegl, o added support for Jack inputs, enabling a lot of interesting usage, including support for MacOS X. Thanks to Nicholas J. Humfrey o various improvements by Joel Ebel o added option to turn off automatic reconnect feature o added IPv6 support, thanks to @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2005/03/11 21:27:17 rillig Exp $ d3 11 a13 38 This patch disables the priority scheduling if it is not available. Needed at least for NetBSD-1.6.2. --- src/DarkIce.cpp.orig Sun Feb 15 13:14:38 2004 +++ src/DarkIce.cpp Fri Mar 11 18:01:41 2005 @@@@ -873,6 +873,7 @@@@ DarkIce :: configFileCast ( const Confi void DarkIce :: setRealTimeScheduling ( void ) throw ( Exception ) { +#ifdef _POSIX_PRIORITY_SCHEDULING uid_t euid; euid = geteuid(); @@@@ -917,6 +918,7 @@@@ DarkIce :: setRealTimeScheduling ( void reportEvent( 1, "It is recommended that you run this program as super-user"); } +#endif } @@@@ -928,6 +930,7 @@@@ DarkIce :: setRealTimeScheduling ( void void DarkIce :: setOriginalScheduling ( void ) throw ( Exception ) { +#ifdef _POSIX_PRIORITY_SCHEDULING uid_t euid; euid = geteuid(); @@@@ -947,6 +950,7 @@@@ DarkIce :: setOriginalScheduling ( void reportEvent( 5, "reverted to original scheduling"); } +#endif } @ 1.3 log @This patch disables the priority scheduling if it is not available. Needed at least for NetBSD-1.6.2. Approved by wiz. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @bl3ify and upgrade darkice to 0.14. This release adds ALSA support and support for downsampling streams from stereo to mono when streaming in MP3 to an icecast 2 server. There is a bugfix for conflicting symbols _X and _Y on Solaris, and a bugfix for a segfault caused when saving an Ogg Vorbis stream to a file. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2004/01/09 17:23:45 xtraeme Exp $ d3 38 a40 13 --- src/aflibConverter.h.orig 2003-05-09 10:55:25.000000000 +0200 +++ src/aflibConverter.h 2003-05-09 10:55:38.000000000 +0200 @@@@ -222,8 +222,8 @@@@ bool interpFilt; bool largeFilter; bool linearInterp; -short ** _X; -short ** _Y; +short ** __X; +short ** __Y; unsigned int _Time; double _factor; int _nChans; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of darkice-0.13.2 from pkgsrc-wip. DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and sends the streams to one or more IceCast, ShoutCast and/or IceCast2 servers. DarkIce uses lame as a shared object as its mp3 encoder, and the Ogg Vorbis libs as its Ogg Vorbis encoder. @ text @@