Re: Alsa Callbacks and C++ classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sun, 20 Apr 2008 21:28:25 -0500,
Reuben Martin wrote:
> 
> Hello all,
> 
> I have an AES32 sound card that I am trying to write a general control 
> interface for using qt4. I'm wanting to register callbacks so that the 
> interface will reflect changes made by other apps. Now I'm not entirely up to 
> speed on the API, but from what I can gather, the callback can be registered 
> to call a regular function, or to change a public class variable.
> 
> Since I decided to use qt4, everything is in classes. Is there any way to have 
> the callback trigger a public class function? I guess I don't understand why 
> you would want to use a public variable instead. Wouldn't you have to set up 
> a means within the class to continually pole the variable to see if it has 
> been changed? Or can the option to call a regular function be used to call a 
> public class function as well?

Well, which callback do you have in your mind?  A bit more
specificically please...


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux