Skip to content

Commit

Permalink
Update darkice to 1.2
Browse files Browse the repository at this point in the history
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 <flip.roque@gmail.com>
    o Issue #57: BufferedSink makes streams invalid, fixed.
	  thanks to Alban Peignier <alban.peignier@gmail.com>
    o Issue #30: Segmentation Fault when creating file with fileAddDate, fixed
	  thanks to Filipe Roque <flip.roque@gmail.com>

27-10-2011 Darkice 1.1 released
    o Updated aac+ encoding to use libaacplus-2.0.0 api.
	  thanks to Sergiy <piratfm@gmail.com>
    o Added pulseaudio support
	  closes ticket #25
	  thanks to Filipe Roque <flip.roque@gmail.com> and
	  and Johann Fot <johann.fot@dunkelfuerst.com>
    o Added rtprio parameter and revisited realtime priority
	  closes ticket #21
          thanks to Adrian Knoth <adi@drcomp.erfurt.thur.de>
    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 <oetelaar.automatisering@gmail.com>
    o implemented samplerate conversion for all codecs using libsamplerate,
	  and keeping internal aflibConverter as fallback,
          thanks to Sergiy <piratfm@gmail.com>
    o bugfix: fix for alsa driver - closes ticked #8
          thanks to Clemens Ladisch <clemens@ladisch.de>

14-11-2009 Darkice 0.20.1 released
    o added rc.darkice init script
	  thanks to Niels Dettenbach <nd@syndicat.com>
    o bugfix: fix for gcc 4.4

05-11-2009 Darkice 0.20 released

    o new maintainer: Rafael Diniz <rafael@riseup.net>
    o added AAC HEv2 encoding support (branch darkice-aacp merged) through
	  libaacplus, http://tipok.org.ua/ru/node/17
	  thanks to tipok <piratfm@gmail.com> 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 <alessandro.baretta@radiomaria.org>

07-07-2008 Darkice 0.19 released

    o added mount point option for Darwin Streaming Server
      thanks to Pierre Souchay <pierre@souchay.net>
    o fix for some reliablity issues when using a Jack source
      thanks to Pierre Souchay <pierre@souchay.net>
    o enable easier finding of jack libraries on MacOS X,
      thanks to Daniel Hazelbaker <daniel@highdesertchurch.com>
    o added ability to specify name of jack device created by darkice,
      thanks to Alessandro Beretta <alessandro.baretta@radiomaria.org>

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 <Jens.Maurer@gmx.net>
    o fix to enable compliation of the Serial ULAW code on MacOS X,
      thanks to Elod Horvath <elod@itfais.com>
    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 <clyde@htsoft.com>
    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 <derrick@csociety.org>
    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 <zulu@galaradio.com> and
      Mariusz Mazur <mmazur@kernel.pl>
    o fix to enable file dump feature using ogg vorbis.
      thanks to dsk <derrick@csociety.org>
    o fix to enable compiling with jack installed at arbitrary locations
  • Loading branch information
wiedi committed Feb 22, 2014
1 parent c0d3064 commit e91fe86
Show file tree
Hide file tree
Showing 16 changed files with 159 additions and 306 deletions.
10 changes: 4 additions & 6 deletions audio/darkice/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# $NetBSD: Makefile,v 1.21 2012/09/11 23:59:30 asau Exp $
# $NetBSD: Makefile,v 1.22 2014/02/22 14:51:03 wiedi Exp $
#

DISTNAME= darkice-0.17.1
PKGREVISION= 1
DISTNAME= darkice-1.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=darkice/}
MASTER_SITES= https://darkice.googlecode.com/files/

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://darkice.tyrell.hu/
COMMENT= IceCast, IceCast2 and ShoutCast live audio streamer
LICENSE= gnu-gpl-v3

GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
Expand Down Expand Up @@ -38,8 +38,6 @@ do-install:
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/man/darkice.cfg.5 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/darkice.conf.5
cd ${WRKSRC}/doc/doxygen/html && ${INSTALL_DATA} *.html \
${DESTDIR}${HTMLDIR}

.include "../../audio/faac/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
Expand Down
218 changes: 1 addition & 217 deletions audio/darkice/PLIST
Original file line number Diff line number Diff line change
@@ -1,221 +1,5 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:32:04 joerg Exp $
@comment $NetBSD: PLIST,v 1.6 2014/02/22 14:51:03 wiedi Exp $
bin/darkice
man/man1/darkice.1
man/man5/darkice.conf.5
share/doc/darkice/AacEncoder_8cpp-source.html
share/doc/darkice/AacEncoder_8cpp.html
share/doc/darkice/AacEncoder_8h-source.html
share/doc/darkice/AacEncoder_8h.html
share/doc/darkice/AlsaDspSource_8cpp-source.html
share/doc/darkice/AlsaDspSource_8cpp.html
share/doc/darkice/AlsaDspSource_8h-source.html
share/doc/darkice/AlsaDspSource_8h.html
share/doc/darkice/AudioEncoder_8h-source.html
share/doc/darkice/AudioEncoder_8h.html
share/doc/darkice/AudioSource_8cpp-source.html
share/doc/darkice/AudioSource_8cpp.html
share/doc/darkice/AudioSource_8h-source.html
share/doc/darkice/AudioSource_8h.html
share/doc/darkice/BufferedSink_8cpp-source.html
share/doc/darkice/BufferedSink_8cpp.html
share/doc/darkice/BufferedSink_8h-source.html
share/doc/darkice/BufferedSink_8h.html
share/doc/darkice/CastSink_8cpp-source.html
share/doc/darkice/CastSink_8cpp.html
share/doc/darkice/CastSink_8h-source.html
share/doc/darkice/CastSink_8h.html
share/doc/darkice/ConfigSection_8cpp-source.html
share/doc/darkice/ConfigSection_8cpp.html
share/doc/darkice/ConfigSection_8h-source.html
share/doc/darkice/ConfigSection_8h.html
share/doc/darkice/Connector_8cpp-source.html
share/doc/darkice/Connector_8cpp.html
share/doc/darkice/Connector_8h-source.html
share/doc/darkice/Connector_8h.html
share/doc/darkice/DarkIceConfig_8cpp-source.html
share/doc/darkice/DarkIceConfig_8cpp.html
share/doc/darkice/DarkIceConfig_8h-source.html
share/doc/darkice/DarkIceConfig_8h.html
share/doc/darkice/DarkIce_8cpp-source.html
share/doc/darkice/DarkIce_8cpp.html
share/doc/darkice/DarkIce_8h-source.html
share/doc/darkice/DarkIce_8h.html
share/doc/darkice/Exception_8cpp-source.html
share/doc/darkice/Exception_8cpp.html
share/doc/darkice/Exception_8h-source.html
share/doc/darkice/Exception_8h.html
share/doc/darkice/FaacEncoder_8cpp-source.html
share/doc/darkice/FaacEncoder_8cpp.html
share/doc/darkice/FaacEncoder_8h-source.html
share/doc/darkice/FaacEncoder_8h.html
share/doc/darkice/FileCast_8cpp-source.html
share/doc/darkice/FileCast_8cpp.html
share/doc/darkice/FileCast_8h-source.html
share/doc/darkice/FileCast_8h.html
share/doc/darkice/FileSink_8cpp-source.html
share/doc/darkice/FileSink_8cpp.html
share/doc/darkice/FileSink_8h-source.html
share/doc/darkice/FileSink_8h.html
share/doc/darkice/IceCast2_8cpp-source.html
share/doc/darkice/IceCast2_8cpp.html
share/doc/darkice/IceCast2_8h-source.html
share/doc/darkice/IceCast2_8h.html
share/doc/darkice/IceCast_8cpp-source.html
share/doc/darkice/IceCast_8cpp.html
share/doc/darkice/IceCast_8h-source.html
share/doc/darkice/IceCast_8h.html
share/doc/darkice/JackDspSource_8cpp-source.html
share/doc/darkice/JackDspSource_8cpp.html
share/doc/darkice/JackDspSource_8h-source.html
share/doc/darkice/JackDspSource_8h.html
share/doc/darkice/LameLibEncoder_8cpp-source.html
share/doc/darkice/LameLibEncoder_8cpp.html
share/doc/darkice/LameLibEncoder_8h-source.html
share/doc/darkice/LameLibEncoder_8h.html
share/doc/darkice/MultiThreadedConnector_8cpp-source.html
share/doc/darkice/MultiThreadedConnector_8cpp.html
share/doc/darkice/MultiThreadedConnector_8h-source.html
share/doc/darkice/MultiThreadedConnector_8h.html
share/doc/darkice/OssDspSource_8cpp-source.html
share/doc/darkice/OssDspSource_8cpp.html
share/doc/darkice/OssDspSource_8h-source.html
share/doc/darkice/OssDspSource_8h.html
share/doc/darkice/Ref_8h-source.html
share/doc/darkice/Ref_8h.html
share/doc/darkice/Referable_8h-source.html
share/doc/darkice/Referable_8h.html
share/doc/darkice/Reporter_8cpp-source.html
share/doc/darkice/Reporter_8cpp.html
share/doc/darkice/Reporter_8h-source.html
share/doc/darkice/Reporter_8h.html
share/doc/darkice/ShoutCast_8cpp-source.html
share/doc/darkice/ShoutCast_8cpp.html
share/doc/darkice/ShoutCast_8h-source.html
share/doc/darkice/ShoutCast_8h.html
share/doc/darkice/Sink_8h-source.html
share/doc/darkice/Sink_8h.html
share/doc/darkice/SolarisDspSource_8cpp-source.html
share/doc/darkice/SolarisDspSource_8cpp.html
share/doc/darkice/SolarisDspSource_8h-source.html
share/doc/darkice/SolarisDspSource_8h.html
share/doc/darkice/Source_8h-source.html
share/doc/darkice/Source_8h.html
share/doc/darkice/TcpSocket_8cpp-source.html
share/doc/darkice/TcpSocket_8cpp.html
share/doc/darkice/TcpSocket_8h-source.html
share/doc/darkice/TcpSocket_8h.html
share/doc/darkice/TwoLameLibEncoder_8cpp-source.html
share/doc/darkice/TwoLameLibEncoder_8cpp.html
share/doc/darkice/TwoLameLibEncoder_8h-source.html
share/doc/darkice/TwoLameLibEncoder_8h.html
share/doc/darkice/Util_8cpp-source.html
share/doc/darkice/Util_8cpp.html
share/doc/darkice/Util_8h-source.html
share/doc/darkice/Util_8h.html
share/doc/darkice/VorbisLibEncoder_8cpp-source.html
share/doc/darkice/VorbisLibEncoder_8cpp.html
share/doc/darkice/VorbisLibEncoder_8h-source.html
share/doc/darkice/VorbisLibEncoder_8h.html
share/doc/darkice/aflibConverterLargeFilter_8h-source.html
share/doc/darkice/aflibConverterLargeFilter_8h.html
share/doc/darkice/aflibConverterSmallFilter_8h-source.html
share/doc/darkice/aflibConverterSmallFilter_8h.html
share/doc/darkice/aflibConverter_8cc-source.html
share/doc/darkice/aflibConverter_8cc.html
share/doc/darkice/aflibConverter_8h-source.html
share/doc/darkice/aflibConverter_8h.html
share/doc/darkice/aflibDebug_8cc-source.html
share/doc/darkice/aflibDebug_8cc.html
share/doc/darkice/aflibDebug_8h-source.html
share/doc/darkice/aflibDebug_8h.html
share/doc/darkice/annotated.html
share/doc/darkice/classAacEncoder-members.html
share/doc/darkice/classAacEncoder.html
share/doc/darkice/classAlsaDspSource-members.html
share/doc/darkice/classAlsaDspSource.html
share/doc/darkice/classAudioEncoder-members.html
share/doc/darkice/classAudioEncoder.html
share/doc/darkice/classAudioSource-members.html
share/doc/darkice/classAudioSource.html
share/doc/darkice/classBufferedSink-members.html
share/doc/darkice/classBufferedSink.html
share/doc/darkice/classCastSink-members.html
share/doc/darkice/classCastSink.html
share/doc/darkice/classConfig-members.html
share/doc/darkice/classConfig.html
share/doc/darkice/classConfigSection-members.html
share/doc/darkice/classConfigSection.html
share/doc/darkice/classConnector-members.html
share/doc/darkice/classConnector.html
share/doc/darkice/classDarkIce-members.html
share/doc/darkice/classDarkIce.html
share/doc/darkice/classDebugInitFromEnv-members.html
share/doc/darkice/classDebugInitFromEnv.html
share/doc/darkice/classException-members.html
share/doc/darkice/classException.html
share/doc/darkice/classFaacEncoder-members.html
share/doc/darkice/classFaacEncoder.html
share/doc/darkice/classFileCast-members.html
share/doc/darkice/classFileCast.html
share/doc/darkice/classFileSink-members.html
share/doc/darkice/classFileSink.html
share/doc/darkice/classIceCast-members.html
share/doc/darkice/classIceCast.html
share/doc/darkice/classIceCast2-members.html
share/doc/darkice/classIceCast2.html
share/doc/darkice/classJackDspSource-members.html
share/doc/darkice/classJackDspSource.html
share/doc/darkice/classLameLibEncoder-members.html
share/doc/darkice/classLameLibEncoder.html
share/doc/darkice/classMultiThreadedConnector-members.html
share/doc/darkice/classMultiThreadedConnector.html
share/doc/darkice/classOssDspSource-members.html
share/doc/darkice/classOssDspSource.html
share/doc/darkice/classRef-members.html
share/doc/darkice/classRef.html
share/doc/darkice/classReferable-members.html
share/doc/darkice/classReferable.html
share/doc/darkice/classReporter-members.html
share/doc/darkice/classReporter.html
share/doc/darkice/classShoutCast-members.html
share/doc/darkice/classShoutCast.html
share/doc/darkice/classSink-members.html
share/doc/darkice/classSink.html
share/doc/darkice/classSolarisDspSource-members.html
share/doc/darkice/classSolarisDspSource.html
share/doc/darkice/classSource-members.html
share/doc/darkice/classSource.html
share/doc/darkice/classTcpSocket-members.html
share/doc/darkice/classTcpSocket.html
share/doc/darkice/classTwoLameLibEncoder-members.html
share/doc/darkice/classTwoLameLibEncoder.html
share/doc/darkice/classUtil-members.html
share/doc/darkice/classUtil.html
share/doc/darkice/classVorbisLibEncoder-members.html
share/doc/darkice/classVorbisLibEncoder.html
share/doc/darkice/classaflibConverter-members.html
share/doc/darkice/classaflibConverter.html
share/doc/darkice/classaflibDebug-members.html
share/doc/darkice/classaflibDebug.html
share/doc/darkice/classes.html
share/doc/darkice/config_8h-source.html
share/doc/darkice/config_8h.html
share/doc/darkice/dir_000000.html
share/doc/darkice/dirs.html
share/doc/darkice/files.html
share/doc/darkice/functions.html
share/doc/darkice/functions_enum.html
share/doc/darkice/functions_eval.html
share/doc/darkice/functions_func.html
share/doc/darkice/functions_vars.html
share/doc/darkice/globals.html
share/doc/darkice/globals_defs.html
share/doc/darkice/globals_func.html
share/doc/darkice/globals_vars.html
share/doc/darkice/graph_legend.html
share/doc/darkice/hierarchy.html
share/doc/darkice/index.html
share/doc/darkice/inherits.html
share/doc/darkice/main_8cpp-source.html
share/doc/darkice/main_8cpp.html
share/examples/darkice/darkice.conf
21 changes: 12 additions & 9 deletions audio/darkice/distinfo
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
$NetBSD: distinfo,v 1.12 2012/02/08 00:19:42 sbd Exp $
$NetBSD: distinfo,v 1.13 2014/02/22 14:51:03 wiedi Exp $

SHA1 (darkice-0.17.1.tar.gz) = 2952961c8e99412d831ca619f152ba6774efefac
RMD160 (darkice-0.17.1.tar.gz) = b6575b28190276d77e721e2ef15e8a93162693cc
Size (darkice-0.17.1.tar.gz) = 1407826 bytes
SHA1 (patch-aa) = 6f58c2ae94a9b199ac733fd4b0742178f46dc961
SHA1 (patch-ab) = 51cf308b209b933fe003775116d8b7d986e92476
SHA1 (patch-ac) = 4ba61f7544da079a6e6aaaf49e03ef7c6c3fb8ca
SHA1 (patch-src_Makefile_in) = 5627f74907abe9ab0dc297ca8ae7378fe004d3cf
SHA1 (patch-src_Util.cpp) = fe609e7f0c03e4c0b667b054a2035dae57e2dff8
SHA1 (darkice-1.2.tar.gz) = 508eb0560a7cdf0990a8793f4b8d324ae74bc343
RMD160 (darkice-1.2.tar.gz) = cc627a716efc49275f3dc3e56011c4d62d0b176d
Size (darkice-1.2.tar.gz) = 357026 bytes
SHA1 (patch-configure) = cf4b34f3a995cec6256385908a9eeb9dfb870875
SHA1 (patch-rc.darkice) = c8ea98936ad36768014b3fb1410b9c8a902f3a83
SHA1 (patch-src_FaacEncoder.cpp) = a3ef45fbe17e8d59c09cc93b20665b4589ddc51b
SHA1 (patch-src_IceCast.cpp) = 91e1920d9e12e9b317468fe64513cc13b75e9ce4
SHA1 (patch-src_LameLibEncoder.cpp) = 9202aa7d5219dd24dddb7faa58e5edeeb26d6a18
SHA1 (patch-src_Makefile.in) = ae028bf6e4616b615c4d1d50eb932077a287379d
SHA1 (patch-src_SerialUlaw.cpp) = 259b99b7e772f743b32b94ace664451df28f90dd
SHA1 (patch-src_TwoLameLibEncoder.cpp) = bd9774c98789ccdcd14b843d46ddf30f0c5da047
13 changes: 0 additions & 13 deletions audio/darkice/patches/patch-aa

This file was deleted.

17 changes: 0 additions & 17 deletions audio/darkice/patches/patch-ab

This file was deleted.

15 changes: 0 additions & 15 deletions audio/darkice/patches/patch-ac

This file was deleted.

14 changes: 14 additions & 0 deletions audio/darkice/patches/patch-configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-configure,v 1.1 2014/02/22 14:51:03 wiedi Exp $

== portability
--- configure.orig 2013-07-15 05:53:19.000000000 +0000
+++ configure
@@ -6400,7 +6400,7 @@ else
fi


-if test "x${USE_DEBUG}" == "xyes" ; then
+if test "x${USE_DEBUG}" = "xyes" ; then
DEBUG_CXXFLAGS="-g"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: compiling in debug mode" >&5
$as_echo "compiling in debug mode" >&6; }
32 changes: 32 additions & 0 deletions audio/darkice/patches/patch-rc.darkice
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$NetBSD: patch-rc.darkice,v 1.1 2014/02/22 14:51:03 wiedi Exp $

== portability
--- rc.darkice.orig 2013-07-15 05:50:01.000000000 +0000
+++ rc.darkice
@@ -40,7 +40,7 @@ case $1 in
if [ -f $pidfile ]; then
PID=`cat $pidfile`
running=`ps --no-headers -o "%c" -p $PID`
- if ( [ "$progname" == "$running" ] ); then
+ if ( [ "$progname" = "$running" ] ); then
echo "$progname is still running"
else
echo "$progname seems crashed - PID ($PID) does not match the deamon"
@@ -85,7 +85,7 @@ case $1 in
if [ -f $pidfile ]; then
PID=`cat $pidfile`
running=`ps --no-headers -o "%c" -p $PID`
- if ( [ "$progname" == "$running" ] ); then
+ if ( [ "$progname" = "$running" ] ); then
echo "$progname IS running with PID `cat $pidfile`."
else
echo "$progname process is dead or stale PID File $pidfile"
@@ -106,7 +106,7 @@ case $1 in
if [ -f $pidfile ]; then
PID=`cat $pidfile`
running=`ps --no-headers -o "%c" -p $PID`
- if ( [ "$progname" == "$running" ] ); then
+ if ( [ "$progname" = "$running" ] ); then
echo "$progname IS running with PID `cat $pidfile` - no restart."
else
echo "$progname PID $PID seems dead - restart"
14 changes: 14 additions & 0 deletions audio/darkice/patches/patch-src_FaacEncoder.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-src_FaacEncoder.cpp,v 1.1 2014/02/22 14:51:03 wiedi Exp $

string.h is needed for memmove()
--- src/FaacEncoder.cpp.orig 2013-07-15 05:50:42.000000000 +0000
+++ src/FaacEncoder.cpp
@@ -37,7 +37,7 @@
#ifdef HAVE_FAAC_LIB


-
+#include <string.h>
#include "Exception.h"
#include "Util.h"
#include "FaacEncoder.h"
14 changes: 14 additions & 0 deletions audio/darkice/patches/patch-src_IceCast.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$NetBSD: patch-src_IceCast.cpp,v 1.1 2014/02/22 14:51:03 wiedi Exp $

Fix "log10(int) is ambigous" on SunOS
--- src/IceCast.cpp.orig 2013-07-15 05:50:42.000000000 +0000
+++ src/IceCast.cpp
@@ -145,7 +145,7 @@ IceCast :: sendLogin ( void )
/* send the x-audiocast headers */
str = "\nx-audiocast-bitrate: ";
sink->write( str, strlen( str));
- if ( log10(getBitRate()) >= (STRBUF_SIZE-2) ) {
+ if ( log10((double)getBitRate()) >= (STRBUF_SIZE-2) ) {
throw Exception( __FILE__, __LINE__,
"bitrate does not fit string buffer", getBitRate());
}
Loading

0 comments on commit e91fe86

Please sign in to comment.