You are not logged in.

#1 2006-06-17 17:32:24

suppos
Member
Registered: 2006-01-26
Posts: 3

Sound in Flash

Hi all,

I am having problem with audio and Flash plugin. The video is normal, but the sound is jerky and a is played back at about four times the normal speed.

How should I go about fixing it?

BTW, I have OSS (4front technologies), a Riptide soundcard and Firefox from "current" repository.

Thank you,
   Paul W.

Offline

#2 2006-06-17 18:31:48

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Sound in Flash

Everybody has that problem. Flash on Linux just suck highly. Maybe the next version will be better.


Arch - It's something refreshing

Offline

#3 2006-06-17 19:39:56

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: Sound in Flash

My solution (hopefully a temporary one) is to start firefox through aoss, like so: aoss firefox. Someone on this forum (can't remember who, sorry) posted a script the he used to start firefox, I copied that and put it in the file /usr/bin/firefox:

#!/bin/sh

# This line needs to be maintained or Thunderbird (and
# certain other apps) will not launch links when they
# are clicked on
export MOZILLA_LAUNCHER=firefox

# not correct:
#aoss /usr/libexec/firefox $*
#
# correct:
aoss /opt/mozilla/bin/firefox "$@" 

On my setup /usr/bin is put in the PATH variable before /opt/mozilla/bin, so the firefox script in /usr/bin is found before the firefox script in /opt/mozilla/bin, and executed. That way I didn't have to change anything in my KDE menu and keyboard shortcut.

Offline

#4 2006-06-17 19:51:05

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Sound in Flash

Bebo wrote:

My solution (hopefully a temporary one) is to start firefox through aoss, like so: aoss firefox. Someone on this forum (can't remember who, sorry) posted a script the he used to start firefox, I copied that and put it in the file /usr/bin/firefox:

#!/bin/sh

# This line needs to be maintained or Thunderbird (and
# certain other apps) will not launch links when they
# are clicked on
export MOZILLA_LAUNCHER=firefox

# not correct:
#aoss /usr/libexec/firefox $*
#
# correct:
aoss /opt/mozilla/bin/firefox "$@" 

On my setup /usr/bin is put in the PATH variable before /opt/mozilla/bin, so the firefox script in /usr/bin is found before the firefox script in /opt/mozilla/bin, and executed. That way I didn't have to change anything in my KDE menu and keyboard shortcut.

Why is it, ath I get a deja vu when I read your post.  :?


Arch - It's something refreshing

Offline

#5 2006-06-17 20:12:33

Bebo
Member
From: Göteborg, Sweden
Registered: 2006-06-07
Posts: 207

Re: Sound in Flash

Don't know, I can find two explanations smile That it was your script that I posted, or that everybody asks the same question? smile

Offline

#6 2006-06-18 11:03:38

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Sound in Flash

BTW this thread is duplicating this one.

For me flash sound works best with aoss and firefox or opera. aoss is just a simple script:

#!/bin/sh

# A simple script to facilitate the use of the OSS compatibility library.
# Usage:
#       aoss <command> <command>

if [ -d /proc/asound ]; then
  prefix=/usr
  exec_prefix=${prefix}
  LD_PRELOAD=${exec_prefix}/$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@
"
else
  exec "$@"
fi
exit 1

Offline

#7 2006-06-19 07:27:48

suppos
Member
Registered: 2006-01-26
Posts: 3

Re: Sound in Flash

Tnx for help, it seems to work better.

Will it work with other apps like Skype?

Offline

#8 2006-06-19 11:11:15

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Sound in Flash

You have to try :-)

Offline

Board footer

Powered by FluxBB