<commit_before>//
//  yas_audio_types.h
//

#pragma once

#include <AudioUnit/AUComponent.h>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <vector>

namespace yas::audio {
union render_id {
    void *v;
    struct {
        uint8_t graph;
        uint16_t unit;
    };
};

enum class pcm_format : uint32_t {
    other = 0,
    float32,
    float64,
    int16,
    fixed824,
};
<commit_msg>assert render_id size<commit_after>//
//  yas_audio_types.h
//

#pragma once

#include <AudioUnit/AUComponent.h>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <vector>

namespace yas::audio {
union render_id {
    void *v;
    struct {
        uint8_t graph;
        uint16_t unit;
    };
};

static_assert(sizeof(void *) == sizeof(render_id), "render_id size must be equal to pointer size.");

enum class pcm_format : uint32_t {
    other = 0,
    float32,
    float64,
    int16,
    fixed824,
};

{'fraction_non_alphanumeric': 0.12655601659751037, 'fraction_numerical': 0.03112033195020747, 'mean_word_length': 3.071729957805907, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '7041372', 'n_tokens_mistral': 366, 'n_tokens_neox': 351, 'n_words': 86}