<commit_before>/* private.h -  AMBIsonics eXchange Library Private Interface              -*- c -*-

   Copyright © 2012 <NAME> <<EMAIL>>.
         Institute of Electronic Music and Acoustics (IEM),
         University of Music and Dramatic Arts, Graz

   This file is part of libambix

   libambix is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of
   the License, or (at your option) any later version.

   libambix is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with this program; if not, see <http://www.gnu.org/licenses/>.

*/

/**
 * @file	private.h
 * @brief	AMBIsonics eXchange Library Private Interface
 * @details This file is part of libambix
 * @author <NAME> <<EMAIL>>
 * @date 2012
 * @copyright LGPL-2.1
 * @internal
 */
#ifndef AMBIX_PRIVATE_H
#define AMBIX_PRIVATE_H

#ifndef AMBIX_INTERNAL
# error private.h must only be used from within libambix
#endif

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif /* HAVE_CONFIG_H */

#include <ambix/ambix.h>

/** this is for passing data about the opened ambix file between the host application and the library */
typedef struct ambix_t {
  /** private data by the actual backend */
  void*private_data;

  /** whether the file is a valid AMBIX file (CAF) */
  int is_AMBIX;

  /** whether the file has an UUID-chunk, and which AMBIX version it describs */
  ambix_fileformat_t format;

  /** read/write mode */
  ambix_filemode_t filemode;

  /** whether the file is byteswapped in relation to host */
  int byteswap;

  /** full number of channels in the file */
  int32_t channels;

  /** ambisonics info chunk as presented to the outside world */
  ambix_info_t info;
  /** ambisonics info chunk as read from disk */
  ambix_info_t realinfo;

  /** reconstruction matrix */
  ambix_matrix_t matrix;
  /** final reconstruction matrix (potentially includes another adaptor matrix) */<commit_msg>MSVC doesn't know about "inline", only "__inline"<commit_after>/* private.h -  AMBIsonics eXchange Library Private Interface              -*- c -*-

   Copyright © 2012 <NAME> <<EMAIL>>.
         Institute of Electronic Music and Acoustics (IEM),
         University of Music and Dramatic Arts, Graz

   This file is part of libambix

   libambix is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of
   the License, or (at your option) any later version.

   libambix is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with this program; if not, see <http://www.gnu.org/licenses/>.

*/

/**
 * @file	private.h
 * @brief	AMBIsonics eXchange Library Private Interface
 * @details This file is part of libambix
 * @author <NAME> <<EMAIL>>
 * @date 2012
 * @copyright LGPL-2.1
 * @internal
 */
#ifndef AMBIX_PRIVATE_H
#define AMBIX_PRIVATE_H

#ifndef AMBIX_INTERNAL
# error private.h must only be used from within libambix
#endif

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif /* HAVE_CONFIG_H */

#ifdef _MSC_VER
# define inline __inline
#endif

#include <ambix/ambix.h>

/** this is for passing data about the opened ambix file between the host application and the library */
typedef struct ambix_t {
  /** private data by the actual backend */
  void*private_data;

  /** whether the file is a valid AMBIX file (CAF) */
  int is_AMBIX;

  /** whether the file has an UUID-chunk, and which AMBIX version it describs */
  ambix_fileformat_t format;

  /** read/write mode */
  ambix_filemode_t filemode;

  /** whether the file is byteswapped in relation to host */
  int byteswap;

  /** full number of channels in the file */
  int32_t channels;

  /** ambisonics info chunk as presented to the outside world */
  ambix_info_t info;
  /** ambisonics info chunk as read from disk */
  ambix_info_t realinfo;

  /** reconstruction matrix */
  ambix_matrix_t matrix;
  /** final reconstruction matrix (potentially includes another adaptor matrix) */
{'fraction_non_alphanumeric': 0.0766904298984662, 'fraction_numerical': 0.006048822639879024, 'mean_word_length': 3.422158548233047, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4083117', 'n_tokens_mistral': 1376, 'n_tokens_neox': 1322, 'n_words': 588}