* ATI IXP hardware mixing
@ 2006-09-14 14:19 Zephiris
2006-09-14 14:58 ` Lee Revell
0 siblings, 1 reply; 7+ messages in thread
From: Zephiris @ 2006-09-14 14:19 UTC (permalink / raw)
To: alsa-devel
Since people in ALSA devel channel won't answer, I'll have to ask on
mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
hardware mixing. The hardware supports it, FreeBSD and Windows support it,
and all I want is to know is what to change in the source that needs to
support it, since several glances through the source and brief API docs, as
well as mailing lists, etc, don't reveal effectively nothing supporting
hardware mixing at all.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 14:19 ATI IXP hardware mixing Zephiris
@ 2006-09-14 14:58 ` Lee Revell
2006-09-14 15:16 ` Zephiris
0 siblings, 1 reply; 7+ messages in thread
From: Lee Revell @ 2006-09-14 14:58 UTC (permalink / raw)
To: Zephiris; +Cc: alsa-devel
On Thu, 2006-09-14 at 07:19 -0700, Zephiris wrote:
> Since people in ALSA devel channel won't answer, I'll have to ask on
> mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
> hardware mixing. The hardware supports it, FreeBSD and Windows support it,
> and all I want is to know is what to change in the source that needs to
> support it, since several glances through the source and brief API docs, as
> well as mailing lists, etc, don't reveal effectively nothing supporting
> hardware mixing at all.
How do you know the device is capable of hardware mixing?
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 14:58 ` Lee Revell
@ 2006-09-14 15:16 ` Zephiris
2006-09-14 15:29 ` Lee Revell
0 siblings, 1 reply; 7+ messages in thread
From: Zephiris @ 2006-09-14 15:16 UTC (permalink / raw)
To: alsa-devel
Lee Revell wrote:
> On Thu, 2006-09-14 at 07:19 -0700, Zephiris wrote:
>> Since people in ALSA devel channel won't answer, I'll have to ask on
>> mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
>> hardware mixing. The hardware supports it, FreeBSD and Windows support
>> it, and all I want is to know is what to change in the source that needs
>> to support it, since several glances through the source and brief API
>> docs, as well as mailing lists, etc, don't reveal effectively nothing
>> supporting hardware mixing at all.
>
> How do you know the device is capable of hardware mixing?
>
> Lee
>
>
Other operating systems support hardware mixing on it. FreeBSD reportedly
does, Windows definitely does (yay for hardware acceleration of DS/DS3D,
too; up to 26 streams) and I didn't ask 'if' it does, I asked how to try to
work with hardware mixing in ALSA. Documentation, general walk-through of
the steps required in difference to non-hardware mixed, anything, please?
I've been getting short-changed on answers so far (and was previously
stonewalled on AU8830 support, back when people in ALSA channels cheerily
claimed you couldn't get hardware mixing on that, either), and it's getting
frustrating. I'm not asking for a lecture on "you can't do that because
it's not status quo", but merely how to implement such changes in the
source code.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 15:16 ` Zephiris
@ 2006-09-14 15:29 ` Lee Revell
2006-09-14 15:47 ` Zephiris
0 siblings, 1 reply; 7+ messages in thread
From: Lee Revell @ 2006-09-14 15:29 UTC (permalink / raw)
To: Zephiris; +Cc: alsa-devel
On Thu, 2006-09-14 at 08:16 -0700, Zephiris wrote:
> Lee Revell wrote:
>
> > On Thu, 2006-09-14 at 07:19 -0700, Zephiris wrote:
> >> Since people in ALSA devel channel won't answer, I'll have to ask on
> >> mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
> >> hardware mixing. The hardware supports it, FreeBSD and Windows support
> >> it, and all I want is to know is what to change in the source that needs
> >> to support it, since several glances through the source and brief API
> >> docs, as well as mailing lists, etc, don't reveal effectively nothing
> >> supporting hardware mixing at all.
> >
> > How do you know the device is capable of hardware mixing?
> >
> > Lee
> >
> >
> Other operating systems support hardware mixing on it. FreeBSD reportedly
> does, Windows definitely does (yay for hardware acceleration of DS/DS3D,
> too; up to 26 streams) and I didn't ask 'if' it does, I asked how to try to
> work with hardware mixing in ALSA. Documentation, general walk-through of
> the steps required in difference to non-hardware mixed, anything, please?
>
> I've been getting short-changed on answers so far (and was previously
> stonewalled on AU8830 support, back when people in ALSA channels cheerily
> claimed you couldn't get hardware mixing on that, either), and it's getting
> frustrating. I'm not asking for a lecture on "you can't do that because
> it's not status quo", but merely how to implement such changes in the
> source code.
Um... if the device can't do hardware mixing, how can changing the
driver help?
Windows and FreeBSD are using software mixing.
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 15:29 ` Lee Revell
@ 2006-09-14 15:47 ` Zephiris
2006-09-14 15:55 ` Lee Revell
2006-09-15 7:28 ` Clemens Ladisch
0 siblings, 2 replies; 7+ messages in thread
From: Zephiris @ 2006-09-14 15:47 UTC (permalink / raw)
To: alsa-devel
Lee Revell wrote:
> On Thu, 2006-09-14 at 08:16 -0700, Zephiris wrote:
>> Lee Revell wrote:
>>
>> > On Thu, 2006-09-14 at 07:19 -0700, Zephiris wrote:
>> >> Since people in ALSA devel channel won't answer, I'll have to ask on
>> >> mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
>> >> hardware mixing. The hardware supports it, FreeBSD and Windows support
>> >> it, and all I want is to know is what to change in the source that
>> >> needs to support it, since several glances through the source and
>> >> brief API docs, as well as mailing lists, etc, don't reveal
>> >> effectively nothing supporting hardware mixing at all.
>> >
>> > How do you know the device is capable of hardware mixing?
>> >
>> > Lee
>> >
>> >
>> Other operating systems support hardware mixing on it. FreeBSD reportedly
>> does, Windows definitely does (yay for hardware acceleration of DS/DS3D,
>> too; up to 26 streams) and I didn't ask 'if' it does, I asked how to try
>> to work with hardware mixing in ALSA. Documentation, general walk-through
>> of the steps required in difference to non-hardware mixed, anything,
>> please?
>>
>> I've been getting short-changed on answers so far (and was previously
>> stonewalled on AU8830 support, back when people in ALSA channels cheerily
>> claimed you couldn't get hardware mixing on that, either), and it's
>> getting frustrating. I'm not asking for a lecture on "you can't do that
>> because it's not status quo", but merely how to implement such changes in
>> the source code.
>
> Um... if the device can't do hardware mixing, how can changing the
> driver help?
>
> Windows and FreeBSD are using software mixing.
>
> Lee
People associated with ALSA have been daft enough to say that before about
sound cards that had exquisite hardware mixing, is it really too much to
ask for a simple parcel of information that appears to be omitted from the
documentation I can find for ALSA? I swear, if the consistently
condescending/fek-you attitude from ALSA over many years is any indication,
no wonder it moves like slag compared to other sound drivers and almost
never gets reasonably "full" support for any particular chipset. -_-
I already said I wasn't looking for more statements of non-support, but just
how such things have to be done in the source code. People should really
read once and a while.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 15:47 ` Zephiris
@ 2006-09-14 15:55 ` Lee Revell
2006-09-15 7:28 ` Clemens Ladisch
1 sibling, 0 replies; 7+ messages in thread
From: Lee Revell @ 2006-09-14 15:55 UTC (permalink / raw)
To: Zephiris; +Cc: alsa-devel
On Thu, 2006-09-14 at 08:47 -0700, Zephiris wrote:
> Lee Revell wrote:
>
> > On Thu, 2006-09-14 at 08:16 -0700, Zephiris wrote:
> >> Lee Revell wrote:
> >>
> >> > On Thu, 2006-09-14 at 07:19 -0700, Zephiris wrote:
> >> >> Since people in ALSA devel channel won't answer, I'll have to ask on
> >> >> mailing-list/newsgroup. I'm trying to get the ATI IXP driver to use
> >> >> hardware mixing. The hardware supports it, FreeBSD and Windows support
> >> >> it, and all I want is to know is what to change in the source that
> >> >> needs to support it, since several glances through the source and
> >> >> brief API docs, as well as mailing lists, etc, don't reveal
> >> >> effectively nothing supporting hardware mixing at all.
> >> >
> >> > How do you know the device is capable of hardware mixing?
> >> >
> >> > Lee
> >> >
> >> >
> >> Other operating systems support hardware mixing on it. FreeBSD reportedly
> >> does, Windows definitely does (yay for hardware acceleration of DS/DS3D,
> >> too; up to 26 streams) and I didn't ask 'if' it does, I asked how to try
> >> to work with hardware mixing in ALSA. Documentation, general walk-through
> >> of the steps required in difference to non-hardware mixed, anything,
> >> please?
> >>
> >> I've been getting short-changed on answers so far (and was previously
> >> stonewalled on AU8830 support, back when people in ALSA channels cheerily
> >> claimed you couldn't get hardware mixing on that, either), and it's
> >> getting frustrating. I'm not asking for a lecture on "you can't do that
> >> because it's not status quo", but merely how to implement such changes in
> >> the source code.
> >
> > Um... if the device can't do hardware mixing, how can changing the
> > driver help?
> >
> > Windows and FreeBSD are using software mixing.
> >
> > Lee
>
> People associated with ALSA have been daft enough to say that before about
> sound cards that had exquisite hardware mixing, is it really too much to
> ask for a simple parcel of information that appears to be omitted from the
> documentation I can find for ALSA?
Simple parcel of information? Sorry, there's no way to make kernel
driver development simple. This is not end user stuff.
> I swear, if the consistently
> condescending/fek-you attitude from ALSA over many years is any indication,
> no wonder it moves like slag compared to other sound drivers and almost
> never gets reasonably "full" support for any particular chipset. -_-
>
I don't know who told you that about AU8830 (which certainly does have
hardware mixing). But ATIIXP certainly does not have hardware mixing.
You still won't say why you think it does.
> I already said I wasn't looking for more statements of non-support, but just
> how such things have to be done in the source code. People should really
> read once and a while.
Look at the emu10k1 driver and this document:
http://www.alsa-project.org/~iwai/writing-an-alsa-driver/c436.htm
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ATI IXP hardware mixing
2006-09-14 15:47 ` Zephiris
2006-09-14 15:55 ` Lee Revell
@ 2006-09-15 7:28 ` Clemens Ladisch
1 sibling, 0 replies; 7+ messages in thread
From: Clemens Ladisch @ 2006-09-15 7:28 UTC (permalink / raw)
To: Zephiris, alsa-devel
Zephiris wrote:
> I'm trying to get the ATI IXP driver to use hardware mixing.
> [...] all I want is to know is what to change in the source that needs
> to support it, since several glances through the source and brief API
> docs, as well as mailing lists, etc, don't reveal effectively nothing
> supporting hardware mixing at all.
It's documented in the description of snd_pcm_new() in the section
"Constructors":
| The fourth and fifth arguments are the number of substreams for
| playback and capture, respectively. [...]
| If a chip supports multiple playbacks or captures, you can specify
| more numbers, but they must be handled properly in open/close, etc.
| callbacks. When you need to know which substream you are referring to,
| then it can be obtained from struct snd_pcm_substream data passed to
| each callback as follows:
|
| struct snd_pcm_substream *substream;
| int index = substream->number;
Then you have to use that index to access the corresponding DMA engine
of the hardware.
Regards,
Clemens
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-09-15 7:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 14:19 ATI IXP hardware mixing Zephiris
2006-09-14 14:58 ` Lee Revell
2006-09-14 15:16 ` Zephiris
2006-09-14 15:29 ` Lee Revell
2006-09-14 15:47 ` Zephiris
2006-09-14 15:55 ` Lee Revell
2006-09-15 7:28 ` Clemens Ladisch
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.