Results 1 to 2 of 2

Thread: [RESOLVED] XACT: Stop Cue Problem

  1. #1

    Thread Starter
    Addicted Member mouse88's Avatar
    Join Date
    Mar 2009
    Location
    South Wales, United Kingdom
    Posts
    225

    Resolved [RESOLVED] XACT: Stop Cue Problem

    I don't know if anyone is familiar with the Microsoft Cross-Platform Audio Creation Tool but I have been through a tutorial to implement the use of this is to my game but I am having problems stopping a sound that I have looping.

    Here is the code to stop the cue:

    Code:
    Public Sub StopSound()
    
            Try
                Cue.Stop(AudioStopOptions.Immediate) 'Stop Sound Immediatly'
            Catch ex As Exception
            End Try
    
    End Sub
    Can anyone help?

  2. #2

    Thread Starter
    Addicted Member mouse88's Avatar
    Join Date
    Mar 2009
    Location
    South Wales, United Kingdom
    Posts
    225

    Re: XACT: Stop Cue Problem

    Ok this has now been solved for anyone who may run in to this problem I was using a module to hold the sound cue where as I should have a class and create an instance of the class each time I want to stop/play a sound.

Posting Permissions

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



Click Here to Expand Forum to Full Width