From: Andreas Johansson <ajo@wopr.campus.luth.se>
Subject: Re: Sources for audio-related programs
Date: Sat, 6 Dec 1997 02:57:09 +0100 (MET) [thread overview]
Message-ID: <e045652a7bebcb82d4d61a2a9c8ef445.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.96.971206022114.239A-100000@octavia.wopr>
On Sat, 6 Dec 1997, Joakim Roubert wrote:
> Hi!
>
> I'm searching for the following sources that will compile for Alpha-Linux:
>
> splay - or similar
mpg123-0.59k compiles right out of box I think. I made Makefile entries
for Linux-alpha, and I have also changed mpg123.c so that it will set
higher priority on the player if mpg123 is suid root. I also have a
default buffer of 1024k. Just skip the mpg123.c patch if you don't want
any of these features.
Here's my diff:
---------------------------------- snip ----------------------------------
diff -urN --exclude *.[osS] --exclude DEADJOE --exclude PROFILE --exclude jukebox --exclude jukebox-1.06-dir mpg123-0.59k/Makefile mpg123-0.59k-alpha/Makefile
--- mpg123-0.59k/Makefile Sun Jul 13 08:44:41 1997
+++ mpg123-0.59k-alpha/Makefile Sat Dec 6 02:35:30 1997
@@ -20,6 +20,7 @@
@echo "You must specify the system which you want to compile for:"
@echo ""
@echo "make linux Linux"
+ @echo "make linux-alpha Linux/alpha"
@echo "make freebsd FreeBSD"
@echo "make solaris Solaris 2.x (tested: 2.5 and 2.5.1) using SparcWorks cc"
@echo "make solaris-gcc Solaris 2.x using GNU cc (somewhat slower)"
@@ -51,6 +52,14 @@
-finline-functions -ffast-math' \
mpg123
+linux-alpha-profile:
+ $(MAKE) OBJECTS='decode_i386.o dct64_i386.o' \
+ CC=gcc LDFLAGS='-pg -static' \
+ CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -O2 -pg\
+ -funroll-all-loops \
+ -finline-functions -ffast-math' \
+ mpg123
+
linux:
$(MAKE) CC=gcc LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o getbits.o' \
@@ -59,11 +68,27 @@
-finline-functions -ffast-math' \
mpg123
+linux-alpha:
+ $(MAKE) CC=gcc LDFLAGS= \
+ OBJECTS='decode_i386.o dct64_i386.o' \
+ CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -O2 \
+ -funroll-all-loops \
+ -finline-functions -ffast-math' \
+ mpg123
+
linux-sajber:
$(MAKE) CC=gcc LDFLAGS= \
- OBJECTS='decode_i386.o dct64_i386.o getbits.o control.o' \
+ OBJECTS='decode_i386.o dct64_i386.o getbits.s control.o' \
CFLAGS='-DFRONTEND -DI386_ASSEM -DREAL_IS_FLOAT -DLINUX -Wall -O2 -m486\
-fomit-frame-pointer -funroll-all-loops \
+ -finline-functions -ffast-math' \
+ sajberplay
+
+linux-alpha-sajber:
+ $(MAKE) CC=gcc LDFLAGS= \
+ OBJECTS='decode_i386.o dct64_i386.o control.o' \
+ CFLAGS='-DFRONTEND -DREAL_IS_FLOAT -DLINUX -Wall -O2\
+ -funroll-all-loops \
-finline-functions -ffast-math' \
sajberplay
diff -urN --exclude *.[osS] --exclude DEADJOE --exclude PROFILE --exclude jukebox --exclude jukebox-1.06-dir mpg123-0.59k/mpg123.c mpg123-0.59k-alpha/mpg123.c
--- mpg123-0.59k/mpg123.c Sun Jul 13 09:03:29 1997
+++ mpg123-0.59k-alpha/mpg123.c Fri Oct 31 22:38:01 1997
@@ -12,7 +12,7 @@
#include <sys/time.h>
#include <sys/resource.h>
-/* #define SET_PRIO */
+#define SET_PRIO
#include "mpg123.h"
#include "getlopt.h"
@@ -46,7 +46,7 @@
int force_frequency = -1;
long numframes = -1;
long startFrame= 0;
-int usebuffer = 0;
+int usebuffer = 1024;
int frontend_type = 0;
int remote = 0;
int buffer_fd[2];
---------------------------------- snip ----------------------------------
There is also a binary at:
ftp://wopr.campus.luth.se/pub/axp/mpg123-0.59k
> cdp - or similar
Haven't looked at cdp, but I know cdplay works (noninteractive version of
cdp), atleast in mustang.
I have xplaycd working with a small patch to the multimedia rpm.
(uninitialized variable in the McTools library).
ftp://wopr.campus.luth.se/pub/glibc-2.0.3/diffs/multimedia*
Unpack the multimedia rpm, put the two patches in /usr/src/redhat/SOURCES
and overwrite the /usr/src/redhat/SPECS/multimedia-2.1.spec file with my
version. This should do the trick (I hope).
> aumixer - or similar
The Red Hat aumix works in my console (though not in xterm since they use
a lot of noniso chars). Again, I'm using the mustang distrib.
> /Jokke tmw.
Hope you find some answers there.
/Andreas
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-12-06 1:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.96.971206022114.239A-100000@octavia.wopr>
1997-12-06 1:57 ` Andreas Johansson [this message]
[not found] <Pine.LNX.3.95.971206145723.3000A-100000@pluto.campus.luth.se>
1997-12-07 3:30 ` Sources for audio-related programs Joakim Roubert
[not found] <Pine.LNX.3.96.971206144209.8397A-100000@octavia.wopr>
1997-12-06 14:04 ` Andreas Johansson
[not found] <Pine.LNX.3.96.971206125608.9942B-100000@wopr.campus.luth.se>
1997-12-06 13:43 ` Joakim Roubert
[not found] <Pine.LNX.3.96.971206124109.5930B-100000@octavia.wopr>
1997-12-06 11:57 ` Andreas Johansson
[not found] <Pine.LNX.3.96.971206022929.7750A-100000@wopr.campus.luth.se>
1997-12-06 10:49 ` Joakim Roubert
1997-12-06 11:43 ` Joakim Roubert
1997-12-06 16:44 ` Joakim Roubert
1997-12-06 1:22 Joakim Roubert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox