From: Stas Sergeev <stsp@aknet.ru>
To: alsa-devel@lists.sourceforge.net
Subject: [announce] PC-Speaker driver
Date: Thu, 19 Aug 2004 14:56:55 +0400 [thread overview]
Message-ID: <41248777.4010408@aknet.ru> (raw)
Hello.
I have made a PC-Speaker driver for ALSA.
It can be downloaded here:
http://www.geocities.com/stssppnn/pcsp.html
You need to apply 2 patches from that page:
"Kernel patch" and "ALSA driver patch".
That driver makes it possible to use the
internal PC-Speaker as the sound card, and
it produces the sound of a reasonable quality.
That driver still has a few problems which
I wasn't able to resolve yet. Actually it
works very bad with alsa-lib-1.0.3a-2 from
FC2 distro, but with alsa-lib-1.0.6 it works
almost flawlessly here. No problems with ogg123,
mpg123 and some other players I have tested.
Well, a few problems to mention:
- pcm.c test from alsa-lib does't work:
---
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params: params->avail_min problem for start_threshold
pcm: pcm.c:2094: snd_pcm_wait: Assertion `err == 1' failed.
---
Almost certainly an alsa-lib bug. Any
hints about that one?
- dmix doesn't seem to work because it
doesn't seem to support U8 and connecting
dmix->plug causes segmentation fault (I
filled a bug-report for that already).
Is there anything that can be done about
that?
I was trying to keep that driver as simple
as possible, hoping the alsa-lib will do
all the work for me. So now it accepts only
one fixed frequency, one channel and one
format (U8). But I can re-add the mixing/resampling
code that was in the OSS version of that driver
if the alsa-lib can't handle that itself.
My question now is: are there any chances to
get that driver integrated into an ALSA tree,
when all its problems are resolved? The main
problem with it is that it requires adding some
kernel hooks, which is why the driver goes in
2 patches. I expect integrating that hooks
into an official kernel to be very difficult,
but if the ALSA developers to like that driver,
then there are the chances also with the kernel
part, I suppose.
Any suggestions on improving the driver are
appreciated.
Thanks.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
reply other threads:[~2004-08-19 10:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41248777.4010408@aknet.ru \
--to=stsp@aknet.ru \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.