|
From: | Michael Dickens |
Subject: | [Discuss-gnuradio] gr-audio-osx ToDo |
Date: | Tue, 4 Apr 2006 20:47:51 -0500 |
But compiling has been an issue since it -seems- like gnu's libtool somewhere between 1.5.10 and 1.5.20 has been updated to better handle Darwin stuff and thus there -seems- like a need for the later version (or even more recent, but I haven't tried 1.5.22 yet since 1.5.20 works for me). I can't be 100% sure that this was the issue. Here are the 3 things to do:
1) Fix a bug in the way an omni_semaphore is being used (actually, make it an omni_mutex I think).
2) Fix the transfer buffer between the various threads; I wrote my own version which is thread-safe, but I think GR has one available - which would be better for me to use. It's just a simple circular ("ring") buffer with thread protection using omni_semaphore's and omni_mutex'es. Is GR's circular buffer thread-safe?
3) Add in the code in "source" to "watch" for the user changing the input device in the OS, and handling this change so that there is at worst a quick blip during the switch over (but at least the program doesn't crash).
[Prev in Thread] | Current Thread | [Next in Thread] |