<commit_before>//
//  TOAudioFilePlayer.h
//  FilePlayerTest
//
//  Created by <NAME> on 21.08.12.
//  Copyright (c) 2012 <NAME>. All rights reserved.
//

#import "TOPlugableSound.h"


@interface TOFilePlayerSound : TOPlugableSound
{
    TOAudioUnit *_filePlayerUnit;
    AudioFileID _audioFile;
    
    AudioTimeStamp _currentFilePlayerUnitRenderTimeStamp;
    Float64 _filePlayerUnitOutputSampleRate;
    
    // audio file properties
    AudioStreamBasicDescription _audioFileASBD;
    UInt64 _audioFileNumPackets;
    
    BOOL _filePlayerUnitFullyInitialized;
}


- (BOOL)setAudioFileURL:(NSURL *)url error:(NSError **)error;
@property (readonly, nonatomic) NSURL *audioFileURL;


/**
 Length of the audio file in seconds.
 */<commit_msg>TOFilePlayerSound added missing ivars.<commit_after>//
//  TOAudioFilePlayer.h
//  FilePlayerTest
//
//  Created by <NAME> on 21.08.12.
//  Copyright (c) 2012 <NAME>. All rights reserved.
//

#import "TOPlugableSound.h"


@interface TOFilePlayerSound : TOPlugableSound
{
    TOAudioUnit *_filePlayerUnit;
    AudioFileID _audioFile;
    
    AudioTimeStamp _currentFilePlayerUnitRenderTimeStamp;
    Float64 _filePlayerUnitOutputSampleRate;
    
    // audio file properties
    AudioStreamBasicDescription _audioFileASBD;
    UInt64 _audioFileNumPackets;
    
    NSTimeInterval _regionStart;
    NSTimeInterval _regionDuration;
    UInt32 _loopCount;
    NSTimeInterval _startTime;
    
    BOOL _filePlayerUnitFullyInitialized;
}


- (BOOL)setAudioFileURL:(NSURL *)url error:(NSError **)error;
@property (readonly, nonatomic) NSURL *audioFileURL;


/**
 Length of the audio file in seconds.
 */
{'fraction_non_alphanumeric': 0.09079829372333943, 'fraction_numerical': 0.018281535648994516, 'mean_word_length': 3.8579881656804735, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3402751', 'n_tokens_mistral': 562, 'n_tokens_neox': 521, 'n_words': 117}