All of lore.kernel.org
 help / color / mirror / Atom feed
* How to set ppq?
@ 2002-12-23 13:19 Gerald Grabner
  2002-12-23 14:13 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Gerald Grabner @ 2002-12-23 13:19 UTC (permalink / raw)
  To: alsa-devel

Hi,

I'm trying to set PPQ for the alsa sequencer queue but it doesn't
work. Here is the piece of code:

   snd_seq_queue_tempo_set_tempo (queue_tempo, tempo) ;
   snd_seq_queue_tempo_set_ppq   (queue_tempo, ppq  ) ;
   snd_seq_set_queue_tempo (seq_handle, queue_id, queue_tempo) ;

It works for tempo, but not for ppq. Does anybody know how I could
also set ppq?

Thanks a lot!
Gerald

BTW: It's on a SuSE 8.1 box that comes with alsa-0.9.0rc3,
cvs20020903.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to set ppq?
  2002-12-23 13:19 How to set ppq? Gerald Grabner
@ 2002-12-23 14:13 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-12-23 14:13 UTC (permalink / raw)
  To: Gerald Grabner; +Cc: alsa-devel

Hi,

At Mon, 23 Dec 2002 14:19:38 +0100,
Gerald Grabner wrote:
> 
> Hi,
> 
> I'm trying to set PPQ for the alsa sequencer queue but it doesn't
> work. Here is the piece of code:
> 
>    snd_seq_queue_tempo_set_tempo (queue_tempo, tempo) ;
>    snd_seq_queue_tempo_set_ppq   (queue_tempo, ppq  ) ;
>    snd_seq_set_queue_tempo (seq_handle, queue_id, queue_tempo) ;
> 
> It works for tempo, but not for ppq. Does anybody know how I could
> also set ppq?

the ppq cannot be changed during the queue is running although the
tempo can be varied.

you can set the ppq before starting the queue, or after stopping the
queue.


ciao,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-23 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 13:19 How to set ppq? Gerald Grabner
2002-12-23 14:13 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.