[Alsa-devel] What is a period?

2001-09-16 Thread Remco Poelstra
Hi, What does a period mean when setting hwparams? If I want to play a 16 bit stereo stream, what should I enter in the function snd_pcm_hw_params_set_period_size and snd_pcm_hw_params_set_periods? Thanks in advance, Remco Poelstra ___ Alsa-devel mai

Re: [Alsa-devel] What is a period?

2001-09-16 Thread Paul Davis
>What does a period mean when setting hwparams? If I want to play a 16 bit >stereo stream, what should I enter in the function >snd_pcm_hw_params_set_period_size and snd_pcm_hw_params_set_periods? its the interval between interrupts from the hardware. this defines the input latency, since the CPU

Re: [Alsa-devel] Starting multiple devices in sync

2001-09-16 Thread Jussi Laako
> >Yep, OK. I'll look if I can make the latest beta work with my Delta1010. Didn't get far on this. RPM build of alsa-driver beta 7 failed. It just messed up my existing and installed 0.5. Btw. I think the kernel version variable in .spec should be defined as %(uname -r) and not as some static v

[Alsa-devel] midi timing fixes/questions

2001-09-16 Thread Jack Moffitt
Once again I'm working on the MIDI timing (when synced with the pcm device). I've finally been able to trace through much of the code and I think I found some problems. THe attached patch does two things: 1) in snd_seq_timer_interrupt() the resolution is passed in from the pcm timer. This pat

[PATCH] Re: [Alsa-devel] midi timing fixes/questions

2001-09-16 Thread Jack Moffitt
Of course I forgot the patch. It's now attached. jack. diff -u -r1.53 seq_timer.c --- seq/seq_timer.c 2001/06/06 17:46:51 1.53 +++ seq/seq_timer.c 2001/09/16 22:52:54 @@ -151,7 +151,7 @@ if (!tmr->running) return; - resolution = tmr->period; +