Obtains the current tempo information of the queue q. The tempo information contains the following data:
/* queue tempo */
typedef struct {
int queue; /* sequencer queue */
unsigned int tempo; /* current tempo, us/tick */
int ppq; /* time resolution, ticks/quarter */
char reserved[32]; /* for the future */
} snd_seq_queue_tempo_t;
The tempo field contains the tempo value
in us (10-6s) per tick.
The ppq is time resolution in ticks per quarter.Function returns zero if successful, or a negative error code.