lør, 06.03.2004 kl. 11.10 skrev Jaroslav Kysela:
> I also extended the "auto-silence" function in driver in our CVS.
> Now, the code detects the written samples so snd_pcm_start() doesn't
> silence the whole ring buffer in this case.
>
> Here is the patch for driver:
OK, thanks, may be useful for
- Forwarded message from Jaroslav Kysela <[EMAIL PROTECTED]> -
From: Jaroslav Kysela <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: Ove Kaaven <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: [Alsa-devel] PCM questions
In-Reply-To: <[EMAIL PROTECTED]>
On Thu, 4 Mar 2004, Ove Kaaven wrote:
> tor, 04.03.2004 kl. 19.43 skrev Jaroslav Kysela:
> > Not really. I don't know, what you're trying to do. The silence extension
> > can be used to silence played area automatically from the interrupt
> > contents. If you set "silence_threshold" and "silence_
On Fri, 05 Mar 2004 10:01:28 +0100 (CET)
Giuliano Pochini <[EMAIL PROTECTED]> wrote:
> On the Amiga :) it was simple. You only need to tell the hw
> to play a block of data at given sample rate, volume, etc.
> But most of the cards can't do that. I think one good solution
> is to run an "sfx mixer
On Fri, 5 Mar 2004, Giuliano Pochini wrote:
> required features, at least the basic ones. Device dependent
> stuff is not a good idea IMHO.
The abstraction will be in alsa-lib, so the application will have common
access to this API. But the hardware is too much different in this area
and we don'
On 04-Mar-2004 Takashi Iwai wrote:
>> > > It is wavetable synthesizer API not PCM API. This part of ALSA is still
>> > > in the development phase.
>> >
>> > But when that gets fully developed, would I have to use the rawmidi API
>> > to do this then?
>>
>> I think that sequencer API is more appro
tor, 04.03.2004 kl. 19.47 skrev Takashi Iwai:
> or, with PCM API, you can open several PCMs in a single application.
> if the number of voices are limited, it won't be too heavy.
Hmm. I suspect that doing that would not be that much better than
software mixing unless I can use arbitrary buffer siz
tor, 04.03.2004 kl. 19.43 skrev Jaroslav Kysela:
> Not really. I don't know, what you're trying to do. The silence extension
> can be used to silence played area automatically from the interrupt
> contents. If you set "silence_threshold" and "silence_size" to
> buffer_size, then the whole _unused
At Thu, 4 Mar 2004 19:43:58 +0100 (CET),
Jaroslav wrote:
>
> > > It is wavetable synthesizer API not PCM API. This part of ALSA is still
> > > in the development phase.
> >
> > But when that gets fully developed, would I have to use the rawmidi API
> > to do this then?
>
> I think that sequencer
On Thu, 4 Mar 2004, Ove Kaaven wrote:
> tor, 04.03.2004 kl. 17.33 skrev Jaroslav Kysela:
> > The silence is filled at snd_pcm_start(). This mode is special one for
> > our direct plugins. I don't think that other code need to use this mode.
>
> Well, perhaps you don't think so, but the code we're
At Thu, 04 Mar 2004 17:02:09 +0100,
Ove Kaaven wrote:
>
> And for sound cards capable of hardware mixing, is there a way to have
> two PCMs that share a buffer, but can be still be started and stopped
> independently?
such a hardware also doesn't share the "buffer".
it supports the h/w mixing but
tor, 04.03.2004 kl. 17.33 skrev Jaroslav Kysela:
> The silence is filled at snd_pcm_start(). This mode is special one for
> our direct plugins. I don't think that other code need to use this mode.
Well, perhaps you don't think so, but the code we're trying to use here
does work much like any "dire
On Thu, 4 Mar 2004, Ove Kaaven wrote:
> Okay, whoever says ALSA is greater than OSS, I'm trying to act on your
> assertions, so here are a few questions.
>
> I have the primary PCM configured with silence_threshold set to zero and
> silence_size set to MAXINT. This condition is documented as "The
Okay, whoever says ALSA is greater than OSS, I'm trying to act on your
assertions, so here are a few questions.
I have the primary PCM configured with silence_threshold set to zero and
silence_size set to MAXINT. This condition is documented as "The whole
ring buffer is filled with silence at star
14 matches
Mail list logo