Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 11:51:24 +0400
From:      "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
To:        "Ryan Beasley" <ryanb@FreeBSD.org>
Cc:        current@FreeBSD.org, multimedia@FreeBSD.org
Subject:   RE: [RFC] Summer of Code -- OSSv4 audio compatibility
Message-ID:  <78664C02FF341B4FAC63E561846E3BCC546A@ex.hhp.local>
In-Reply-To: <44EB72FC.8040508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello, current@ & multimedia@!
>=20
> =3D=3D=3D=3D=3D=3D Summary =3D=3D=3D=3D=3D=3D
> I participated in Google's Summer of Code this year, working on adding
> support for 4Front's OSSv4 API.
>=20
> Unfortunately, more of the API specifications were still under
> construction than I expected, so I focused entirely on the audio
> collection of ioctls and maybe just one or two mixer ioctls.  While
> official documentation isn't yet available, the mixer=20
> extensions, which
> are one of the coolest parts of the new API, are my top priority.  (I
> think I now have enough reference material to begin work in=20
> that area.)
>=20
> For information on the ioctls, please take a look at
> http://wiki.freebsd.org/RyanBeasley/ioctlref .
>=20
> =3D=3D=3D=3D=3D=3D Patch Info =3D=3D=3D=3D=3D=3D
> A patch against recent -CURRENT is available at
> http://www.leidinger.net/FreeBSD/sound/rbeasley_sound.diff .
>=20
> Comments, suggestions, etc., would be hugely appreciated!
Ryan, will there be any changes for hardware drivers?

And, as I know you have emu10kx-compatible sound card, can you=20
test your sound buffering changes with EMU_PLAY_BUFSZ set to=20
EMUPAGESIZE*2 or larger (dev/sound/pci/emu10kx.h, line49).

With 4K (=3DEMUPAGESIZE) playback buffer sound does not has lag or lost
samples, but there was problems
with large one
(http://docs.freebsd.org/cgi/mid.cgi?D562966835368E4C8DDF68BC113A97B15F0
643).

On opposite side, with small buffer I have a lot of noise when my system
has a lot of disk activity or kernel printf's.

You can use http://www.linksplace.com/wavsounds/pong.wav as a good
sample of "bad file" for large buffer.

Yuriy.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78664C02FF341B4FAC63E561846E3BCC546A>