Threads for ongoing processes
From: Bram Bos (bram_at_mindless.com)
Date: 01/31/05
- Next message: Raptor: "Re: How "heavy" are the respective class hierarchy levels?"
- Previous message: Rob Kennedy: "Re: How "heavy" are the respective class hierarchy levels?"
- Next in thread: Billw: "Re: Threads for ongoing processes"
- Reply: Billw: "Re: Threads for ongoing processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2005 02:27:37 -0800
I'm working on an application that processes audio and plays
it back using common MME functions. The process looks like this:
1. send buffer to playback output
2. prepare new buffer with sound data
3. callback: "playback is done" > go to step 1.
I wish to do this using a separate thread, because the user
is messing around in lots of graphical GUI things in the main
thread. I can't really figure out how to assign this
callback/process to a thread though. I know how to create
a thread for a one-time job, but not how to do it for an
ongoing process (using a callback mechanism)...
can one of the Delphi gurus around here shed some light?
Thanks!
Bram
- Next message: Raptor: "Re: How "heavy" are the respective class hierarchy levels?"
- Previous message: Rob Kennedy: "Re: How "heavy" are the respective class hierarchy levels?"
- Next in thread: Billw: "Re: Threads for ongoing processes"
- Reply: Billw: "Re: Threads for ongoing processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|