Results 1 to 2 of 2

Thread: Wave.LoadFromFile is being weird

  1. #1

    Wave.LoadFromFile is being weird

    So I try to use LoadFromFile to load a wav into a TWaveCollectionItem, but it's just being ignored or something. The only place where this works is in the "OnInitzialize" of the TDXSound. If I try it at any other place in the code, nothing happens. It just keeps the same sound as before.

    It's really annoying, so I'd appreciate it if someone could help me out here.

  2. #2

    Wave.LoadFromFile is being weird

    Never mind, I worked around it by finalizing and initializing the DXSound when I need to load sounds. Maybe not the best way, but it works good enough for the program I was doing.

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
  •