pkgsrc/audio/liveice/patches/patch-ae
hubertf 39db9bb39e Add liveice-0.20001121:
LiveIce is the source client for Icecast which encodes an mpeg
stream for broadcast as it is created. Unlike clients such as Shout
and IceDJ this permits the broadcast of live audio, rather than
prerecorded mp3's.

To start:
 0. start icecast
 1. find $HOME/mp3 -type f >playlist
 2. liveiceconfigure.tk, save
 3. In /bin/sh: liveice -M 2>/dev/null
2000-11-21 06:01:49 +00:00

25 lines
810 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2000/11/21 06:01:49 hubertf Exp $
--- setup.c.orig Wed May 24 15:50:02 2000
+++ setup.c
@@ -38,7 +38,11 @@
char default_mountpoint[] = "liveice";
char default_description[] = "LiveIce";
char default_pipe_directory[] = ".liveice_temp_files";
+#ifdef __NetBSD__
+char default_sound_input_file[] = "/dev/sound";
+#else
char default_sound_input_file[] = "/dev/dsp";
+#endif
/* default encoder commands */
char AJ_encoder_command[] = "encoder";
@@ -46,7 +50,7 @@
char MP3ENC_encoder_command[] = "mp3enc";
char SCREAMER_encoder_command[] = "lamer";
char XING_encoder_command[] = "xingmp3enc";
-char LAME3_encoder_command[] = "lame3";
+char LAME3_encoder_command[] = "lame";
char GOGO_encoder_command[] = "gogo";
static int in_stream_set;