Giter VIP home page Giter VIP logo

darkice's People

Contributors

alexolivan avatar clydebarrow avatar erikandren avatar jacobmarble avatar luk1337 avatar nivex avatar rafael2k avatar richardkiss avatar spotlightkid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darkice's Issues

HEAD does not compile with AACPLUS without LIBSAMPLERATE +FIX

What steps will reproduce the problem?
1. compile with aacplus-2 without libresample
2.
3.

What is the expected output? What do you see instead?
- compile to success

What version of the product are you using? On what operating system?
- HEAD 1.0.1

Please provide any additional information below.

- typo in src/aacPlusEncoder.cpp inSamples/inputSamples

FIX IS HERE


diff -u ../darkice-0.20.1/src/aacPlusEncoder.cpp src/aacPlusEncoder.cpp
--- ../darkice-0.20.1/src/aacPlusEncoder.cpp    2010-11-18 17:56:12.000000000 +0100
+++ src/aacPlusEncoder.cpp  2010-12-27 15:01:55.266664112 +0100
@@ -114,7 +114,7 @@
 #else
         converter->initialize( resampleRatio, getInChannel());
         //needed 2x(converted input samples) to handle offsets
-    int         outCount = 2 * getInChannel() * (inSamples + 1);
+    int         outCount = 2 * getInChannel() * (inputSamples + 1);
         if (resampleRatio > 1)
         outCount = (int) (outCount * resampleRatio);
         resampledOffset = new short int[outCount];

Original issue reported on code.google.com by oetelaar.automatisering on 27 Dec 2010 at 2:12

Loss of documentation

You appear to have completely disregarded the documentation that was
present in the old wiki and mailing list archives when moving to Google
code. Considering the lack of effort otherwise put into documentation, this
is clearly not a good thing.


Original issue reported on code.google.com by [email protected] on 11 Feb 2010 at 12:39

Streaming AAC (LIBFAAC) does not work as expected, glitches, beeps, hickups

What steps will reproduce the problem?
1. stream using AAC
2. listen to the stream with VLC (glitch/beep etc) or Audacious or winamp on XP 
(does not even start decoding)
3.

What is the expected output? What do you see instead?
Valid AAC stream created with FAAC library

What version of the product are you using? On what operating system?
HEAD, Linux Ubuntu 10.04 (LTS)

Please provide any additional information below.
https://bugs.launchpad.net/ubuntu/+source/faad2/+bug/575798
The problem relates to the AAC profile, which is MAIN and other streamer like 
EdCast use LOW which works as expected

[general]
duration        = 0
bufferSecs      =   20
reconnect       =   no    # reconnect to the server(s) if disconnected
realtime        = yes       
rtprio          = 3         

# this section describes the audio input that will be streamed
[input]
device=/dev/dsp # jack_auto
sampleRate = 48000
bitsPerSample   = 16        # bits per sample. try 16
channel         = 2         # channels. 1 = mono, 2 = stereo
jackClientName  = stream0 # name for jack

[icecast2-0]
bitrateMode     = abr 
channel         = 2      
format          = aac
bitrate         = 48      # bitrate of the stream sent to the server
server          = s1.vergng-gest.nl # host name of the server
port            = 8000      # port of the IceCast2 server, usually 8000
password        = oe    # source password to the IceCast2 server
mountPoint      = live  
name            = DarkIce trial
description     = This is only a trial
url             = http://www.yourserver.com
genre           = my own    
public          = yes    


Original issue reported on code.google.com by oetelaar.automatisering on 17 Feb 2011 at 5:55

PulseAudio patch

the patch adds pulseaudio support using the pulseaudio simple API. 

I have tested it for a while without any problems so far. 

Original issue reported on code.google.com by [email protected] on 11 Jun 2010 at 4:23

Attachments:

Issue recording Audacity and Streaming DarkIce at the same time.

What steps will reproduce the problem?
1. Recording in Audacity
2. Streaming to Shotcast Server
3. Doing 1 and 2 at the same time.
This works flawlessly in Windows however i can reproduce it in Linux.

What is the expected output? What do you see instead?
I expected these to work side by side.  

If audacity is recording I get: 
DarkIce: DarkIce.cpp:1187: can't open connector [0]

If I start the stream first then Audacity won't record at all.

What version of the product are you using? On what operating system?
I'm using the repository versions of both Audacity and DarkIce on Ubuntu 10.4 

Please provide any additional information below.

Unfortunatly I require both to run on one machine. I'm wanting to do a 
conversion to Linux on my machines however I need this to work if I am going to 
so.    

Original issue reported on code.google.com by [email protected] on 13 Aug 2010 at 6:19

Does not stream aacplus to shoutcast server

Hi.
Darkice does not stream aacp format to shoutcast server, it forces mp3 with 128 
kbps bitrate.

Here is part of /etc/darkice.cfg:

[shoutcast-0]
bitrateMode     =   cbr
format          =   aacp
bitrate         =   32
quality         =   0.8
genre           =   Music
public          =   yes
sampleRate      =   44100
maxBitrate      =   64

But it streams aacplus to icecast server well.

Original issue reported on code.google.com by [email protected] on 28 Jun 2010 at 8:41

Stereo turns turns to a one channel mono

What steps will reproduce the problem?
I cannot find a way to induce/reproduce this yet. It comes randomly, it can
take days or hours for this to occur. Basically I have mpg123 running with
the following commands:

/usr/bin mpg123 --output jack --no-icy-meta --stereo --gapless --rate 44100
-@ http://localhost:8000/icecast_stream.m3u

I have jackd running with the following commands:
/usr/bin/jackd -R -d dummy -r 44100 -p 4096

And I have darkice with the following configuration file:

[general]
duration = 0
bufferSecs = 10
reconnect = yes
realtime = no

[input]
device = jack
sampleRate = 44100
bitsPerSample = 16
channel  = 2
jackClientName = darkice

[icecast2-0]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 1.0
server = someserver.com
port = 80
password = somepassword
mountPoint = somemountpoint
name = home
description = blah
url = http://somesite.com
genre = Various
public = yes

The stream being listened by mpg123 gets transferred by jackd to darkice.
From there, it gets encoded to a remote icecast server. 

What is the expected output? What do you see instead?

I expect darkice to run for days or weeks without this issue. The issue is
that I have darkice streaming or encoding to an icecast server but randomly
we will start to hear silence from the right sided channel. This only gets
fixed when we restart darkice. 

What version of the product are you using? On what operating system?

The latest SVN version as of today. This has happened in previous versions
below 0.20.1

Please provide any additional information below.

None.

Original issue reported on code.google.com by [email protected] on 24 Feb 2010 at 3:28

DarkIce: DarkIce.cpp:1140: can't open connector [0] - shoutcast

hello, i'm french,
i launch darkice and message error :

Using config file: /etc/darkice.cfg
Using ALSA DSP input device: hw:0,0
Using POSIX real-time scheduling, priority 98
DarkIce: DarkIce.cpp:1140: can't open connector [0]

---------------------------

my darkice.cfg :

[general]
duration        = 0        # durée de l'encodage, en seconde. 0 pour tout
le temps
bufferSecs      = 30         # Taille de buffer d'attente, en seconde
reconnect       = yes       # yes, tente de se reconnecter en cas de
déconnection


[input]  # 

device          = hw:0,0  # Utilise le périphérique alsa comme entrée
sampleRate      = 32000     # Échantillonnage
bitsPerSample   = 16        # Bits par sample, laissez 16
channel         = 2         # Canal. 1 = mono, 2 = stereo

[shoutcast-0]

bitrateMode     = abr       # average bit rate
bitrate         = 96       # bitrate du flux envoyer au server
quality        = 1    # Meilleur qualité
server          = radio.weborganisation.org # en local c'est localhost
port            = 8801
password        = MyPassword
channel        = 2  # Canal. 1 = mono, 2 = stereo
name            = Test radio denis UBUNTU  # Nom du flux
description     = Test radio denis UBUNTU
url             = no #Url relative au flux
genre           = Radio test    # genre  du flux
public          = No       # Dire si le flux est en ligne
format=mp3 # Format d'encodage mp3


my system is UBUNTU 9.04 and rivendell (2 sound card)

thank you, denis (doc_denis)

Original issue reported on code.google.com by [email protected] on 26 May 2010 at 10:43

jack_client_new is deprecated

Hi!

jack_client_new is deprecated. If you run darkice, it will show the
following output:


Using config file: darkice.cfg
Using JACK audio server as input device.
Using POSIX real-time scheduling, priority 4
jack_client_new: deprecated
Registering as JACK client darkice-11407


The attached patch corrects this problem

Original issue reported on code.google.com by [email protected] on 16 May 2010 at 7:53

Attachments:

Error during "make"


What steps will reproduce the problem?
1. ./configure
2. make
3. g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
SerialUlaw.o -MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
SerialUlaw.cpp: In Elementfunktion »virtual unsigned int 
SerialUlaw::read(void*, unsigned int)«:
SerialUlaw.cpp:296:26: Fehler: »perror« wurde in diesem Gültigkeitsbereich 
nicht definiert


What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Hello together,
I'm trying to build Version 1.0 of darkice on a Fedora 14 System, in order to 
use Pulseaudio support. 
So I downloaded the source, made "./configure" and went on with "make". Here 
comes the problem. 

Here the make process:

[root@Sven-Notebook darkice-1.0]# make
Making all in src
make[1]: Entering directory `/home/sven/darkice-1.0/src'
make  all-am
make[2]: Entering directory `/home/sven/darkice-1.0/src'
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
AudioSource.o -MD -MP -MF .deps/AudioSource.Tpo -c -o AudioSource.o 
AudioSource.cpp
mv -f .deps/AudioSource.Tpo .deps/AudioSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
BufferedSink.o -MD -MP -MF .deps/BufferedSink.Tpo -c -o BufferedSink.o 
BufferedSink.cpp
mv -f .deps/BufferedSink.Tpo .deps/BufferedSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT CastSink.o 
-MD -MP -MF .deps/CastSink.Tpo -c -o CastSink.o CastSink.cpp
mv -f .deps/CastSink.Tpo .deps/CastSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT FileSink.o 
-MD -MP -MF .deps/FileSink.Tpo -c -o FileSink.o FileSink.cpp
mv -f .deps/FileSink.Tpo .deps/FileSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT Connector.o 
-MD -MP -MF .deps/Connector.Tpo -c -o Connector.o Connector.cpp
mv -f .deps/Connector.Tpo .deps/Connector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
MultiThreadedConnector.o -MD -MP -MF .deps/MultiThreadedConnector.Tpo -c -o 
MultiThreadedConnector.o MultiThreadedConnector.cpp
mv -f .deps/MultiThreadedConnector.Tpo .deps/MultiThreadedConnector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT DarkIce.o 
-MD -MP -MF .deps/DarkIce.Tpo -c -o DarkIce.o DarkIce.cpp
mv -f .deps/DarkIce.Tpo .deps/DarkIce.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT Exception.o 
-MD -MP -MF .deps/Exception.Tpo -c -o Exception.o Exception.cpp
mv -f .deps/Exception.Tpo .deps/Exception.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT IceCast.o 
-MD -MP -MF .deps/IceCast.Tpo -c -o IceCast.o IceCast.cpp
mv -f .deps/IceCast.Tpo .deps/IceCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT IceCast2.o 
-MD -MP -MF .deps/IceCast2.Tpo -c -o IceCast2.o IceCast2.cpp
IceCast2.cpp: In Elementfunktion »virtual bool IceCast2::sendLogin()«:
IceCast2.cpp:180:32: Warnung: veraltete Konvertierung von 
Zeichenkettenkonstante in »char*«
mv -f .deps/IceCast2.Tpo .deps/IceCast2.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT ShoutCast.o 
-MD -MP -MF .deps/ShoutCast.Tpo -c -o ShoutCast.o ShoutCast.cpp
mv -f .deps/ShoutCast.Tpo .deps/ShoutCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT FileCast.o 
-MD -MP -MF .deps/FileCast.Tpo -c -o FileCast.o FileCast.cpp
mv -f .deps/FileCast.Tpo .deps/FileCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
LameLibEncoder.o -MD -MP -MF .deps/LameLibEncoder.Tpo -c -o LameLibEncoder.o 
LameLibEncoder.cpp
mv -f .deps/LameLibEncoder.Tpo .deps/LameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
TwoLameLibEncoder.o -MD -MP -MF .deps/TwoLameLibEncoder.Tpo -c -o 
TwoLameLibEncoder.o TwoLameLibEncoder.cpp
mv -f .deps/TwoLameLibEncoder.Tpo .deps/TwoLameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
VorbisLibEncoder.o -MD -MP -MF .deps/VorbisLibEncoder.Tpo -c -o 
VorbisLibEncoder.o VorbisLibEncoder.cpp
mv -f .deps/VorbisLibEncoder.Tpo .deps/VorbisLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
FaacEncoder.o -MD -MP -MF .deps/FaacEncoder.Tpo -c -o FaacEncoder.o 
FaacEncoder.cpp
mv -f .deps/FaacEncoder.Tpo .deps/FaacEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
aacPlusEncoder.o -MD -MP -MF .deps/aacPlusEncoder.Tpo -c -o aacPlusEncoder.o 
aacPlusEncoder.cpp
mv -f .deps/aacPlusEncoder.Tpo .deps/aacPlusEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
OssDspSource.o -MD -MP -MF .deps/OssDspSource.Tpo -c -o OssDspSource.o 
OssDspSource.cpp
mv -f .deps/OssDspSource.Tpo .deps/OssDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread -g -O2 -MT 
SerialUlaw.o -MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
SerialUlaw.cpp: In Elementfunktion »virtual unsigned int 
SerialUlaw::read(void*, unsigned int)«:
SerialUlaw.cpp:296:26: Fehler: »perror« wurde in diesem Gültigkeitsbereich 
nicht definiert
make[2]: *** [SerialUlaw.o] Fehler 1
make[2]: Leaving directory `/home/sven/darkice-1.0/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/sven/darkice-1.0/src'
make: *** [all-recursive] Fehler 1

What should I do? I didn't find help :(.
Greets from germany

Original issue reported on code.google.com by [email protected] on 25 Jun 2011 at 12:43

Duplicated/repeated parts in stream

- What steps will reproduce the problem?
Don't know yet

- What is the expected output? What do you see instead?
Listeners where complaining about duplicated/repeated parts in the stream. 
Therefore I setup a MP3-player to record on the headphone out of the PC 
used for the stream. After this I compared the [file-0] output with the 
recorded file from the MP3-player.
Symptoms:
* Duplicated/repeated parts have been found, but no logic or what so ever 
in the occurrence of these duplicated parts.
* The length of these parts are as far as I could detect 0.278 seconds each 
time.
* Today I tested twice a hour stream with once 2.3sec length difference and 
the other time 0.5sec length difference.

- What version of the product are you using? On what operating system?
* Used hardware:
Fitpc2: Intel Atom Z510 1.1GHz; 1GB mem; SSD 32gb hd (top says 18.5% CPU 
load and 0.2% Mem load)

* Used software:
Ubuntu Server edition ver 9.04 (so commandline only)
Darkice 0.20.1 (latest)

* Darkice start-up commando:
sudo darkice -c /home/fitpc2/darkice_stream.cfg -v 10 >> 
/home/fitpc2/record/logfile.log

* Darkice config file used:
[general]
duration        = 0 
bufferSecs      = 5
reconnect       = yes

[input]
device          = /dev/dsp
sampleRate      = 44100
bitsPerSample   = 16
channel         = 2

[icecast2-0]
bitrateMode     = cbr
format          = mp3
bitrate         = 24
channel         = 1
sampleRate      = 11025
server          = ---
port            = ---
password        = ---
mountPoint      = --- 
name            = ---
description     = 
url             = 
genre           = 
public          = no

[file-0]
bitrateMode     = cbr
format          = mp3
bitrate         = 128
fileName        = /home/fitpc2/record/record-.mp3
fileAddDate     = yes
fileDateFormat  = %Y-%m-%d-%H-%M-%S

* Logfile report:
DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: /home/fitpc2/darkice_stream.cfg
07-Feb-2010 09:05:09 Using OSS DSP input device: /dev/dsp
07-Feb-2010 09:05:09 encoding
07-Feb-2010 09:05:09 scheduler high priority 99
07-Feb-2010 09:05:09 Using POSIX real-time scheduling, priority 98
07-Feb-2010 09:05:10 BufferedSink, new peak: 8
07-Feb-2010 09:05:10 BufferedSink, remaining: 15352
07-Feb-2010 09:05:10 BufferedSink, new peak: 9
07-Feb-2010 09:05:10 BufferedSink, remaining: 15351
07-Feb-2010 09:05:10 BufferedSink, new peak: 15
07-Feb-2010 09:05:10 BufferedSink, remaining: 15345
07-Feb-2010 09:05:10 BufferedSink, new peak: 22
07-Feb-2010 09:05:10 BufferedSink, remaining: 15338
07-Feb-2010 09:05:10 BufferedSink, new peak: 55
07-Feb-2010 09:05:10 BufferedSink, remaining: 15305
07-Feb-2010 09:05:11 set lame mode 3
07-Feb-2010 09:05:11 set lame channels 2
07-Feb-2010 09:05:11 set lame in sample rate 44100
07-Feb-2010 09:05:11 set lame out sample rate 11025
07-Feb-2010 09:05:11 set lame bit rate 24
07-Feb-2010 09:05:11 set lame quality 9
07-Feb-2010 09:05:11 set lame lowpass frequency 0
07-Feb-2010 09:05:11 set lame highpass frequency 0
07-Feb-2010 09:05:11 set lame psycho acoustic model 1
07-Feb-2010 09:05:11 set lame error protection 1
07-Feb-2010 09:05:11 set lame mode 1
07-Feb-2010 09:05:11 set lame channels 2
07-Feb-2010 09:05:11 set lame in sample rate 44100
07-Feb-2010 09:05:11 set lame out sample rate 44100
07-Feb-2010 09:05:11 set lame bit rate 128
07-Feb-2010 09:05:11 set lame quality 9
07-Feb-2010 09:05:11 set lame lowpass frequency 0
07-Feb-2010 09:05:11 set lame highpass frequency 0
07-Feb-2010 09:05:11 set lame psycho acoustic model 1
07-Feb-2010 09:05:11 set lame error protection 1
07-Feb-2010 09:05:11 MultiThreadedConnector :: tranfer, bytes 0
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, was (thread, priority, type):  0x844f6c0 98 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, was (thread, priority, type):  0x844f6d0 98 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, now is (thread, priority, type):  0x844f6d0 1 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, now is (thread, priority, type):  0x844f6c0 1 SCHED_FIFO
07-Feb-2010 09:05:11 BufferedSink, new peak: 136
07-Feb-2010 09:05:11 BufferedSink, remaining: 15224
07-Feb-2010 09:05:11 BufferedSink, new peak: 139
07-Feb-2010 09:05:11 BufferedSink, remaining: 15221
07-Feb-2010 09:05:11 BufferedSink, new peak: 150
07-Feb-2010 09:05:11 BufferedSink, remaining: 15210
07-Feb-2010 09:05:12 BufferedSink, new peak: 171
07-Feb-2010 09:05:12 BufferedSink, remaining: 15189
07-Feb-2010 09:05:13 BufferedSink, new peak: 174
07-Feb-2010 09:05:13 BufferedSink, remaining: 15186

- Please provide any additional information below.
Please help me out here!

Original issue reported on code.google.com by [email protected] on 7 Feb 2010 at 7:14

Make error related to JackDspSource.cpp

What steps will reproduce the problem?
1. configure with ./configure --with-lame
--with-vorbis-prefix=/usr/local/lib --with-faac-prefix=/usr/local/lib
--with-jack

2. make 

What is the expected output?

Expected successful compile

What do you see instead?

make ends with following error:

JackDspSource.cpp: In member function ‘void JackDspSource::strip()’:
JackDspSource.cpp:129: error: ‘free’ was not declared in this scope
JackDspSource.cpp: In member function ‘void 
JackDspSource::do_auto_connect()’:
JackDspSource.cpp:171: error: ‘free’ was not declared in this scope
JackDspSource.cpp: In member function ‘virtual unsigned int
JackDspSource::read(void*, unsigned int)’:
JackDspSource.cpp:340: error: ‘realloc’ was not declared in this scope
JackDspSource.cpp:367: error: ‘SHRT_MAX’ was not declared in this scope
JackDspSource.cpp:369: error: ‘SHRT_MIN’ was not declared in this scope
make[2]: *** [JackDspSource.o] Error 1
make[2]: Leaving directory `/home/rdadmin/Rivendell/src/darkice-0.19/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rdadmin/Rivendell/src/darkice-0.19/src'
make: *** [all-recursive] Error 1


What version of the product are you using? On what operating system?

darkice-0.19 on OpenSUSE 11.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Jul 2009 at 3:28

Scrambled audio when encoding aacp using jack

What steps will reproduce the problem?
1. start jackd -d dummy -r44100 (trying other samplerated won't solve the 
problem)
2. start darkice with aacp encoder from JACK source
3. start mplayer -af channels=1 -ao jack -playlist 
http://bbc.co.uk/radio/listen/live/r2.asx (any other source will work, too)
4. connect the JACK connectors (jack_connect "MPlayer [27968]:out_0" 
"darkice-27819:mono" for example)

What is the expected output? What do you see instead?
The audio stream should sound fine but it's scrambled instead of that.

What version of the product are you using? On what operating system?
Tried both darkice-1.0 and -trunk on Debian Linux with libaacplus 1.0.4 and 
1.0.5 on i386 and amd64.

Please provide any additional information below.
When using ALSA-Loop (snd-aloop.ko) via hw:Loopback it is encoding fine with 
this configuration but sadly crashes every now and then (about every 1-12h).

Configuration File:
[general]
duration        =       0
bufferSecs      =       5
reconnect       =       yes

[input]
device          =       jack
sampleRate      =       44100
bitsPerSample   =       16
channel         =       1

[icecast2-0]
bitrateMode     = cbr      # also tried vbr and abr
format          = aacp    
bitrate         = 32       # also tried other bitrates
server          = 127.0.0.1
...

Regards,
Kai

Original issue reported on code.google.com by [email protected] on 16 Sep 2010 at 9:22

error on compiling with aac+ : ‘inSamples’ was not declared in this scope

What steps will reproduce the problem?
1. download the latest using svn
2. install AAC+ libraries and development files
3. run autogen.sh and make

What is the expected output? What do you see instead?
I was hoping this would successfully compile the package, instead see the 
following error:
aacPlusEncoder.cpp:118: error: ‘inSamples’ was not declared in this scope

What version of the product are you using? On what operating system?
latest revision from HEAD - revision 493
on ubuntu 32bit linux 10.10

Please provide any additional information below.
Also still have to make the changes detailed here:
http://code.google.com/p/darkice/issues/detail?id=9

which is marked as fixed? Looks like is still an issue

Original issue reported on code.google.com by [email protected] on 9 Mar 2011 at 5:20

  • Merged into: #41

message inconsistent when libsamplerate not found + FIX

What steps will reproduce the problem?
1. build without libsamplerate
2. ./configure 
3.

What is the expected output? What do you see instead?
- text consistency

What version of the product are you using? On what operating system?
HEAD

Please provide any additional information below.



diff -u configure.in.org configure.in
--- configure.in.org    2010-12-27 15:15:22.582913442 +0100
+++ configure.in    2010-12-27 15:18:54.992919354 +0100
@@ -368,7 +368,7 @@
         SRC_LDFLAGS="-L${SRC_LIB_LOC} -lsamplerate"
         AC_MSG_RESULT( [found at ${CONFIG_SRC_PREFIX}] )
     else
-        AC_MSG_WARN( [not found, building libsamplerate support])
+        AC_MSG_WARN( [not found, building without libsamplerate support])
     fi
 else
     AC_MSG_RESULT( [building without libsamplerate support] )



Original issue reported on code.google.com by oetelaar.automatisering on 27 Dec 2010 at 2:22

make darkice's realtime priority a config item

Right now (SVN r479), darkice uses sched_get_priority_max()-1 as the
scheduler priority for its realtime threads.

Though this might be ok for ALSA/OSS sources, it doesn't make sense when
using jackd.

The attached patch adds a new config item "rtprio" to the general section
and provides a sensible default for jackd use.

Rationale is part of the code.

Resulting RT levels look like this:


adi@hex:~$ for i in $(ls /proc/`pgrep -x darkice`/task/) ; do chrt -p $i  ;
done
pid 11407's current scheduling policy: SCHED_FIFO
pid 11407's current scheduling priority: 4
pid 11408's current scheduling policy: SCHED_FIFO
pid 11408's current scheduling priority: 4
pid 11409's current scheduling policy: SCHED_FIFO
pid 11409's current scheduling priority: 4
pid 11410's current scheduling policy: SCHED_FIFO
pid 11410's current scheduling priority: 5
pid 11411's current scheduling policy: SCHED_FIFO
pid 11411's current scheduling priority: 1

This is fine: the jackd callback thread is at 5 while the encoder threads
are at 4. This way, darkice's input buffer can always be filled, because
all jackd threads have higher priority. This should fix the buffer underrun
in issue 11. (don't know how to link to the ticket)


Cheerio

Original issue reported on code.google.com by [email protected] on 16 May 2010 at 7:44

Attachments:

Installation darkice-RTP

Hello good night wants to know how to install the rtp-darkice I downloaded the 
svn after I entered in the directory and run the commands. / Autogen.sh. / 
Configure,. / Make did however make the mistake at the end saying something cpp 
network on all the libraries of the codec is installed other versions that I 
can install only the RTP would not I want to teach step by step how to install 
this by versao.Obrigado Attention:'m from Brazil, sorry for broken English.


Original issue reported on code.google.com by [email protected] on 29 Jun 2011 at 2:22

DarkIce: DarkIce.cpp:1140: can't open connector [0]

I've an issue when I run this command:
darkice -c darkice.cfg

i get this error:

patrick@~/radio/cfg$ darkice -c darkice.cfg
DarkIce 0.19 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: darkice.cfg
Using OSS DSP input device: /dev/dsp
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
DarkIce: DarkIce.cpp:1140: can't open connector [0]

how can I resolve???

thanks

Original issue reported on code.google.com by [email protected] on 3 Nov 2009 at 8:39

Icecast problem

What steps will reproduce the problem?
1. Outage one of the streaming servers
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
Linux Centos 5.3 32 bit, Darkice 1.0

Please provide any additional information below.
We have a couple of streaming servers using IceCast. In our studio we have 
implemented a Darkice 1.0 live source streamer, to stream the mp3 to our 
servers. Suddenly one of ours servers have crashed, and Darkice just have 
stopped working. After a lot of restarting darkice service I have realized that 
it starts all the mount points on all servers, until it reaches the server that 
have crashed. When I have removed the crashed mount server from the 
configuration file of the darkice, and restarted it, it works.
So if one of yours streaming servers (that you have in your config file) 
crashes, DarkIce WON'T WORK!!!




Original issue reported on code.google.com by [email protected] on 9 Jul 2010 at 11:08

Buffering problem with fix, long standing bug in BufferedSink.cpp

What steps will reproduce the problem?
1. always ticks with mp3 file after a few seconds
2. breaks aacp stream sync in my player
3.

What is the expected output? What do you see instead?
Some buffer is written twice, causing corruption of datastream

What version of the product are you using? On what operating system?
0.20.1

Please provide any additional information below.

In BufferedSink.cpp some logic is not OK
starting on line 331

// if the buffer is empty then inp==outp 

  // the internal buffer is empty, try to write the fresh data
    soFar = 0;
    if (/* inp != outp*/ inp == outp ) { /* Edwin van den Oetelaar bug fix
26/4/2010 has been here for 10 years !! */
        while ( soFar < len && sink->canWrite( 0, 0) ) {
            try {
            soFar += sink->write( b + soFar, len - soFar);
            } catch (Exception &e) {
                fprintf(stderr,"Exception caught in BufferedSink :: write3\n");
                throw; /* up a level */
        }
            }
    }
    length = soFar;

Original issue reported on code.google.com by oetelaar.automatisering on 25 Apr 2010 at 11:34

Darkice unable to stream OGG and MP3 at the same time.

What steps will reproduce the problem?
1. Create darkice.cfg with a mix of vorbis and mp3 mountpoints on dsp
2. Use a different bit rate for each mount point
3. Double/Triple check the hostname, port, password etc are all IDENTICAL 
and NOT A CAUSE OF THIS ISSUE.


What is the expected output?

A mix of MP3 and OGG offerings, each with a different bit rate on a 
different mount point.

What do you see instead?

"Darkice VorbisLibEncoder: vorbis lib opening underlying sink error" will 
appear if Darkice is set to 2 Channels (Stereo).  If the darkice.cfg file 
has ONLY ogg streams and Darkice is set to 1 Channel (Mono), it runs fine 
and you can have multiple streams - but you have to use trial and error to 
find bit rate/frequency combinations that will work.

DarkIce: LameLibEncoder: lame lib opening underlying sink error" will 
appear if Darkice is set to 1 Channel and an MP3 stream on dsp.  If the 
darkice.cfg file has ONLY mp3 streams and Darkice is set to 2 Channels, it 
also funs fine and you can have multiple streams - provided you find a bit 
rate/frequency mix that Darkice can handle.

What version of the product are you using?  Darkice 0.19 with Icecast2

On what operating system?  I've tried this on Fedora 11, Ubuntu 9.04 
(server and desktop), Ubuntu 8 desktop and OpenSuse 11.  Results are all 
the same.

Please provide any additional information below.

I've played around with a mix of various bit rates, frequencies and 
channels and the results are highly scattered.  With a 44100 frequency, 
nearly every bit rate on MP3 and Vorbis failed, no matter how many 
channels I used.  With 48000, I could keep steady but separate ogg and mp3 
streams on 32 and 92 bit rates only.  22K is simply below our acceptable 
threshold (we're a real, brick and mortar radio station streaming online 
too) so I didn't do any testing there.

If you google these errors, you will see a LOT of other folks wrestling 
with this same issue.  I'm happy to send you the exact setup we were 
successfully using on Fedora Core 4 with Icecast1 and an ancient version 
of Darkice.  We were running 5 mount points with vorbis and mp3 at 
different rates and it worked GREAT!  We're presently in process of 
completely revamping our server and thus far I have been unable to 
duplicate our prior success with any of the updated distros.  I resorted 
to manual compiles of darkice to try and get a better outcome but Darkice-
0.19 compiles are all failing with char* and Jack problems.  That is 
documented in another issue.

Looking forward to a speedy fix from you folks!  

Original issue reported on code.google.com by [email protected] on 30 Jul 2009 at 11:25

ALSA recording unreliable with Envy24 cards

When using the ALSA source with an Envy24-bases sound card, there are
dropouts and noise in the data.

The reason is that this hardware has a strict limitation on the buffer size
(1/4th of a second at 22 kHz), so the period size that is chosen is almost
as big as the actual buffer size, i.e., the application has almost no
opportunity to read data before an overrun occurs.

This can be solved by not trying to set a fixed period size; see the patch.

Original issue reported on code.google.com by [email protected] on 25 Nov 2009 at 12:01

Attachments:

Stream starts glitching after a while

What steps will reproduce the problem? I'm using aoss in Ubuntu 10.10 for OSS 
compatibility with DarkIce 1.0. I'm running from SVN trunk right now so we'll 
see if that fixes it.

What is the expected output? After a day or so the stream starts getting 
glitches in it every 20-30 seconds or so (this varies up to 60 seconds).

Original issue reported on code.google.com by [email protected] on 21 Oct 2010 at 1:58

Instillation instructions not working under Ubuntu 9.10

What steps will reproduce the problem?
1. In terminal navigate to directory the file was unzipped to.
2. In terminal type "./configure"
3. In terminal type "make"
4. In terminal type "make install"

These steps are per the instructions included with the package.
I quote from the install document
----------------------------------------------------
"If chosing the default compile options, issue the following commands:

./configure
make
make install
----------------------------------------------------

What is the expected output? What do you see instead?
It appears to be a failure message of some kind when I was expecting some
form of instillation message.

What version of the product are you using? On what operating system?
OS: Ubuntu 9.10
Product: darkice-0.20.1

Please provide any additional information below.
I followed the instructions provided exactly, entered the commands as they
are entered in the instructions. Attached is a printout from the terminal
window.

Original issue reported on code.google.com by [email protected] on 19 Mar 2010 at 12:38

Attachments:

DarkIce should support http proxy

What steps will reproduce the problem?
1. Run darkice with an icecast output config behind a proxy 
2. darkice is not able to join icecast server
3.

What is the expected output? What do you see instead?

Darkice should use the HTTP_PROXY variable to send data to the server.


What version of the product are you using? On what operating system?

Ubuntu Linux 10.04 , 0.20.1


Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 1:17

Darkice it disconnects suddenly


What is the expected output? What do you see instead?
The stream works well consecutive some hours and also sometimes some days, but 
suddenly de stream closes. And after a few hours to send the signal back to the 
server.

I do not want to close the connection.

What version of the product are you using? On what operating system?
I use a SHOUTcast Server Version 1.9.8/Linux works under Archilinux
I send the source with DarkIce 1.0 works under Ubuntu 8.04

The network is only used for internet broadcasting. I have a DSL 1MB 
symmetrical to send the signal to the server.

Please provide any additional information below.

When this happens the server says (in log file):

08/11/10@10:36:59> [source] connected from 87.111.146.123
<08/11/10@10:36:59> [source] icy-name:RADIO BONMATI - 107.1 FM ; icy-genre:pop
<08/11/10@10:36:59> [source] icy-pub:0 ; icy-br:128 ; 
icy-url:http://www.radiobonmati.net
<08/11/10@10:36:59> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A
<08/11/10@12:21:33> [dest: 212.145.99.145] starting stream (UID: 508)[L: 1]{A: 
WinampMPEG/5.54}(P: 0)
<08/11/10@13:14:58> [dest: 212.145.99.145] starting stream (UID: 509)[L: 2]{A: 
MPEG OVERRIDE}(P: 1)
<08/11/10@13:15:11> [dest: 212.145.99.145] connection closed (13 seconds) (UID: 
509)[L: 1]{Bytes: 458986}(P: 1)
<08/11/10@14:12:07> [dest: 212.145.99.145] connection closed (6634 seconds) 
(UID: 508)[L: 0]{Bytes: 106347878}(P: 0)
<08/11/10@19:56:09> [source] no data (30s timeout). disconnecting.
<08/11/10@19:57:12> [source] invalid password from 87.111.146.123
<08/11/10@19:57:14> [source] invalid password from 87.111.146.123
<08/11/10@19:57:16> [source] invalid password from 87.111.146.123
<08/11/10@19:57:17> [source] invalid password from 87.111.146.123
<08/11/10@20:14:41> [source] connected from 87.111.146.123
<08/11/10@20:14:41> [source] icy-name:RADIO BONMATI - 107.1 FM ; icy-genre:pop
<08/11/10@20:14:41> [source] icy-pub:0 ; icy-br:128 ; 
icy-url:http://www.radiobonmati.net
<08/11/10@20:14:41> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A

The password settings are correct but does not work ever since (in config file 
darkice.cfg). Attached file is the file I use.

Thanks,
Xavier.



Original issue reported on code.google.com by [email protected] on 11 Aug 2010 at 7:00

Attachments:

DarkIce: AudioSource.cpp:110: trying to open JACK device without support compiledjack_auto [0]

What steps will reproduce the problem?
1.On Debian 5.0.4 (amd64) install darkice with synaptic
2. change /home/usr/darkice.cfg: 

......
[input] 
device          =jac_auto 
sampleRate      = 22050 
bitsPerSample   = 16        
channel         = 2       
......

3.start qjackctl(0.3.2) [jackd (0.109.2-5)

4.start: darkice -c /home/usr/darkice.cfg 


 What do you see instead?

DarkIce: AudioSource.cpp:110: trying to open JACK device without support
compiledjack_auto [0]

(does this say that Synaptic installed it without Jack support???)

What version of the product are you using? On what operating system?
Debian 5.0.4 (amd64)
2.6.26-2-amd64

DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/




Original issue reported on code.google.com by [email protected] on 7 Apr 2010 at 3:16

Attachments:

Error starting: DarkIce: Util.cpp:263: number conversion error [0]

What steps will reproduce the problem?
1. Just can't start DarkIce to connect to the JACK input.

What is the expected output? What do you see instead?:

laptop:~$ darkice -v 10 -c darkice.conf 
DarkIce 0.19 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: darkice.conf
15-Apr-2010 11:29:53 Using JACK audio server as input device.
DarkIce: Util.cpp:263: number conversion error [0]


What version of the product are you using? On what operating system?:

0.19 - Ubuntu 9.10


Please provide any additional information below.:
We already have Rotter in use, which captures the input also from JACK.
Also a VU meter we made with help from jack_meter.
Now I try to let DarkIce capture the JACK input as well, but I can't get it 
even to the point to stream it.

Any help please I would appreciate :)

Original issue reported on code.google.com by [email protected] on 15 Apr 2010 at 9:35

src/SerialUlaw.cpp ]

src/SerialUlaw.cpp won't compile on Cygwin due to lack of cfmakeraw. Patch
follows.

Doug ~/darkice-0.20.1/src
$ diff SerialUlaw.cpp.patched SerialUlaw.cpp.original 
87,89d86
< #ifndef __CYGWIN__
< #define HAVE_CFMAKERAW 1 // not in Cygwin ...
< #endif
232,245c229
< 
< #ifdef HAVE_CFMAKERAW
<     // The easy way
<     cfmakeraw( &ts );
< #else
<     // The hard way
<     ts.c_iflag &= ~( IGNBRK | BRKINT | PARMRK | ISTRIP
<                             | INLCR | IGNCR | ICRNL | IXON );
<     ts.c_oflag &= ~OPOST;
<     ts.c_lflag &= ~( ECHO | ECHONL | ICANON | ISIG | IEXTEN );
<     ts.c_cflag &= ~( CSIZE | PARENB | CRTSCTS );
<     ts.c_cflag |= CS8 | CREAD | CLOCAL ;
< #endif
< 

---
>     cfmakeraw(&ts);

Original issue reported on code.google.com by [email protected] on 3 Jan 2010 at 5:32

Lame Encoding Error

What steps will reproduce the problem?
1. whenever i try to run darkice, even with sudo
2. no combination of settings in the .cfg works
3. i haven't tried other encoders yet.

What is the expected output? What do you see instead?
darkice is supposed to run but instead i get this error:

tweedle@MushBox:~/Downloads/darkice-1.0$ sudo darkice
DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: /etc/darkice.cfg
Using ALSA DSP input device: hw:0,0
Using POSIX real-time scheduling, priority 98
DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]
tweedle@MushBox:~/Downloads/darkice-1.0$ 



What version of the product are you using? On what operating system?
1.0 on ubuntu 10.10 with lame 3.98.4 - OS is fully updated

Please provide any additional information below.
using ALSA on an ATI IXP400 (ac'97) trying to stream to a shoutcast server.

thank you

tweedle
[email protected]

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 10:35

darkice-1.0 fails to compile with gcc-4.4 with certain ./configure flags

What steps will reproduce the problem?
1. ./configure --without-vorbis --without-faac --without-aacplus 
--without-twolame --without-alsa --without-jack --without-samplerate --with-lame
2. make

What do you see instead?

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall  -pthread 
-march=core2 -msse4.1 -O2 -pipe -c -o TcpSocket.o TcpSocket.cpp
SerialUlaw.cpp: In member function ‘virtual unsigned int 
SerialUlaw::read(void*, unsigned int)’:
SerialUlaw.cpp:296:26: error: ‘perror’ was not declared in this scope

What version of the product are you using? On what operating system?

GNU GCC 4.4.x / Linux+glibc

Please provide any additional information below.

Missing #include <stdio.h> for perror, patch attached.

Original issue reported on code.google.com by [email protected] on 29 Jul 2010 at 11:52

Attachments:

drakice terminates after transferring 11522048

What steps will reproduce the problem?
1. start darkice as superuser
2. wait ~1 minute, and darkice will terminate, reporting "11522048 bytes 
transfered to the encoders". It is ALWAYS 11522048 bytes.


What is the expected output? What do you see instead?
I expect it to keep sending data to the icecast2 server. Instead, it stops 
after about 1 min, reporting 11522048 bytes transferred

What version of the product are you using? On what operating system?
jack .0118.0 to darkice 1.0 to icecast 2.3.2 on Gentoo linux.

Please provide any additional information below.
darkice config:
[general]
duration        = 60                         
bufferSecs      = 5                         
reconnect       = yes                                    

[input]
device          = jack_auto                             
sampleRate      = 48000                                     
bitsPerSample   = 16       
channel         = 2         

[icecast2-0]
bitrateMode     = vbr        
format          = mp3    
quality         = 0.8       
server          = localhost                              
port            = 8000      
password        =  XXX                                     
mountPoint      = sample96                               
name            = DarkIce trial 
url             = http://www.yourserver.com   
genre           = my own       
public          = no         
localDumpFile   = dump.ogg  

icecast cfg
<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>1</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>
<!-- auth section omitted -->
    <hostname>clunker</hostname>
    <listen-socket>
        <port>8000</port>
    </listen-socket>
    <fileserve>1</fileserve>

Jack Config details:
driver: alsa
It is realtime
Frames/pd: 512
Sample rate: 4800
periods/buffer: 2
port max: 256
Timeout:500msec
Start delay: 2sec
Audio: duplex
All else is default. 

Original issue reported on code.google.com by [email protected] on 20 Feb 2011 at 4:06

Darkice could crash system while reading from /dev/dsp when device disconnects (usb tuners)

What steps will reproduce the problem?
1. Insert USB tuner with dsp support
2. Start darkice on device
3. Disconnect USB device, system is not responding anymore

System stop responding while reading from device.

file: OssDspSource.cpp
line: 288
code: ret = ::read( fileDescriptor, buf, len);

I tried kernel 2.6.33.2 and 2.6.37.3 with same behaviour.

Only possible solution i have found is to use NON BLOCKING reading from device 
and disconnect when reading limit amount of zero size returns.

Patch is attached in file, but it is not ready for merging, it is just example.

Original issue reported on code.google.com by [email protected] on 15 Mar 2011 at 10:30

Attachments:

Can't compile Darkice, Crunchbang Statler

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? 

A working darkice to stream my shows to shoutcast (Debian doesn't do it)

What do you see instead?
honeyradiance@honeyradiance:~/darkice-1.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for sched_getscheduler in -lrt... yes
checking for getaddrinfo... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for pthread-config... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for lame library at /usr ... found at /usr 
checking for vorbis libraries at /usr ... configure: WARNING: not found, 
building without Ogg Vorbis
checking for faac library at /usr ... configure: WARNING: not found, building 
without faac
checking for aacplus library at /usr ... configure: WARNING: not found, 
building without aacplus
checking for twolame library at /usr ... configure: WARNING: not found, 
building without twolame
checking for alsa libraries at /usr ... configure: WARNING: not found, building 
without ALSA support
checking for jack libraries at /usr ... configure: WARNING: not found, building 
without JACK support
checking for samplerate libraries at /usr ... configure: WARNING: not found, 
building libsamplerate support
checking for MSG_NOSIGNAL... yes
checking for sched_getscheduler... yes
checking for sched_getparam... yes
not compiling in debug mode
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
honeyradiance@honeyradiance:~/darkice-1.0$ make
Making all in src
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/src'
make  all-am
make[2]: Entering directory `/home/honeyradiance/darkice-1.0/src'
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT AudioSource.o -MD 
-MP -MF .deps/AudioSource.Tpo -c -o AudioSource.o AudioSource.cpp
mv -f .deps/AudioSource.Tpo .deps/AudioSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT BufferedSink.o -MD 
-MP -MF .deps/BufferedSink.Tpo -c -o BufferedSink.o BufferedSink.cpp
mv -f .deps/BufferedSink.Tpo .deps/BufferedSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT CastSink.o -MD -MP 
-MF .deps/CastSink.Tpo -c -o CastSink.o CastSink.cpp
mv -f .deps/CastSink.Tpo .deps/CastSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FileSink.o -MD -MP 
-MF .deps/FileSink.Tpo -c -o FileSink.o FileSink.cpp
mv -f .deps/FileSink.Tpo .deps/FileSink.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Connector.o -MD -MP 
-MF .deps/Connector.Tpo -c -o Connector.o Connector.cpp
mv -f .deps/Connector.Tpo .deps/Connector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT 
MultiThreadedConnector.o -MD -MP -MF .deps/MultiThreadedConnector.Tpo -c -o 
MultiThreadedConnector.o MultiThreadedConnector.cpp
mv -f .deps/MultiThreadedConnector.Tpo .deps/MultiThreadedConnector.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT DarkIce.o -MD -MP 
-MF .deps/DarkIce.Tpo -c -o DarkIce.o DarkIce.cpp
mv -f .deps/DarkIce.Tpo .deps/DarkIce.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Exception.o -MD -MP 
-MF .deps/Exception.Tpo -c -o Exception.o Exception.cpp
mv -f .deps/Exception.Tpo .deps/Exception.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT IceCast.o -MD -MP 
-MF .deps/IceCast.Tpo -c -o IceCast.o IceCast.cpp
mv -f .deps/IceCast.Tpo .deps/IceCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT IceCast2.o -MD -MP 
-MF .deps/IceCast2.Tpo -c -o IceCast2.o IceCast2.cpp
IceCast2.cpp: In member function ‘virtual bool IceCast2::sendLogin()’:
IceCast2.cpp:180: warning: deprecated conversion from string constant to 
‘char*’
mv -f .deps/IceCast2.Tpo .deps/IceCast2.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT ShoutCast.o -MD -MP 
-MF .deps/ShoutCast.Tpo -c -o ShoutCast.o ShoutCast.cpp
mv -f .deps/ShoutCast.Tpo .deps/ShoutCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FileCast.o -MD -MP 
-MF .deps/FileCast.Tpo -c -o FileCast.o FileCast.cpp
mv -f .deps/FileCast.Tpo .deps/FileCast.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT LameLibEncoder.o 
-MD -MP -MF .deps/LameLibEncoder.Tpo -c -o LameLibEncoder.o LameLibEncoder.cpp
mv -f .deps/LameLibEncoder.Tpo .deps/LameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT TwoLameLibEncoder.o 
-MD -MP -MF .deps/TwoLameLibEncoder.Tpo -c -o TwoLameLibEncoder.o 
TwoLameLibEncoder.cpp
mv -f .deps/TwoLameLibEncoder.Tpo .deps/TwoLameLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT VorbisLibEncoder.o 
-MD -MP -MF .deps/VorbisLibEncoder.Tpo -c -o VorbisLibEncoder.o 
VorbisLibEncoder.cpp
mv -f .deps/VorbisLibEncoder.Tpo .deps/VorbisLibEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT FaacEncoder.o -MD 
-MP -MF .deps/FaacEncoder.Tpo -c -o FaacEncoder.o FaacEncoder.cpp
mv -f .deps/FaacEncoder.Tpo .deps/FaacEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aacPlusEncoder.o 
-MD -MP -MF .deps/aacPlusEncoder.Tpo -c -o aacPlusEncoder.o aacPlusEncoder.cpp
mv -f .deps/aacPlusEncoder.Tpo .deps/aacPlusEncoder.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT OssDspSource.o -MD 
-MP -MF .deps/OssDspSource.Tpo -c -o OssDspSource.o OssDspSource.cpp
mv -f .deps/OssDspSource.Tpo .deps/OssDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT SerialUlaw.o -MD 
-MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
mv -f .deps/SerialUlaw.Tpo .deps/SerialUlaw.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT SolarisDspSource.o 
-MD -MP -MF .deps/SolarisDspSource.Tpo -c -o SolarisDspSource.o 
SolarisDspSource.cpp
mv -f .deps/SolarisDspSource.Tpo .deps/SolarisDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT TcpSocket.o -MD -MP 
-MF .deps/TcpSocket.Tpo -c -o TcpSocket.o TcpSocket.cpp
mv -f .deps/TcpSocket.Tpo .deps/TcpSocket.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Util.o -MD -MP -MF 
.deps/Util.Tpo -c -o Util.o Util.cpp
mv -f .deps/Util.Tpo .deps/Util.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT ConfigSection.o -MD 
-MP -MF .deps/ConfigSection.Tpo -c -o ConfigSection.o ConfigSection.cpp
mv -f .deps/ConfigSection.Tpo .deps/ConfigSection.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT DarkIceConfig.o -MD 
-MP -MF .deps/DarkIceConfig.Tpo -c -o DarkIceConfig.o DarkIceConfig.cpp
mv -f .deps/DarkIceConfig.Tpo .deps/DarkIceConfig.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT Reporter.o -MD -MP 
-MF .deps/Reporter.Tpo -c -o Reporter.o Reporter.cpp
mv -f .deps/Reporter.Tpo .deps/Reporter.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT AlsaDspSource.o -MD 
-MP -MF .deps/AlsaDspSource.Tpo -c -o AlsaDspSource.o AlsaDspSource.cpp
mv -f .deps/AlsaDspSource.Tpo .deps/AlsaDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT JackDspSource.o -MD 
-MP -MF .deps/JackDspSource.Tpo -c -o JackDspSource.o JackDspSource.cpp
mv -f .deps/JackDspSource.Tpo .deps/JackDspSource.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT main.o -MD -MP -MF 
.deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aflibDebug.o -MD 
-MP -MF .deps/aflibDebug.Tpo -c -o aflibDebug.o aflibDebug.cc
mv -f .deps/aflibDebug.Tpo .deps/aflibDebug.Po
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT aflibConverter.o 
-MD -MP -MF .deps/aflibConverter.Tpo -c -o aflibConverter.o aflibConverter.cc
aflibConverter.cc: In member function ‘int aflibConverter::resampleFast(int&, 
int, short int*, short int*)’:
aflibConverter.cc:525: warning: deprecated conversion from string constant to 
‘char*’
aflibConverter.cc: In member function ‘int 
aflibConverter::resampleWithFilter(int&, int, short int*, short int*, short 
int*, short int*, short unsigned int, short unsigned int, short unsigned 
int)’:
aflibConverter.cc:571: warning: deprecated conversion from string constant to 
‘char*’
aflibConverter.cc:639: warning: deprecated conversion from string constant to 
‘char*’
mv -f .deps/aflibConverter.Tpo .deps/aflibConverter.Po
g++ -O2 -pedantic -Wall   -g -O2   -o darkice AudioSource.o BufferedSink.o 
CastSink.o FileSink.o Connector.o MultiThreadedConnector.o DarkIce.o 
Exception.o IceCast.o IceCast2.o ShoutCast.o FileCast.o LameLibEncoder.o 
TwoLameLibEncoder.o VorbisLibEncoder.o FaacEncoder.o aacPlusEncoder.o 
OssDspSource.o SerialUlaw.o SolarisDspSource.o TcpSocket.o Util.o 
ConfigSection.o DarkIceConfig.o Reporter.o AlsaDspSource.o JackDspSource.o 
main.o aflibDebug.o aflibConverter.o -L/usr/lib -lmp3lame  -lrt -lnsl 
make[2]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
Making all in man
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0/man'
make[1]: Entering directory `/home/honeyradiance/darkice-1.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/honeyradiance/darkice-1.0'
honeyradiance@honeyradiance:~/darkice-1.0$ make install
Making install in src
make[1]: Entering directory `/home/honeyradiance/darkice-1.0/src'
make[2]: Entering directory `/home/honeyradiance/darkice-1.0/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c 'darkice' '/usr/local/bin/darkice'
/usr/bin/install: cannot create regular file `/usr/local/bin/darkice': 
Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/honeyradiance/darkice-1.0/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/honeyr


What version of the product are you using? On what operating system?

Darkice 1.0
Crunchbang Statler, which is based off of Debian Squeeze

I got libmp3lame0 and faac and jack and all that stuff, vorbis, etc.  I got all 
the tools.

I even added the patch and got gcc4.4 and all that

I even edited JackDSPsource.cpp and SerialUlaw with #include <cstdio> at the 
beginning and everything.  Still won't compile.


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Jan 2011 at 9:58

CoreAudio patch

The patch adds CoreAudio support for MacOS X.

http://hehehe.blog.so-net.ne.jp/2009-06-05

Only problem is that the patch needs jack support for some structures used
for jack.

After the review, I'll merge this branch into:
/trunk



Original issue reported on code.google.com by [email protected] on 17 Jun 2009 at 3:35

Attachments:

[Patch] Less hacky method in OssDspSource.cpp

I happened to look at the source code, and found this: "/* ugly workaround to 
get the dsp into recording state */". The ugly workaround is not necessary - 
there's a better solution using SNDCTL_DSP_SETTRIGGER. Patch is attached.

Original issue reported on code.google.com by [email protected] on 27 Jul 2010 at 1:26

Attachments:

Not using all CPU resources when needed, just 1 CPU max

What steps will reproduce the problem?
1. use many encoders
2. look at cpu loading
3. notice that it does not go above 100% on 8 core machine

What is the expected output? What do you see instead?
Above 100% usage when needed

What version of the product are you using? On what operating system?
Latest HEAD

Please provide any additional information below.
The MultiThreadedConnector.cpp does not allow for parallel running of encoders. 
The "MultiThreadedConnector::sinkThread" run in a pipeline, not parallel, which 
is easily fixed.

Every encoder (consumer) does a :
pthread_mutex_lock(&mutexProduce);

And only releases it when it is done with encoding.
This means only 1 encoder can run at same time.

Also the consumers (MultiThreadedConnector::sinkThread)
send a broadcast report that the PRODUCER HAS DATA ...
This makes no sense to me, also the PRODUCER waits on this signal from 
consumers to indicate that the consumers are finished with work...
This makes no sense semantically to me at least. You would use 2 condition 
variables for this:
1) report to all consumers via broadcast that data is available. condVarProducer
2) report to producer that one consumer has finished, the producer can keep 
score on when everyone is done

I am not including a fix right now, but will be fixing this soon.

Original issue reported on code.google.com by oetelaar.automatisering on 13 Mar 2011 at 9:25

darkice 0.19-1ubuntu3 after some time begins to use much processor time

What steps will reproduce the problem?
1. run it in ubuntu in desktop user
2. wait several days, and additionally maybe needed: switch users, make swap 
file to increase
3. total processor usage becomes 100%, system monitor shows that darkice uses 
near 40%

What is the expected output? What do you see instead?
should use little processor time, like 5%

What version of the product are you using? On what operating system?
0.19-1ubuntu3, ubuntu 9.10

Please provide any additional information below.
icecast server, darkice runs from icecast's etc/init.d file, but runs with 
desktop user . darkice uses pulse audio. [manually] running killal darkice , 
then darkice fixes problem

Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 6:12

Broken on OpenBSD

A few things i notice:

1)

you use pselect() which OpenBSD does not seem to have implemented. This is 
probably not your fault, but a workaround should be found. I was able to 
compile by using select() and converting timespec structs to timeval structs

2) Once I have a build and set a stream for /dev/audio I get the following 
crash:

(gdb) run -v10 -c /opt/darkice/etc/darkice.cfg
Starting program: /opt/darkice/bin/darkice -v10 -c /opt/darkice/etc/darkice.cfg
DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2010, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it 
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /opt/darkice/etc/darkice.cfg
11-Nov-2010 13:37:57 Using Solaris DSP input device: /dev/audio
11-Nov-2010 13:37:57 encoding
11-Nov-2010 13:37:57 POSIX scheduling not supported on this system, this may 
cause recording skips

Program received signal SIGBUS, Bus error.
0x00000000001285c4 in TcpSocket::open (this=0x20ef06c80) at TcpSocket.cpp:232
232         addr.sin_addr.s_addr = *((long*) pHostEntry->h_addr_list[0]);
(gdb) bt
#0  0x00000000001285c4 in TcpSocket::open (this=0x20ef06c80)
    at TcpSocket.cpp:232
#1  0x0000000000107ce0 in BufferedSink::open (this=0x206d20680)
    at BufferedSink.h:309
#2  0x00000000001084dc in CastSink::open (this=0x20c89a900) at CastSink.cpp:121
#3  0x0000000000122c7c in VorbisLibEncoder::open (this=0x2068fc400)
    at VorbisLibEncoder.cpp:149
#4  0x000000000010d5b0 in Connector::open (this=0x206d20c40)
    at Connector.cpp:229
#5  0x0000000000110ef0 in MultiThreadedConnector::open (this=0x206d20c00)
    at MultiThreadedConnector.cpp:153
#6  0x0000000000117a7c in DarkIce::encode (this=0x2095f1000)
    at DarkIce.cpp:1186
#7  0x0000000000117eb0 in DarkIce::run (this=0x2095f1000) at DarkIce.cpp:1216
#8  0x000000000012e88c in main (argc=4, argv=0xffffffffffff1d18)
    at main.cpp:159

Needs some love on OpenBSD it seems.

This is a sparc64 machine.

Cheers

Original issue reported on code.google.com by [email protected] on 11 Nov 2010 at 1:45

Code review request

From: Sergiy" <piratfm (AT) gmail (DOT) com>

Hi, again.
Here is patch for vorbis-encoder, that implements sample-rate
conversion through libsamplerate.
At the hearing it noticeably cleaner than aflibConverter.

Please, test it, if it's really better, I will implement it also for
aac/aac+ too.

Also at line 122 of patched src/VorbisLibEncoder.cpp you find, that
quality set to SRC_SINC_FASTEST,
but you can try SRC_SINC_BEST_QUALITY - it's slower, but high
frequencies is not so degrade as with faster methods.





Original issue reported on code.google.com by [email protected] on 9 Dec 2009 at 1:44

Ogg dump file headers

What steps will reproduce the problem?
1. Use either fileDump =/dir/file.ogg or [file-x] to store a dump file of 
the stream
2. use the kill -s USR1 to cut to a new file via cron job to split files 
into segments

What is the expected output? What do you see instead?
ogg files playable via download or embedded player.

The first file that is created from the initial run of DarkIce is fine, 
after the first instance of kill -s USR the ogg files stored are not 
playable due to missing ogg headers.


What version of the product are you using? On what operating system?
0.18.1
0.19.1

KMint Elyssa
KMint Helena

Please provide any additional information below.

Need to add in the function to re-save the ogg headers on SIGUSR1 if 
using the fileDump or [file-x] options.

MP3 stored/saved files are fine.
.

Original issue reported on code.google.com by [email protected] on 22 Mar 2010 at 5:36

make fails with ubuntu 9.10 g++ 4.4.1

I can not compile darkice no more on ubuntu 9.10 witch uses g++ 4.4.1.
make fails with:

Util.cpp: In static member function ‘static char* Util::fileAddDate(const
char*, const char*)’:
Util.cpp:311: error: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [Util.o] Error 1

I tried both 0.19 anf 0.20 versions. 

I think it's g++ problem but do not know how to fix it...


Original issue reported on code.google.com by [email protected] on 10 Nov 2009 at 8:01

Darkice compile fails on Ubuntu 9.04

What steps will reproduce the problem?
1. configure with ./configure --with-lame
--with-vorbis-prefix=/usr/local/lib

2. make 

What is the expected output?

Expected successful compile

What do you see instead?

make ends with following error:

JackDspSource.cpp: In member function ‘void JackDspSource::strip()’:
JackDspSource.cpp:129: error: ‘free’ was not declared in this scope
JackDspSource.cpp: In member function ‘void JackDspSource::do_auto_connect
()’:
JackDspSource.cpp:171: error: ‘free’ was not declared in this scope
JackDspSource.cpp: In member function ‘virtual unsigned int
JackDspSource::read(void*, unsigned int)’:
JackDspSource.cpp:340: error: ‘realloc’ was not declared in this scope
JackDspSource.cpp:367: error: ‘SHRT_MAX’ was not declared in this scope
JackDspSource.cpp:369: error: ‘SHRT_MIN’ was not declared in this scope
make[2]: *** [JackDspSource.o] Error 1
make[2]: Leaving directory `/home/rdadmin/Rivendell/src/darkice-0.19/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rdadmin/Rivendell/src/darkice-0.19/src'
make: *** [all-recursive] Error 1


What version of the product are you using? On what operating system?

darkice-0.19 on Ubuntu 9.04

Please provide any additional information below.




Original issue reported on code.google.com by [email protected] on 30 Jul 2009 at 5:38

failed to write to ring ruffer

Darkice crashes after a few days claiming many lines of 
"failed to write to ring ruffer"
We are broadcasting 3 different outputs of different bitratio, the input is
from jack source. 


What version of the product are you using? On what operating system?
DarkIce 0.20.1, Ubuntu Feisty

Please provide any additional information below.
    [general]
    duration        = 0
    bufferSecs      = 10
    reconnect       = yes

    [input]
    device          = jack_auto
    sampleRate      = 44100     
    bitsPerSample   = 16        
    channel         = 2        

    [icecast2-0]
    bitrateMode     = abr
    format          = mp3
    bitrate         = 96
    server          = stream.xxx.org.uk
    port            = 8000
    password        = xxx
    mountPoint      = xxx_high.mp3
    name            = xxx
    description     = xxx
    url             = http://www.xxx.org.uk
    genre           = music
    public          = yes

    [icecast2-1]
    bitrateMode     = abr
    format          = mp3
    bitrate         = 32
    server          = stream.xxx.org.uk
    port            = 8000
    password        = xxx
    mountPoint      = xxx_low.mp3
    name            = xxx
    description     = xxx
    url             = http://www.xxx.org.uk
    genre           = music
    public          = yes

    [icecast2-2]
    bitrateMode     = abr
    format          = mp3
    bitrate         = 16
    server          = stream.xxx.org.uk
    port            = 8000
    password        = xxxx
    mountPoint      = xxx_punk.mp3
    name            = xxx
    description     = xxx
    url             = http://www.xxx.org.uk
    genre           = music
    public          = yes


/usr/local/bin/jackd -Z -v -d oss -r 44100 -p 4096 -w 16 -i 2





Original issue reported on code.google.com by [email protected] on 14 Dec 2009 at 12:27

Error on make

What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?

Error on compilation :
g++ -DHAVE_CONFIG_H -I.    -O2 -pedantic -Wall   -g -O2 -MT SerialUlaw.o
-MD -MP -MF .deps/SerialUlaw.Tpo -c -o SerialUlaw.o SerialUlaw.cpp
SerialUlaw.cpp: In member function ‘virtual unsigned int
SerialUlaw::read(void*, unsigned int)’:
SerialUlaw.cpp:296: error: ‘perror’ was not declared in this scope
make[2]: *** [SerialUlaw.o] Erreur 1
make[2]: quittant le répertoire « /tmp/darkice/darkice-0.20.1/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /tmp/darkice/darkice-0.20.1/src »
make: *** [all-recursive] Erreur 1



What version of the product are you using? On what operating system?
Darkice 0.20.1, ubuntu 9.10, gcc 4.4


Please provide any additional information below.

gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.1-4ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) 

Original issue reported on code.google.com by [email protected] on 1 Dec 2009 at 10:31

Segmentation Fault when creating file with fileAddDate

What steps will reproduce the problem?
1. configure localDumpFile
2. add the option fileAddDate to the corresponding section
3. run darkice

What is the expected output?

madjester@voidwalker:~/Code/darkice-0.20.1$ darkice -c ~/dark.cfgDarkIce 0.20.1 
live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: /home/madjester/dark.cfg
Using ALSA DSP input device: ice1712_ch56
Using POSIX real-time scheduling, priority 98

What do you see instead?

The same but darkice exits immediately and dumps core (segmentation fault).

What version of the product are you using? On what operating system?
I am using darkice 0.20.1 on ubuntu karmic.

Please provide any additional information below.
I have attached a patch.

Enjoy!

Original issue reported on code.google.com by [email protected] on 8 Aug 2010 at 8:22

Attachments:

Split Stereo input to TWO SEPARATE feeds

Enhancement request:

The ability to take a stereo input, Left and Right channels and encode them in 
MP3 and Ogg to SEPARATE FEEDS on the IceCast server.

the input section would have:

channel =2

The feeds sections would be like:

[icecast2-0]

various options
mountPoint = radio1
channel = 1, L

This would feed ONE channel, the LEFT channel to the defined mountpoint

[icecast2-1]
mountPoint = radio2
channel = 1, R

This would feed ONE channel, the RIGT channel to the defined mountpoint

I also might decide to feed a JOINT stereo feed

mountPoint = radio1andradio2
channel = 2

This would be a great help to those of us using DarkIce to encode live public 
safety radios. This allows each sound card to feed 2 SEPARATE feeds thus no 
need for the user to use the balance control to select sides.

Original issue reported on code.google.com by [email protected] on 10 Aug 2010 at 2:16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.