Changes the current tempo of the queue q. This function invokes snd_seq_control_queue internally.
If ev argument is NULL, a temporary event record is used and delivered immediately. Otherwise, the given event record is used and its flags are evaluated.
Function returns zero if successful, or a negative error code.