[Alsa-devel] exactly when is interrupt raised?

2002-09-24 Thread Shaju Abraham
interrupt in playback mode. Is it after physically playing out and thus finishing the period_size number of frames or is it after the period_size number of frames are copied into the hw buffers(?) of the card? Exactly at what point does the cm8738 card raise an interrupt? --Shaju Abraham

[Alsa-devel] Period Size in ymf724

2002-09-22 Thread Shaju Abraham
trying this 'cos we want the card to raise interrupts as frequently as possible. Is this a h/w limitation of ymf724 card or is there any way we can get to reduce the period size on a ymf724 card to around 64 bytes ? Thanx in advance, Shaju Ab

[Alsa-devel] aplay and period time.

2002-08-21 Thread Shaju Abraham
Hi all, I work on i810 motherboard with built-in sound card. I use aplay with -F option ( set period-time ) to vary the period-time from 166 micro secs to 1500 microsecs. I also vary the buffer time ( with -B option) I observe the following... 1.The number of fragments i.e frags won't inc

[Alsa-devel] Buffer_size divided into more than 32 frags.

2002-08-21 Thread Shaju Abraham
Hi all, Can frags may be more than the number of bds available i.e 32 ? If yes, does it follow that both of the following cases are possible. i) the whole buffer (of size buffer_size ) can be divided between 32 bds so that a given bd will always point to same address duri

[Alsa-devel] Use only a few bds.

2002-08-21 Thread Shaju Abraham
Hi all, In our study that we are doing abt latency of sound cards, we want to have a situation where I do not want to use all of the 32 bds available. we want to use say only 4 or 8 of the bds with each bd pointing to only a small fragment of data.( This is basically to make the card interrup

[Alsa-devel] period sizes.

2002-08-21 Thread Shaju Abraham
Hi all, Can u pls tell me what the relation is between runtime->period_size, runtime->periods and runtime->buffersize ( pcm_native.c ) and ichdev->size , ichdev->period_size, ichdev->frags ( in intel8x0.c) Thanx, --Shaju --- This sf.net em

[Alsa-devel] Correct me if I am wrong & few questions

2002-08-20 Thread Shaju Abraham
Hi all, The following is my understanding pls correct me if I am wrong. 1. Buffer_size is how much of memory has been allocated to buffer the sound to be played out. 2. Fragment size is the measure of amount of data played between two consecutive interrupts raised by the c

[Alsa-devel] Inserting modules on the run.

2002-07-24 Thread Shaju Abraham
Can u pls tell me where in the ALSA src code this piece of action is happening and how to insert my own module on the run. --shaju abraham --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkg

Re: [Alsa-devel] Calling snd_pcm_oss_write directly.

2002-07-24 Thread Shaju Abraham
are called after snd_pcm_oss_write has already been called. --shaju abraham Paul Davis wrote: > > I am in a situation where I intend to call snd_pcm_oss_write > >directly. > > AFAIK, this is not a supported use of the alsa-lib API. There is no > guarantee th

[Alsa-devel] Calling snd_pcm_oss_write directly.

2002-07-24 Thread Shaju Abraham
what else needs to be done for the call to get through, it will be of great help. --Shaju Abraham --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[Alsa-devel] ALSA crash

2002-07-19 Thread Shaju Abraham
us who is disabling the interrupts just before this is called? Does spin_lock_irq do that? We are using RedHat 7.1 linux on i810 motherboard and the latest version of ALSA 0.9.0. Shaju Abraham. ALSA ../alsa-kernel/core/pcm_lib.c:188: Unexpected hw_pointer value (stream = 0, delta: -68, max jit

[Alsa-devel] ALSA hangs under load

2002-07-17 Thread Shaju Abraham
happen? Is it a bug in ALSA? --Shaju Abraham --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Alsa-devel mailing list [EMAIL PROTECTED] https

[Alsa-devel] ALSA in realtime linux

2002-07-16 Thread Shaju Abraham
Hi all, I am trying to port ALSA code to rtlinux. I am doing it on a intel810 chipset(built in sound card) and linux kernel version is 2.4.4 with rt 3.1 patch. The way we are going abt it is that we are registering the sound card interrupt with rtlinux instead of linux. We have also cha