<commit_before>// Copyright (C) 2017 <NAME>
// This file is part of the Ouzel engine.

#pragma once

#include <cstdint>
#include <string>
#include <vector>

namespace ouzel
{
    namespace audio
    {
        class Audio;

        class SoundData
        {
            friend Audio;
        public:
            SoundData();
            virtual ~SoundData();

            virtual const std::vector<uint8_t>& getData() = 0;

            uint16_t getFormatTag() const { return formatTag; }
            uint16_t getChannels() const { return channels; }
            uint32_t getSamplesPerSecond() const { return samplesPerSecond; }
            bool isStream() const { return stream; }

        protected:
            uint16_t formatTag = 0;
            uint16_t channels = 0;
            uint32_t samplesPerSecond = 0;
            bool stream = false;
        };
    } // namespace audio
} // namespace ouzel<commit_msg>Remove stream attribute from SoundData<commit_after>// Copyright (C) 2017 <NAME>
// This file is part of the Ouzel engine.

#pragma once

#include <cstdint>
#include <string>
#include <vector>

namespace ouzel
{
    namespace audio
    {
        class Audio;

        class SoundData
        {
            friend Audio;
        public:
            SoundData();
            virtual ~SoundData();

            virtual const std::vector<uint8_t>& getData() = 0;

            uint16_t getFormatTag() const { return formatTag; }
            uint16_t getChannels() const { return channels; }
            uint32_t getSamplesPerSecond() const { return samplesPerSecond; }

        protected:
            uint16_t formatTag = 0;
            uint16_t channels = 0;
            uint32_t samplesPerSecond = 0;
        };
    } // namespace audio
} // namespace ouzel
{'fraction_non_alphanumeric': 0.08762012436404748, 'fraction_numerical': 0.023742227247032222, 'mean_word_length': 1.9207920792079207, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '6577117', 'n_tokens_mistral': 517, 'n_tokens_neox': 482, 'n_words': 149}