Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages
Started by Francesco Fabrini
Thu, 21 Nov 2002 10:51
DirectSound Focus Problem
Author: Francesco Fabrini
Date: Thu, 21 Nov 2002 10:51
Date: Thu, 21 Nov 2002 10:51
25 lines
1798 bytes
1798 bytes
I load input samples to a circular buffer and pass them to streming sound secondary buffer via notification method (notification separated thread). Deriving my code from streming data Microsoft example, I can listen quite good sound form audio card from input signal at 4096 or 8192 sample rate. For my scope I'm using a stay on top form, but when I change focus to other application or move form I have this 2 problem: 1) Play Notification events lost constancy in timing versus input samples flow stays constant. 2) a strange noise is random introduced in audio, mixed to my audio signal. How can I understand if this is caused from kmixer mixing disturb from other aplications audio, or strange interaction in my load input sample function. Thanks Regard Francesco
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads