<commit_before>// Filename: audio_load_mp3.cxx
// Created by:  cary (11Oct00)
// 
////////////////////////////////////////////////////////////////////

#include <dconfig.h>
#include "audio_pool.h"
#include "config_audio.h"
#include "audio_trait.h"

Configure(audio_load_mp3);

extern "C" {
#include <mpg123.h>
}

static bool initialized = false;
static struct audio_info_struct ai;
static struct frame fr;
struct parameter param = {
  FALSE, /* aggressive */
  FALSE, /* shuffle */
  FALSE, /* remote */
  DECODE_AUDIO, /* write samples to audio device */
  FALSE, /* silent operation */
  FALSE, /* xterm title on/off */
  0, /* second level buffer size */
  TRUE, /* resync after stream error */
  0, /* verbose level */
#ifdef TERM_CONTROL
  FALSE, /* term control */
#endif /* TERM_CONTROL */
  -1, /* force mono */
  0, /* force stereo */
  0, /* force 8-bit */<commit_msg>*** empty log message ***<commit_after>// Filename: audio_load_mp3.cxx
// Created by:  cary (11Oct00)
// 
////////////////////////////////////////////////////////////////////

#include <dconfig.h>
#include "audio_pool.h"
#include "config_audio.h"
#include "audio_trait.h"

Configure(audio_load_mp3);

#include <math.h>

extern "C" {
#include <mpg123.h>
}

static bool initialized = false;
static struct audio_info_struct ai;
static struct frame fr;
struct parameter param = {
  FALSE, /* aggressive */
  FALSE, /* shuffle */
  FALSE, /* remote */
  DECODE_AUDIO, /* write samples to audio device */
  FALSE, /* silent operation */
  FALSE, /* xterm title on/off */
  0, /* second level buffer size */
  TRUE, /* resync after stream error */
  0, /* verbose level */
#ifdef TERM_CONTROL
  FALSE, /* term control */
#endif /* TERM_CONTROL */
  -1, /* force mono */
  0, /* force stereo */
  0, /* force 8-bit */
{'fraction_non_alphanumeric': 0.217123670956911, 'fraction_numerical': 0.016787912702853944, 'mean_word_length': 2.367231638418079, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4879105', 'n_tokens_mistral': 590, 'n_tokens_neox': 567, 'n_words': 172}