Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Audio from scratch  (Read 2151 times)

0 Members and 1 Guest are viewing this topic.

ideal phi

  • Newbie
  • *
  • Posts: 6
    • View Profile
Audio from scratch
« on: September 20, 2010, 08:10:45 am »
Is it possible to create sounds from solely program generated char arrays (using the LoadFromMemory function)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Audio from scratch
« Reply #1 on: September 20, 2010, 08:43:39 am »
Yes, but using LoadFromSamples. LoadFromMemory will load a sound file, not a direct array of samples.
Laurent Gomila - SFML developer

ideal phi

  • Newbie
  • *
  • Posts: 6
    • View Profile
Audio from scratch
« Reply #2 on: September 24, 2010, 09:38:07 pm »
How would it be done without LoadFromMemory?

  • Guest
Audio from scratch
« Reply #3 on: September 28, 2010, 10:53:01 am »
I have liked your opinion on this kind post. I am going to subscribe your post and will come here again to know more. Thanks,

 

anything