Results 1 to 3 of 3

Thread: When the sound session dies?

  1. #1

    Default When the sound session dies?

    Hello!

    I am using ClanLib 1.0
    When using Play() a sound session is created, also there are Prepare() that creates and don't play.

    But when I tried using Prepare only once (instead of using every time I am going to play a sound), the game crashed...

    When a non-looping sound session gets deleted?

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Quote Originally Posted by speeder View Post
    But when I tried using Prepare only once (instead of using every time I am going to play a sound), the game crashed...
    That should work, I do it that way. I am not sure why it does not on your machine.

    Try the "Examples/Sound" example. Select the ".wav" sample, then Prepare ... then try that.

  3. #3

    Default

    If I use just "play(filename)" several times I end with bazillion leaked sessions?

Similar Threads

  1. Sound Input
    By shade37337 in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 09-22-2007, 01:01 AM
  2. ClanLib 0.8 Sound
    By Nikitto46 in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 09-07-2007, 10:56 AM
  3. weather and sound
    By in forum RTsoft Tavern
    Replies: 4
    Last Post: 08-11-2007, 09:36 PM
  4. Program Dies from Player Movement
    By catch22 in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 08-03-2007, 06:08 AM
  5. Vorbis Sound not right
    By DLehr in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 02-16-2007, 03:02 AM

Bookmarks

Bookmarks

Posting Permissions

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