<commit_before>#pragma once

#include <vector>
#include <stddef.h>
#include <stdint.h>

class AudioContext;

class AudioNode {
public:

	AudioNode() : _audioCtx(0) {}
	AudioNode(AudioContext* audioContext) : _audioCtx(audioContext) {}
	virtual ~AudioNode();

	inline void set_context(AudioContext* audioContext) { _audioCtx = audioContext; }

	virtual void connect(AudioNode* destination);
	virtual void disconnect(AudioNode* destination);

	virtual void process(int& sample) {}
	virtual void process() {}<commit_msg>added shouldProcess() to Audionode.h<commit_after>#pragma once

#include <vector>
#include <stddef.h>
#include <stdint.h>

class AudioContext;

class AudioNode {
public:

	AudioNode() : _audioCtx(0) {}
	AudioNode(AudioContext* audioContext) : _audioCtx(audioContext) {}
	virtual ~AudioNode();

	inline void set_context(AudioContext* audioContext) { _audioCtx = audioContext; }

	virtual void connect(AudioNode* destination);
	virtual void disconnect(AudioNode* destination);

	virtual void process(int& sample) {}
	virtual void process() {}
	virtual void shouldProcess();	
{'fraction_non_alphanumeric': 0.11753902662993572, 'fraction_numerical': 0.0018365472910927456, 'mean_word_length': 6.569444444444445, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788176', 'n_tokens_mistral': 336, 'n_tokens_neox': 331, 'n_words': 88}