Hello,
I am facing that error when implementing a custom soundstream inherited class.
Here is the code where it is complaining:
#ifndef AUDIOMANAGER_H_INCLUDED
#define AUDIOMANAGER_H_INCLUDED
#include <memory>
#include <vector>
#include <SFML/Audio.hpp>
#include "../nodes/outputNode.h"
class AudioManager;
class customAudioStream : sf::SoundStream{ // HERE IT IS THROWING THE ERROR!
public:
private:
virtual bool onGetData(Chunk& data);
virtual void onSeek(sf::Time timeOffset);
void registerAudioManager(AudioManager* audioManager);
AudioManager* manager;
};
class AudioManager{
public:
AudioManager();
~AudioManager();
void registerOutputNode(std::unique_ptr<outputNode> newOutNode);
std::vector<sf::Int16> getOutputAudio();
private:
std::unique_ptr<outputNode> outNode;
customAudioStream stream;
};
#endif // AUDIOMANAGER_H_INCLUDED
There is some code for outputNode and so on that is missing, since the error seems to be unrelated to that parts.
Do you have any idea what that could be?