I wanted to get the tempo, so I did this:

    snd_seq_queue_tempo_t *qt;
    snd_seq_queue_tempo_alloca(&qt);
    snd_seq_get_queue_tempo(seq,id,qt);
    return qt->tempo;//line 91

and the compiler told me this:

alsa.cpp:91: invalid use of undefined type `struct _snd_seq_queue_tempo'
/usr/include/alsa/seq.h:382: forward declaration of `struct 
   _snd_seq_queue_tempo'

anyone have any ideas? Thanks


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to