CVSROOT:        /cvs/directfb
Module name:    DirectAudio
Changes by:     dok     20030626 15:49:18

Modified files:
        examples       : .cvsignore Makefile.am simple.c 
        include        : directaudio.h 
        src            : idirectaudio.c idirectaudiobuffer.c 
                         idirectaudiostream.c 
        src/core       : audio_buffer.c audio_buffer.h core_audio.c 
                         core_audio.h 
Added files:
        examples       : stream.c 

Log message:
Implemented ring buffer management using a core audio buffer
with looping playback.

Added CoreAudioBufferNotification with CABNF_PLAYBACK_ADVANCED/_ENDED
to tell IDirectAudioStream about the new read position or that the
playback has to be restarted upon the next write.

Added da_buffer_set_break() to automatically stop the playback if the
buffer gets empty. Actually the current write position is the break position.

Added start position to da_buffer_playback() to restart playback at the
last read position. This enables IDirectAudioStream to write to the buffer
sequentially though the playback has ended in the meantime.

Added working streaming example.

Some fixes.



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-cvs" as subject.

Reply via email to