[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Media players (was: Re: term mode , X etc. )

Hi Kalyan,

Kalyan Mukherjea writes ("Media players (was: Re: term mode , X etc. )"):
> It asks for a media file and then (if auditory icons are on)
> produces a sound like an asthma patient struggling to breathe
> alternating with one of the `ding' sounds from the auditory icons

I also noticed some interaction between mplayer and the auditory
icons, if no "quiet" options are given to mplayer. I therefore disable
them in the mode-hook for emacspeak-m-player.

> I finallly realized that there is an output left in the m-player-mode
> buffer.
> ...
> AF_pre: 44100Hz/2ch/s16le
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
> AO: [null] 44100Hz 2ch s16le (2 bps)
> Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
> Video: no video
 > ...
> Looks like this version does not know how to use alsa.

Indeed, there seems to be a sound output problem. Try requesting alsa
playback explicitly. I put my mplayer config file at the end. It does
that. Put it in ~/.mplayer/config. Note that really-quiet is off,
because you need output for debugging.

Best regards, Lukas

# Config options for mplayer. See mplayer manpage.
# No video on the console

# Use alsa for audio playback

# cache settings
cache = 1024
# Prefill 10% of the cache before starting playback.
cache-min = 10.0
# Prefill 50% of the cache before restarting playback after the cache emptied.
cache-seek-min = 50

# Do not print useless stuff

To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"

Emacspeak Files | Subscribe | Unsubscribe | Search