--- Paul Davis <[EMAIL PROTECTED]> wrote: >
> --- Paul Davis <[EMAIL PROTECTED]> wrote:
> >
> >>Hi ,
> >> >i'm trying to change the fragment size that the
> >> alsa
> >> >driver is capturing/playing out. It's currently
> set
> >> at
> >> >32 msecs(256 bytes).
> >> >They are set in the runtime structure...
> >> >   runtime->period_max ...etc
> >> >Could anybody tell me which file these
> parameters
> >> are
> >> >set in the alsa-driver directory?
> >> 
> >> you should be using
> >> snd_pcm_hw_params_set_period_size()
> >
> >
> >Does this mean that i can change the period size
> >without recompiling the driver?
> >Im am not developing an ALSA application myself,
> just
> >trying to change the pcm parameters.
> >snd_pcm_hw_params_set_period_size()...looks like a
> >function call included in a user written ALSA
> >application??
> >Excuse me if this is a stupid questions but,How do
> I
> >use this function call in my case to change the
> driver
> >period??
> 
> i don't understand your question. if you mean "how,
> as a user, do i
> change the driver period", the answer is that it is
> controlled by the
> application, and you should use the facilities
> provided by the
> program. what software are you trying to use?
> 
> --p 

Im running OpenH323 a voice over ip application.What I
have found out from using it is that the alsa driver
always puts 32 msecs(256 bytes) of data into the
sender buffer, or takes the same amount from the
receiver buffer.
32 msecs is driver default if it's not set by the
application? I thought if i change the relevant
default params in alsa-driver/alsa-kernel/ and
recompile, it wud do the trick. 

...Instead i should include this function call to set
the driver period..snd_pcm_hw_params_set_period_size()
within my OpenH323 app with relevant header files???

Brian.


        
        
                
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to