Right Jaroslav, that means i would modify intel8x0.c to include a call to snd_pcm_hw_params_get_period_size() or snd_pcm_hw_params_get_period_time() in the appropriate place. Write the values returned say to a text file. Recompile the ALsa driver and re-insert it into the kernel.Start my application and check contents of text file. Am I right in saying this? Thanks in advance, Brian.
--- Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > On Tue, 30 Mar 2004, Brian Furey wrote: > > > > > Hi all, > > I have an intel810 onboard soundcard.I am using > the > > alsa driver with a VoIP session. > > The intel8x0.c file has a minimum period byte > size > > of 32 bytes with the minimum no. of periods being > > 1.The min and max rate is set to 48k. > > > > How can I find out what actual(runtime) size > period > > the alsa driver is dealing with? > > After the snd_pcm_hw_params() call, the given > hardware parameter > container will have the chosen period size or > snd_pcm_hw_params_current() creates the current > hw_params > container. > > Then use snd_pcm_hw_params_get_period_size() or > snd_pcm_hw_params_get_period_time(). > > Jaroslav > > ----- > Jaroslav Kysela <[EMAIL PROTECTED]> > Linux Kernel Sound Maintainer > ALSA Project, SuSE Labs ___________________________________________________________ WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel