SFML community forums

Help => Audio => Topic started by: Srejv on November 12, 2007, 03:37:06 pm

Title: Audiostreams tutorial error
Post by: Srejv on November 12, 2007, 03:37:06 pm
(gosh I'm only having trouble.. that's not okay >_<)

Trying to run audiostream tutorial... thing... to help me understand how it works, but I get this error. It looks like it checks out since it returns what it's supposed to return, but eclipse thinks differently. I just updated from SVN (maybe I updated wrongly).

Code: [Select]

no match for 'operator=' in '((MyCustomStream*)this)->MyCustomStream::myBuffer = (&SoundData)->sf::SoundBuffer::GetSamples()' AudioStuff/src main.cpp line 46 1194877991497 1244



Also, is it -lsfml-audio which is used for all audio?
Title: Audiostreams tutorial error
Post by: Laurent on November 12, 2007, 03:43:32 pm
Damn, I really thought I fixed this piece of code a long time ago. Apparently I corrected only the tutorial, and forgot the source code ;)

Thanks !

Quote
Also, is it -lsfml-audio which is used for all audio?

Yes sir.
Title: Audiostreams tutorial error
Post by: Srejv on November 12, 2007, 04:42:31 pm
Okay.  :) Thank you!