首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

libsndfile-1.2.2

后端 1.94MB 27 需要积分: 1
立即下载

资源介绍:

1.2.2版本,win64系统 ibsndfile是一个强大且实用的音频处理库,它提供了跨平台的支持,覆盖了大量常见的音频格式,并且接口灵活,易于集成到现有项目。此外,它有着活跃的社区和完善的文档,使得无论你是初学者还是经验丰富的开发者,都能从中找到你需要的功能。 libsndfile 支持超过30种音频文件格式,包括常见的WAV, AIFF, AU, Ogg Vorbis 和FLAC等。
/* ** Copyright (C) 1999-2016 Erik de Castro Lopo ** ** This program 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. ** ** This program 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, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* ** sndfile.h -- system-wide definitions ** ** API documentation is in the doc/ directory of the source code tarball ** and at http://libsndfile.github.io/libsndfile/api.html. */ #ifndef SNDFILE_H #define SNDFILE_H /* This is the version 1.0.X header file. */ #define SNDFILE_1 #include #include #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* The following file types can be read and written. ** A file type would consist of a major type (ie SF_FORMAT_WAV) bitwise ** ORed with a minor type (ie SF_FORMAT_PCM). SF_FORMAT_TYPEMASK and ** SF_FORMAT_SUBMASK can be used to separate the major and minor file ** types. */ enum { /* Major formats. */ SF_FORMAT_WAV = 0x010000, /* Microsoft WAV format (little endian default). */ SF_FORMAT_AIFF = 0x020000, /* Apple/SGI AIFF format (big endian). */ SF_FORMAT_AU = 0x030000, /* Sun/NeXT AU format (big endian). */ SF_FORMAT_RAW = 0x040000, /* RAW PCM data. */ SF_FORMAT_PAF = 0x050000, /* Ensoniq PARIS file format. */ SF_FORMAT_SVX = 0x060000, /* Amiga IFF / SVX8 / SV16 format. */ SF_FORMAT_NIST = 0x070000, /* Sphere NIST format. */ SF_FORMAT_VOC = 0x080000, /* VOC files. */ SF_FORMAT_IRCAM = 0x0A0000, /* Berkeley/IRCAM/CARL */ SF_FORMAT_W64 = 0x0B0000, /* Sonic Foundry's 64 bit RIFF/WAV */ SF_FORMAT_MAT4 = 0x0C0000, /* Matlab (tm) V4.2 / GNU Octave 2.0 */ SF_FORMAT_MAT5 = 0x0D0000, /* Matlab (tm) V5.0 / GNU Octave 2.1 */ SF_FORMAT_PVF = 0x0E0000, /* Portable Voice Format */ SF_FORMAT_XI = 0x0F0000, /* Fasttracker 2 Extended Instrument */ SF_FORMAT_HTK = 0x100000, /* HMM Tool Kit format */ SF_FORMAT_SDS = 0x110000, /* Midi Sample Dump Standard */ SF_FORMAT_AVR = 0x120000, /* Audio Visual Research */ SF_FORMAT_WAVEX = 0x130000, /* MS WAVE with WAVEFORMATEX */ SF_FORMAT_SD2 = 0x160000, /* Sound Designer 2 */ SF_FORMAT_FLAC = 0x170000, /* FLAC lossless file format */ SF_FORMAT_CAF = 0x180000, /* Core Audio File format */ SF_FORMAT_WVE = 0x190000, /* Psion WVE format */ SF_FORMAT_OGG = 0x200000, /* Xiph OGG container */ SF_FORMAT_MPC2K = 0x210000, /* Akai MPC 2000 sampler */ SF_FORMAT_RF64 = 0x220000, /* RF64 WAV file */ SF_FORMAT_MPEG = 0x230000, /* MPEG-1/2 audio stream */ /* Subtypes from here on. */ SF_FORMAT_PCM_S8 = 0x0001, /* Signed 8 bit data */ SF_FORMAT_PCM_16 = 0x0002, /* Signed 16 bit data */ SF_FORMAT_PCM_24 = 0x0003, /* Signed 24 bit data */ SF_FORMAT_PCM_32 = 0x0004, /* Signed 32 bit data */ SF_FORMAT_PCM_U8 = 0x0005, /* Unsigned 8 bit data (WAV and RAW only) */ SF_FORMAT_FLOAT = 0x0006, /* 32 bit float data */ SF_FORMAT_DOUBLE = 0x0007, /* 64 bit float data */ SF_FORMAT_ULAW = 0x0010, /* U-Law encoded. */ SF_FORMAT_ALAW = 0x0011, /* A-Law encoded. */ SF_FORMAT_IMA_ADPCM = 0x0012, /* IMA ADPCM. */ SF_FORMAT_MS_ADPCM = 0x0013, /* Microsoft ADPCM. */ SF_FORMAT_GSM610 = 0x0020, /* GSM 6.10 encoding. */ SF_FORMAT_VOX_ADPCM = 0x0021, /* OKI / Dialogix ADPCM */ SF_FORMAT_NMS_ADPCM_16 = 0x0022, /* 16kbs NMS G721-variant encoding. */ SF_FORMAT_NMS_ADPCM_24 = 0x0023, /* 24kbs NMS G721-variant encoding. */ SF_FORMAT_NMS_ADPCM_32 = 0x0024, /* 32kbs NMS G721-variant encoding. */ SF_FORMAT_G721_32 = 0x0030, /* 32kbs G721 ADPCM encoding. */ SF_FORMAT_G723_24 = 0x0031, /* 24kbs G723 ADPCM encoding. */ SF_FORMAT_G723_40 = 0x0032, /* 40kbs G723 ADPCM encoding. */ SF_FORMAT_DWVW_12 = 0x0040, /* 12 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_16 = 0x0041, /* 16 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_24 = 0x0042, /* 24 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_N = 0x0043, /* N bit Delta Width Variable Word encoding. */ SF_FORMAT_DPCM_8 = 0x0050, /* 8 bit differential PCM (XI only) */ SF_FORMAT_DPCM_16 = 0x0051, /* 16 bit differential PCM (XI only) */ SF_FORMAT_VORBIS = 0x0060, /* Xiph Vorbis encoding. */ SF_FORMAT_OPUS = 0x0064, /* Xiph/Skype Opus encoding. */ SF_FORMAT_ALAC_16 = 0x0070, /* Apple Lossless Audio Codec (16 bit). */ SF_FORMAT_ALAC_20 = 0x0071, /* Apple Lossless Audio Codec (20 bit). */ SF_FORMAT_ALAC_24 = 0x0072, /* Apple Lossless Audio Codec (24 bit). */ SF_FORMAT_ALAC_32 = 0x0073, /* Apple Lossless Audio Codec (32 bit). */ SF_FORMAT_MPEG_LAYER_I = 0x0080, /* MPEG-1 Audio Layer I */ SF_FORMAT_MPEG_LAYER_II = 0x0081, /* MPEG-1 Audio Layer II */ SF_FORMAT_MPEG_LAYER_III = 0x0082, /* MPEG-2 Audio Layer III */ /* Endian-ness options. */ SF_ENDIAN_FILE = 0x00000000, /* Default file endian-ness. */ SF_ENDIAN_LITTLE = 0x10000000, /* Force little endian-ness. */ SF_ENDIAN_BIG = 0x20000000, /* Force big endian-ness. */ SF_ENDIAN_CPU = 0x30000000, /* Force CPU endian-ness. */ SF_FORMAT_SUBMASK = 0x0000FFFF, SF_FORMAT_TYPEMASK = 0x0FFF0000, SF_FORMAT_ENDMASK = 0x30000000 } ; /* ** The following are the valid command numbers for the sf_command() ** interface. The use of these commands is documented in the file ** command.html in the doc directory of the source code distribution. */ enum { SFC_GET_LIB_VERSION = 0x1000, SFC_GET_LOG_INFO = 0x1001, SFC_GET_CURRENT_SF_INFO = 0x1002, SFC_GET_NORM_DOUBLE = 0x1010, SFC_GET_NORM_FLOAT = 0x1011, SFC_SET_NORM_DOUBLE = 0x1012, SFC_SET_NORM_FLOAT = 0x1013, SFC_SET_SCALE_FLOAT_INT_READ = 0x1014, SFC_SET_SCALE_INT_FLOAT_WRITE = 0x1015, SFC_GET_SIMPLE_FORMAT_COUNT = 0x1020, SFC_GET_SIMPLE_FORMAT = 0x1021, SFC_GET_FORMAT_INFO = 0x1028, SFC_GET_FORMAT_MAJOR_COUNT = 0x1030, SFC_GET_FORMAT_MAJOR = 0x1031, SFC_GET_FORMAT_SUBTYPE_COUNT = 0x1032, SFC_GET_FORMAT_SUBTYPE = 0x1033, SFC_CALC_SIGNAL_MAX = 0x1040, SFC_CALC_NORM_SIGNAL_MAX = 0x1041, SFC_CALC_MAX_ALL_CHANNELS = 0x1042, SFC_CALC_NORM_MAX_ALL_CHANNELS = 0x1043, SFC_GET_SIGNAL_MAX = 0x1044, SFC_GET_MAX_ALL_CHANNELS = 0x1045, SFC_SET_ADD_PEAK_CHUNK = 0x1050, SFC_UPDATE_HEADER_NOW = 0x1060, SFC_SET_UPDATE_HEADER_AUTO = 0x1061, SFC_FILE_TRUNCATE = 0x1080, SFC_SET_RAW_START_OFFSET = 0x1090, /* Commands reserved for dithering, which is not implemented. */ SFC_SET_DITHER_ON_WRITE = 0x10A0, SFC_SET_DITHER_ON_READ = 0x10A1, SFC_GET_DITHER_INFO_COUNT = 0x10A2, SFC_GET_DITHER_INFO = 0x10A3, SFC_GET_EMBED_FILE_INFO = 0x10B0, SFC_SET_CLIPPING = 0x10C0, SFC_GET_CLIPPING = 0x10C1, SFC_GET_CUE_COUNT = 0x10CD, SFC_GET_CUE = 0x10CE, SFC_SET_CUE = 0x10CF, SFC_GET_INSTRUMENT = 0x10D0, SFC_SET_INSTRUMENT = 0x10D1, SFC_GET_LOOP_INFO = 0x10E0, SFC_GET_BROADCAST_INFO = 0x10F0, SFC_SET_BROADCAST_INFO = 0x10F1, SFC_GET_CHANNEL_MAP_INFO = 0x1100, SFC_SET_CHANNEL_MAP_INFO = 0x1101, SFC_RAW_DATA_NEEDS_ENDSWAP = 0x1110, /* Support for Wavex Ambisonics Format */ SFC_WAVEX_SET_AMBISONIC = 0x1200, SFC_WAVEX_GET_AMBISONIC = 0x1201, /* ** RF64 file

资源文件列表:

libsndfile-1.2.2-win64.zip 大约有41个文件
  1. bin/
  2. bin/sndfile-cmp.exe 142KB
  3. bin/sndfile-concat.exe 140.5KB
  4. bin/sndfile-convert.exe 150.5KB
  5. bin/sndfile-deinterleave.exe 143.5KB
  6. bin/sndfile-info.exe 168.5KB
  7. bin/sndfile-interleave.exe 140.5KB
  8. bin/sndfile-metadata-get.exe 143.5KB
  9. bin/sndfile-metadata-set.exe 178KB
  10. bin/sndfile-play.exe 141KB
  11. bin/sndfile-salvage.exe 166.5KB
  12. bin/sndfile.dll 2.48MB
  13. cmake/
  14. cmake/SndFileConfig.cmake 1.93KB
  15. cmake/SndFileConfigVersion.cmake 2.76KB
  16. cmake/SndFileTargets-release.cmake 920B
  17. cmake/SndFileTargets.cmake 3.79KB
  18. include/
  19. include/sndfile.h 29.73KB
  20. include/sndfile.hh 13.59KB
  21. lib/
  22. lib/sndfile.lib 9.19KB
  23. share/
  24. share/doc/
  25. share/doc/libsndfile/
  26. share/doc/libsndfile/api.md 35.17KB
  27. share/doc/libsndfile/bugs.md 2.1KB
  28. share/doc/libsndfile/command.md 50.82KB
  29. share/doc/libsndfile/embedded_files.md 748B
  30. share/doc/libsndfile/FAQ.md 23.94KB
  31. share/doc/libsndfile/formats.md 9.86KB
  32. share/doc/libsndfile/index.md 17.36KB
  33. share/doc/libsndfile/libsndfile.css 1.8KB
  34. share/doc/libsndfile/libsndfile.jpg 21.53KB
  35. share/doc/libsndfile/lists.md 1.19KB
  36. share/doc/libsndfile/new_file_type_howto.md 4.69KB
  37. share/doc/libsndfile/octave.md 3.14KB
  38. share/doc/libsndfile/print.css 136B
  39. share/doc/libsndfile/sndfile_info.md 964B
  40. share/doc/libsndfile/tutorial.md 294B
  41. share/doc/libsndfile/win32.md 649B
0评论
提交 加载更多评论
其他资源 es6-shim-0.35.6.zip
es6-shim-0.35.6.zip
会飞的超人源码会飞的超人源码
会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码会飞的超人源码
26_石敏永_CJ3Z03A单片机原理及应用实验报告.zip
26_石敏永_CJ3Z03A单片机原理及应用实验报告.zip
26_石敏永_CJ3Z03A单片机原理及应用实验报告.zip 26_石敏永_CJ3Z03A单片机原理及应用实验报告.zip 26_石敏永_CJ3Z03A单片机原理及应用实验报告.zip
基于规则“SunThu-00:02:00-00:03:00,Mon-16:59:00-20:00:00”时间范围检查(C语言)
规则: 1、Mon、Tue、Wed...表示一周的某一天; 2、00:02:00-00:03:00表示一天之内的某一时间段; 3、SunThu|00:02:00-00:03:00表示某天(和某天)的某一时间段; 4、SunThu|00:02:00-00:03:00,Mon|16:59:00-20:00:00表示某天(和某天)的某一时间段和表示某天(和某天)的某一时间段,一组内可包括一至七天,一组内只能包括一个时间段。 基于以上规则,使用C语言实现检查当前时间点是否在规则规定的时间段内,使用方式: ./time_range_check "SunThu|00:02:00-00:03:00,Mon|16:59:00-20:00:00,FriSun|00:02:00-23:30:59,Sun|15:59:00-20:00:00" 规则格式正确 当前时间点在规则内
github自学教程-初级入门者必看
这个教程包括如下内容: 1. 初识 GitHub 2. 加入 GitHub 3. Git 速成 4. 向 GitHub 提交代码 5. Git 进阶 6. 团队合作利器:Git 分支详解 7. GitHub 常见的几种操作 8. 发现好用的开源项目 希望通过这个教程,人人可以很方便的掌握 Git/GitHub 的使用。
github自学教程-初级入门者必看 github自学教程-初级入门者必看 github自学教程-初级入门者必看
Python标准库中文版教程
Python 2.0 发布附带了一个包含200 个以上模块的可扩展的标准库. 本书简要 地介绍每个模块并提供至少一个例子来说明如何使用它. 本书一共包含360 个 例子. 本书使用DocBook SGML 编写, 我使用了一系列的工具, 包括Secret Labs' PythonWorks, Excosoft Documentor, James Clark's Jade DSSSL processor, Norm Walsh's DocBook stylesheets, 当然,还有一些 Python 脚本. 本书使用以下习惯用法:斜体 用于文件名和命令. 还用于定义术语.等宽字体 e.g. Python 用于代码以及方法,模块,操作符,函数,语句,属性等的名称.等宽粗体 用于代码执行结果.
Python标准库中文版教程 Python标准库中文版教程 Python标准库中文版教程
C#上位机 设计与开发以及数据解析示波器显示
本套程序C#上位机制作端口号、接收信息框、发送信息框,10进制 16进制显示等。发送数据进行解析,对数据进行 解包分析,并且有示波器显示,在数据分析中有序号、开火(0或1发送的数据16进制00或者01)是否起飞(0或1)、包头、飞机的架数,达到设定的 飞机架数将会弹出err,奇偶检验位等操作。
课程设计-物联网2201-蔡宇-3220611021.zip
课程设计-物联网2201-蔡宇-3220611021.zip