COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-22-2017, 07:24 AM   #1
bmelonhead
Human being with feelings
 
Join Date: Dec 2015
Posts: 18
Default trouble with IPresetMenu, IPopupMenu

Using the IPresetMenu stuff from the multi-target example. If I just run the example, I consistently get a cpu overload issue in all formats/DAW's. Pro Tools is most obvious because it stops playback when the preset menu is clicked on (other DAW's just stutter a bit). This only happens the very first time the preset menu is clicked on, and it only occurs if playback is active. Thereafter it is fine. I'm thinking popup menus must be popular (pun?), and so I'm hoping someone may have fixed this in their own popup menu implementation. I suspect that OnMouseDown->doPopUpMenu->CreateIPopupMenu is the part that takes a chunk of cpu in some GUI thread and somehow this prevents the audio thread from running.
bmelonhead is offline   Reply With Quote
Old 05-22-2017, 07:28 AM   #2
bmelonhead
Human being with feelings
 
Join Date: Dec 2015
Posts: 18
Default

Oh...and I've only really found this on Mac. I don't think it happens on Windows.
bmelonhead is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.