You are not logged in.

#26 2007-02-12 22:42:50

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Which method is easiest/best to get programs to play sound. Same time

noriko wrote:

fyi:

flash-plugin has no oss support by default, ou'll need to install libflashsupport.
it doesn't seem to be in the repos, cos someone flagged it out of date.

i posted the pkgbuild~ http://bbs.archlinux.org/viewtopic.php?id=29655 @ the bottom of the page.
i didn't bother changing version or anything, just the depends (fp-beta>fp)

When trying to use that I get this far

$ makepkg
==> Entering fakeroot environment
==> Making package: libflashsupport 9.0.31.0-1 (Mon Feb 12 23:43:47 CET 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found flashsupport.c in build dir
==> Validating source files with MD5sums
    flashsupport.c ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Building libflashsupport
./PKGBUILD: line 18: -march=i686: command not found
==> ERROR: Build Failed.  Aborting...

Why does it do this? :S

Offline

#27 2007-02-13 00:38:53

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

umm, maybe if you block the args.

$CC "$CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so" || return 1


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#28 2007-02-13 10:22:30

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Which method is easiest/best to get programs to play sound. Same time

then I got build command not found :S Am i missing some important dep?

Last edited by Izuil (2007-02-13 10:49:38)

Offline

#29 2007-02-13 12:22:46

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

not that i can imagine.
maybe the copy of the pkgbuild got messed up, it has happened many times to me.

can you post the pkgbuild you are using. ?


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#30 2007-02-13 21:21:55

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Which method is easiest/best to get programs to play sound. Same time

this one at the bottom: http://bbs.archlinux.org/viewtopic.php?id=29655
you posted it on page 1 here

Offline

#31 2007-02-14 13:33:16

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

i know that lol
i meant like pastebin the a copy of urs...
soemtimes when u copy thing the text gets messed up.


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#32 2007-02-14 14:44:59

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Which method is easiest/best to get programs to play sound. Same time

Acid7711 wrote:
iggy wrote:

best method is to use a soundcard that supports hardware-mixing!

I second that. Best and easiest. Heck, you can find a decent card that supports hardware mixing for like $5-$50 used depending on what you wanted.

many newer cards no longer provide hardware mixing, expensive or not....

Offline

#33 2007-02-14 14:55:46

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Which method is easiest/best to get programs to play sound. Same time

oss2jack + jackd can provide the best mixing. Not really easy to setup because its dependent lib 'fusd-kor' has been unmaintained for months and probably incompatible with recent kernels.

the easist is alsa's built-in dmix, no need for setup. But its quality sucks (that's said in their FAQ and mailing-lists)

oss/commercial v4 provides transparent and full-duplex software mixing. The mixing quality is okay, and you would probably get much better sound than in alsa if you're using some cheap onboard card such as via8237.

Offline

#34 2007-02-14 15:16:23

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

@aquila_deus yeh, u point out pretty much the reasons y i use oss ...
alsa's emulation of oss sux, but if i try to use anything to get round like aoss, it either doesn't work or it outputs sound with terrible lag or very poor quality ... i honestly never got a chance to try jackd cos of the fusd-kor dependency as it no longer builds with new kernels.
i gotta admit though, i do prefer alsa's mixing settings capabilities ...


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#35 2007-02-14 16:21:06

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Which method is easiest/best to get programs to play sound. Same time

okey here goes:

# $Id: PKGBUILD,v 1.3 2006/12/01 02:53:31 woody Exp $
# Maintainer: Woody Gilk <woody@archlinux.org>
pkgname=libflashsupport
pkgver=9.0.30.0
pkgrel=1
pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
url="http://www.macromedia.com/software/flashplayer/"
license="custom"

depends=('flashplugin' 'icu' 'openssl')
makedepends=('gcc' 'pkgconfig')
source=(http://www.kaourantin.net/flashplayer/flashsupport.c)
md5sums=('bb8a0de41ba18f9f1fcad7038cacb688')

build() {
    msg "Building libflashsupport"
    cd $startdir/src
    $CC $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so || return 1
    install -D -m755 libflashsupport.so
$startdir/pkg/usr/lib/libflashsupport.so
}

Hehe found a fault in that... edited but now i get this:

./PKGBUILD: line 18: CFLAGS: command not found

hmm edited CFLAGS to cflags and now it says

./PKGBUILD: line 18: -shared: command not found

Last edited by Izuil (2007-02-14 16:37:52)

Offline

#36 2007-02-14 16:40:25

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

well there must be some formatting errors in the text or something,
it fails here as well ...

i've built it with my local pkgbuild;
they're both upload to http://inlane.org/pub/tmp/


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#37 2007-02-14 21:39:38

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Which method is easiest/best to get programs to play sound. Same time

noriko wrote:

@aquila_deus yeh, u point out pretty much the reasons y i use oss ...
alsa's emulation of oss sux, but if i try to use anything to get round like aoss, it either doesn't work or it outputs sound with terrible lag or very poor quality ... i honestly never got a chance to try jackd cos of the fusd-kor dependency as it no longer builds with new kernels.
i gotta admit though, i do prefer alsa's mixing settings capabilities ...

alsa's oss emulation is fine as long as you dont use dmix. It's the driver's problem wink

fusd-kor only needs a few modification, so if you can write c....

Offline

#38 2007-02-14 21:41:17

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: Which method is easiest/best to get programs to play sound. Same time

It calls $CC, which is undefined in arch linux by default.

Replace it with "gcc" or set $CC environment variable to gcc.


Izuil wrote:

okey here goes:

# $Id: PKGBUILD,v 1.3 2006/12/01 02:53:31 woody Exp $
# Maintainer: Woody Gilk <woody@archlinux.org>
pkgname=libflashsupport
pkgver=9.0.30.0
pkgrel=1
pkgdesc="Macromedia flash plugin support lib (OSS SSL)"
url="http://www.macromedia.com/software/flashplayer/"
license="custom"

depends=('flashplugin' 'icu' 'openssl')
makedepends=('gcc' 'pkgconfig')
source=(http://www.kaourantin.net/flashplayer/flashsupport.c)
md5sums=('bb8a0de41ba18f9f1fcad7038cacb688')

build() {
    msg "Building libflashsupport"
    cd $startdir/src
    $CC $CFLAGS -shared -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so || return 1
    install -D -m755 libflashsupport.so
$startdir/pkg/usr/lib/libflashsupport.so
}

Hehe found a fault in that... edited but now i get this:

./PKGBUILD: line 18: CFLAGS: command not found

hmm edited CFLAGS to cflags and now it says

./PKGBUILD: line 18: -shared: command not found

Offline

#39 2007-02-15 20:45:39

Izuil
Member
From: Sweden
Registered: 2006-10-07
Posts: 162

Re: Which method is easiest/best to get programs to play sound. Same time

It still wasn't able to build the package. Well I downloaded Noriko's package and it works great smile

Thanks a lot Noriko!

Offline

#40 2007-02-15 21:19:50

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Which method is easiest/best to get programs to play sound. Same time

np, dunno y i didn't just build it in the first place lol.


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#41 2007-03-05 09:31:26

ekerazha
Member
Registered: 2007-02-27
Posts: 290

Re: Which method is easiest/best to get programs to play sound. Same time

aquila_deus wrote:

the easist is alsa's built-in dmix, no need for setup. But its quality sucks (that's said in their FAQ and mailing-lists)

What about PulseAudio?

Offline

Board footer

Powered by FluxBB