<commit_before>//
//  yas_audio_io_kernel.h
//

#pragma once

#include <audio/yas_audio_format.h>
#include <audio/yas_audio_pcm_buffer.h>
#include <audio/yas_audio_ptr.h>
#include <audio/yas_audio_time.h>

namespace yas::audio {
struct io_render_args {
    std::optional<audio::pcm_buffer_ptr> const output_buffer;
    std::optional<audio::time> const output_time;
    std::optional<audio::pcm_buffer_ptr> const input_buffer;
    std::optional<audio::time> const input_time;
};

using io_render_f = std::function<void(io_render_args)>;
<commit_msg>io_render_args reference<commit_after>//
//  yas_audio_io_kernel.h
//

#pragma once

#include <audio/yas_audio_format.h>
#include <audio/yas_audio_pcm_buffer.h>
#include <audio/yas_audio_ptr.h>
#include <audio/yas_audio_time.h>

namespace yas::audio {
struct io_render_args {
    std::optional<audio::pcm_buffer_ptr> const &output_buffer;
    std::optional<audio::time> const &output_time;
    std::optional<audio::pcm_buffer_ptr> const &input_buffer;
    std::optional<audio::time> const &input_time;
};

using io_render_f = std::function<void(io_render_args)>;

{'fraction_non_alphanumeric': 0.135013501350135, 'fraction_numerical': 0.0, 'mean_word_length': 6.513513513513513, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '7544583', 'n_tokens_mistral': 412, 'n_tokens_neox': 411, 'n_words': 63}