Results 1 to 1 of 1

Thread: Trouble with CL_SoundBuffer_Session

  1. #1
    Join Date
    Jun 2007

    Default Trouble with CL_SoundBuffer_Session

    Hi, I have been working on a small game using ClanLib 0.8.0. I am having a little trouble using CL_SoundBuffer_Session.
    I create the CL_SoundBuffer_Session as explained in the tutorial i.e. :

    // Initializations of SoundOutput and Vorbis

    // Load ogg file into a soundbuffer
    CL_SoundBuffer vorbis("cheer1.ogg");

    // Create a session from soundbuffer.
    CL_SoundBuffer_Session playback = vorbis.prepare();

    However, when I try calling I encounter an exception - access violation in mutex_win32.cpp.
    The method where the exception arises is this:

    void CL_Mutex::enter()

    However if I replace with the program runs fine.
    Could anybody help me get rid of this exception. Is there something wrong in the way I am using Sound Buffer sessions??
    I would like to use the soundbuffer session so that I can loop the sound file which I believe is not possible using a plain soundbuffer.


    My development enviornment is a 32 bit Windows Machine with Ms Visual Studio 2005 Professional Edition
    Last edited by somar; 07-01-2007 at 03:41 AM.

Similar Threads

  1. having trouble compiling clanlib programs on a mac
    By mike in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 06-20-2007, 05:00 PM
  2. Trouble
    By FQ101 in forum Funeral Quest
    Replies: 1
    Last Post: 02-09-2007, 05:05 AM
  3. anyone else having trouble getting
    By jimbobbucky in forum Funeral Quest
    Replies: 4
    Last Post: 07-16-2003, 04:41 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts