View Single Post
Old 18 September 2021, 14:27   #15
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,337
Quote:
Originally Posted by 8bitbubsy View Post
Ok, I see. I think I'll end up programming a small GUI for the player instead. However, I need to be able to have a loop that runs WaitTOF twice and then mixes audio samples. Is this possible when you have an Intuition/window loop instead?
I can't use a vblank interrupt for this, because I'll not end up in idle time. This is important, the mixer should only mix samples in idle time so that it doesn't slow down the system.
Yes, you can have a window and still use your WaitTOF pair. Just poll intuition events (without waiting) before or after each of them.


Quote:
Originally Posted by 8bitbubsy View Post
Maybe I should. But how will it act when I run the player from within the shell? Will the current shell stall, and a new console opens?
The current shell will stall, unless you launch your program with the run command.
meynaf is offline  
 
Page generated in 0.04286 seconds with 11 queries