From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Florian Schmidt <mista.tapas@gmx.net>,
Shaya Potter <spotter@cs.columbia.edu>,
Clemens Ladisch <clemens@ladisch.de>,
Mauro Romano Trajber <trajber@terra.com.br>,
ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Re: [Alsa-user] AD1985 full-duplex(?)
Date: Thu, 19 Aug 2004 11:46:46 +0200 [thread overview]
Message-ID: <s5h8ycbv4s9.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0408191050220.1779@pnote.perex-int.cz>
At Thu, 19 Aug 2004 10:58:04 +0200 (CEST),
Jaroslav wrote:
>
> On Wed, 18 Aug 2004, Florian Schmidt wrote:
>
> > > Also at this time, nobody helped me to improve the liboss (aoss) code
> > > in some serious way. I ask why? Nobody uses it? Nobody wants this
> > > layer fully functional?
> >
> > Hmm, you went on to make a wrapper for which the apps need to be changed
> > at source code level. This is an option which is often not available
> > [old games with makers who are broke whatever, closed source app where
> > the vendor just refuses to fix it at all, etc.]. This is why i don't
> > have any interest in improving it. I do have interest in improving aoss
> > though wrt the traditional LD_PRELOAD hack..
> >
> > But fixing the mmap issue was over my head [sorry], so i didn't go after
> > it further.
>
> Yep, but most bug reports are for quake or similar games. I don't play
> them and also I don't have useable supported hardware with the OpenGL, so
> I cannot test them. If you trace the code (I think that open source
> variants have similar OSS code) and create a simple test utility which can
> be run from the command line, I'll try to fix aoss.
Sigh, quake is always a bad boy...
> > > I have another idea how we can solve this issue - a network sound
> > > driver, but this will add the scheduling problems including the
> > > throughput of the network layer, of course.
> > >
> > > > 3] the user has to edit configuration files, which is a showstopper
> > > > for newbies and people who have never had to follow a rigorous
> > > > syntax.
> > >
> > > It's not a goal. In 90% of cases, you may simply use plug:dmix device
> > > which is already defined in the global configuration files.
> >
> > yes, you're right. Btw: i also think there needs to be a predefined asym
> > device which makes fullduplex access available for nultiple apps, too..
>
> I agree. Do you have a nice idea for the PCM name? My ideas:
>
> mix
I like this one.
> xmulti (we have already multi plugin)
> shs (SHared Stream)
> shd (SHared Device)
>
> ???
>
> > > > I would suggest writing another "dummy" soundcard module which would
> > > > sit "ontop" of the normal alsa driver and which does nothing but
> > > > provide sw mixing access [including the needed resampling and
> > > > mixing].
> > >
> > > It's not easy task and again, do we need to code it in the kernel
> > > space? Benefits? Target users?
> > >
> > > I think that we should provide the functionality (mixing) for all
> > > APIs, but the latency issues which mixing might invoke are not a
> > > serious problem. It's similar to graphics cards. You'll get better
> > > results with an accelerator (in case of sound with hardware having the
> > > mixing capability).
> > >
> >
> > Yes. I just am not sure what is easier:
> >
> > a] fixing aoss to support all legacy oss apps [even those which cannot
> > be changed at source code level]
> >
> > b] create a kernel module like the beforementioned which would just
> > eliminate the issue for most users since they can just use the kernel
> > level oss emu..
>
> My plan is fix aoss and create a network sound device inside kernel, so we
> can reroute OSS streams from kernel to userspace, too.
Can "network sound device" work with the mmap, too?
Takashi
-------------------------------------------------------
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
next prev parent reply other threads:[~2004-08-19 9:48 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.HPX.4.33n.0408181538550.24798-100000@studcom.urz.uni-halle.de>
[not found] ` <1092842830.13603.3.camel@localhost.localdomain>
[not found] ` <20040818181350.2b38e875@mango.fruits.de>
2004-08-18 17:37 ` [Alsa-user] AD1985 full-duplex(?) Jaroslav Kysela
2004-08-18 18:15 ` Florian Schmidt
2004-08-19 8:58 ` Jaroslav Kysela
2004-08-19 9:46 ` Takashi Iwai [this message]
2004-08-19 10:28 ` Jaroslav Kysela
2004-08-23 11:36 ` Adam Tlałka
2004-08-23 11:54 ` Jaroslav Kysela
2004-08-23 12:34 ` Adam Tlałka
2004-08-23 14:39 ` Jaroslav Kysela
2004-08-24 6:01 ` Adam Tla/lka
2004-08-23 15:30 ` Takashi Iwai
2004-08-28 19:10 ` Adam Tlałka
2004-08-29 9:54 ` Jaroslav Kysela
2004-08-29 18:35 ` Adam Tlałka
2004-08-31 8:09 ` Jaroslav Kysela
2004-08-19 9:48 ` Florian Schmidt
2004-08-20 10:58 ` Jaroslav Kysela
2004-08-31 8:52 Peter Zubaj
2004-08-31 9:39 ` Jaroslav Kysela
2004-09-06 20:45 ` Adam Tla/lka
2004-09-07 9:05 ` Jaroslav Kysela
2004-09-07 10:34 ` Adam Tla/lka
2004-09-07 13:23 ` Paul Davis
2004-09-07 13:40 ` Jaroslav Kysela
2004-09-08 17:15 ` Adam Tla/lka
[not found] ` <20040909122253.GE4584@sunrise.pg.gda.pl>
[not found] ` <Pine.LNX.4.58.0409091728420.4150@server.perex-int.cz>
2004-09-10 6:46 ` Adam Tla/lka
2004-09-09 5:52 ` Adam Tla/lka
2004-09-09 12:59 ` Paul Davis
2004-09-09 13:28 ` Adam Tla/lka
2004-09-09 15:14 ` Jaroslav Kysela
2004-09-10 7:16 ` Adam Tla/lka
2004-09-10 11:44 ` Paul Davis
2004-09-10 19:04 ` Adam Tla/lka
2004-09-13 13:05 ` Paul Davis
2004-09-13 17:24 ` Adam Tla/lka
2004-09-26 22:21 ` Adam Tlałka
2004-09-27 3:00 ` Paul Davis
2004-09-27 6:38 ` Adam Tlałka
2004-09-27 12:43 ` Jaroslav Kysela
2004-09-28 5:11 ` Adam Tlałka
2004-09-28 14:47 ` Paul Davis
2004-09-29 5:51 ` Adam Tlałka
2004-09-27 20:14 ` Paul Davis
2004-09-28 6:10 ` Adam Tlałka
[not found] <200409281113.i8SBDo5U021462@localhost.localdomain>
2004-09-28 13:22 ` Adam Tlałka
2004-09-28 14:48 ` Jaroslav Kysela
2004-09-28 14:57 ` Paul Davis
2004-09-28 15:21 ` Takashi Iwai
2004-09-29 6:15 ` Adam Tlałka
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=s5h8ycbv4s9.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=mista.tapas@gmx.net \
--cc=perex@suse.cz \
--cc=spotter@cs.columbia.edu \
--cc=trajber@terra.com.br \
/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.