[MPlayer-dev-eng] real mmap-support in ao_alsa
ajh at atri.curtin.edu.au
Fri Jul 19 07:00:54 CEST 2002
> ok, just commited new version. mmap supports now also u-signed-8bit
> streams or whatever up to 24chn (interleaved). it was a mistake by me
> calculating frames_len :(.
> feel free to try (test) it.
> On Thu, Jul 18, 2002 at 10:05:01AM +0800, Anders Johansson wrote:
> > Hi,
> > > just finished real-mmap-support for alsa9-plugin. means sound will be
> > > written directly into memory-mapped-audio-buffer. it currently
> > > supports only signed-16-bit streams but it falls back to traditional
> > > write-mode if another format is requested, its the default-mode
> > > anyway.
> > > i think this mmaped-write is a more cleaner architecture cause it
> > > gives back the real value of written frames to mplayer where
> > > normal-write only loop's as long as all frames are written, and returns
> > > always len no matter if they are written or not.
> > Good work! see if you can get float to work as well.
> what do you mean with float?? i guess int to float conversion has to
> be done earlier (in some decoder?). so far i get data only in plain
> ints, i see no reason to do int -> float in ao_alsa. what would be the
> improvements to do so?
I guess alsa doesn't accept floating point data? Too bad, I think this
will be the dominating format within a few years. Some OSS drivers
already supports it.
> i actually started an ao_jack,
Do you have any link to jack?
More information about the MPlayer-dev-eng