From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199712051358.HAA24034@dfw-ix13.ix.netcom.com> Date: Sat, 6 Dec 1997 02:57:09 +0100 (MET) From: Andreas Johansson Subject: Re: Sources for audio-related programs In-Reply-To: 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 #include -/* #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