/dports/audio/audacity/audacity-Audacity-3.1.3/cmake-proxies/cmake-modules/ |
H A D | FindSndFile.cmake | 9 pkg_check_modules( PC_SndFile QUIET sndfile ) 11 find_path( SndFile_INCLUDE_DIR sndfile.h 19 sndfile 29 if( NOT TARGET SndFile::sndfile ) 30 add_library( SndFile::sndfile INTERFACE IMPORTED GLOBAL ) 32 target_include_directories( SndFile::sndfile INTERFACE ${SndFile_INCLUDE_DIR} ) 33 target_link_libraries( SndFile::sndfile INTERFACE ${SndFile_LIBRARIES} )
|
/dports/audio/openal-soft/openal-soft-1.21.1/examples/ |
H A D | alconvolve.c | 98 SNDFILE *sndfile; member 128 if(player->sndfile) in ClosePlayerFile() 130 player->sndfile = NULL; in ClosePlayerFile() 156 if(!player->sndfile) in OpenPlayerFile() 183 player->sndfile = NULL; in OpenPlayerFile() 316 SNDFILE *sndfile; in LoadSound() local 324 if(!sndfile) in LoadSound() 332 sf_close(sndfile); in LoadSound() 357 sf_close(sndfile); in LoadSound() 378 sf_close(sndfile); in LoadSound() [all …]
|
H A D | allatency.c | 61 SNDFILE *sndfile; in LoadSound() local 68 sndfile = sf_open(filename, SFM_READ, &sfinfo); in LoadSound() 69 if(!sndfile) in LoadSound() 71 fprintf(stderr, "Could not open audio in %s: %s\n", filename, sf_strerror(sndfile)); in LoadSound() 77 sf_close(sndfile); in LoadSound() 89 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) in LoadSound() 94 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) in LoadSound() 100 sf_close(sndfile); in LoadSound() 107 num_frames = sf_readf_short(sndfile, membuf, sfinfo.frames); in LoadSound() 111 sf_close(sndfile); in LoadSound() [all …]
|
H A D | alstream.c | 53 SNDFILE *sndfile; member 120 player->sndfile = sf_open(filename, SFM_READ, &player->sfinfo); in OpenPlayerFile() 121 if(!player->sndfile) in OpenPlayerFile() 134 if(sf_command(player->sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) in OpenPlayerFile() 145 sf_close(player->sndfile); in OpenPlayerFile() 146 player->sndfile = NULL; in OpenPlayerFile() 159 if(player->sndfile) in ClosePlayerFile() 160 sf_close(player->sndfile); in ClosePlayerFile() 161 player->sndfile = NULL; in ClosePlayerFile() 181 sf_count_t slen = sf_readf_short(player->sndfile, player->membuf, BUFFER_SAMPLES); in StartPlayer() [all …]
|
H A D | alhrtf.c | 58 SNDFILE *sndfile; 65 sndfile = sf_open(filename, SFM_READ, &sfinfo); 66 if(!sndfile) 68 fprintf(stderr, "Could not open audio in %s: %s\n", filename, sf_strerror(sndfile)); 74 sf_close(sndfile); 86 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) 91 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) 97 sf_close(sndfile); 104 num_frames = sf_readf_short(sndfile, membuf, sfinfo.frames); 108 sf_close(sndfile); [all …]
|
H A D | alreverb.c | 156 SNDFILE *sndfile; in LoadSound() local 163 sndfile = sf_open(filename, SFM_READ, &sfinfo); in LoadSound() 164 if(!sndfile) in LoadSound() 166 fprintf(stderr, "Could not open audio in %s: %s\n", filename, sf_strerror(sndfile)); in LoadSound() 172 sf_close(sndfile); in LoadSound() 184 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) in LoadSound() 189 if(sf_command(sndfile, SFC_WAVEX_GET_AMBISONIC, NULL, 0) == SF_AMBISONIC_B_FORMAT) in LoadSound() 195 sf_close(sndfile); in LoadSound() 202 num_frames = sf_readf_short(sndfile, membuf, sfinfo.frames); in LoadSound() 206 sf_close(sndfile); in LoadSound() [all …]
|
/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/sndfile/ |
H A D | plugin.cc | 139 if (! sndfile) in read_tag() 142 copy_string (sndfile, SF_STR_TITLE, tuple, Tuple::Title); in read_tag() 143 copy_string (sndfile, SF_STR_ARTIST, tuple, Tuple::Artist); in read_tag() 144 copy_string (sndfile, SF_STR_ALBUM, tuple, Tuple::Album); in read_tag() 145 copy_string (sndfile, SF_STR_COMMENT, tuple, Tuple::Comment); in read_tag() 146 copy_string (sndfile, SF_STR_GENRE, tuple, Tuple::Genre); in read_tag() 147 copy_int (sndfile, SF_STR_DATE, tuple, Tuple::Year); in read_tag() 148 copy_int (sndfile, SF_STR_TRACKNUMBER, tuple, Tuple::Track); in read_tag() 150 sf_close (sndfile); in read_tag() 314 if (sndfile == nullptr) in play() [all …]
|
/dports/audio/libsndfile/libsndfile-1.0.31/docs/ |
H A D | command.md | 93 sndfile 130 sndfile 167 sndfile 197 sndfile 227 sndfile 257 sndfile 287 sndfile 316 sndfile 346 sndfile 386 sndfile [all …]
|
/dports/audio/moc/moc-2.5.2/decoder_plugins/sndfile/ |
H A D | sndfile.m4 | 3 AC_ARG_WITH(sndfile, AS_HELP_STRING([--without-sndfile], optwith 8 PKG_CHECK_MODULES(sndfile, sndfile >= 1.0.0, 12 DECODER_PLUGINS="$DECODER_PLUGINS sndfile"], 17 AC_CONFIG_FILES([decoder_plugins/sndfile/Makefile])
|
/dports/multimedia/qmmp-qt5/qmmp-1.5.2/src/plugins/Input/sndfile/ |
H A D | decodersndfilefactory.cpp | 142 SNDFILE *sndfile = nullptr; in createPlayList() local 148 sndfile = sf_open(path.toLocal8Bit().constData(), SFM_READ, &snd_info); in createPlayList() 150 if(!sndfile) in createPlayList() 158 const char *title = sf_get_string(sndfile, SF_STR_TITLE); in createPlayList() 160 const char *date = sf_get_string(sndfile, SF_STR_DATE); in createPlayList() 162 const char *album = sf_get_string(sndfile, SF_STR_ALBUM); in createPlayList() 164 const char *track = sf_get_string(sndfile, SF_STR_TRACKNUMBER); in createPlayList() 166 const char *artist = sf_get_string(sndfile, SF_STR_ARTIST); in createPlayList() 168 const char *comment = sf_get_string(sndfile, SF_STR_COMMENT); in createPlayList() 170 const char *genre = sf_get_string(sndfile, SF_STR_GENRE); in createPlayList() [all …]
|
/dports/audio/zmusic/ZMusic-1.1.8/cmake/ |
H A D | FindSndFile.cmake | 17 find_path(SNDFILE_INCLUDE_DIR NAMES sndfile.h) 21 find_library(SNDFILE_LIBRARY NAMES sndfile sndfile-1) 30 add_library(sndfile UNKNOWN IMPORTED GLOBAL) 31 set_target_properties(sndfile 37 add_library(SndFile::sndfile ALIAS sndfile)
|
/dports/audio/libsndfile/libsndfile-1.0.31/programs/ |
H A D | sndfile-salvage.c | 80 static void copy_data (int fd, SNDFILE * sndfile, int readsize) ; 93 { SNDFILE * sndfile ; in salvage_file() local 114 if ((sndfile = sf_open (broken_wav, SFM_READ, &sfinfo)) == NULL) in salvage_file() 118 sf_close (sndfile) ; in salvage_file() 165 if ((sndfile = sf_open (fixed_w64, SFM_WRITE, &sfinfo)) == NULL) in salvage_file() 172 copy_data (fd, sndfile, read_size) ; in salvage_file() 174 sf_close (sndfile) ; in salvage_file() 259 copy_data (int fd, SNDFILE * sndfile, int readsize) in copy_data() argument 273 if ((count = sf_write_raw (sndfile, buffer, readlen)) != readlen) in copy_data() 274 { printf ("Error : sf_write_raw returned %" PRId64 " : %s\n", count, sf_strerror (sndfile)) ; in copy_data()
|
H A D | sndfile-play.c | 93 SNDFILE *sndfile ; in alsa_play() local 102 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in alsa_play() 141 sf_close (sndfile) ; in alsa_play() 365 SNDFILE *sndfile ; in opensoundsys_play() local 373 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in opensoundsys_play() 417 sf_close (sndfile) ; in opensoundsys_play() 500 SNDFILE *sndfile ; member 576 audio_data.sndfile = NULL ; in win32_play() 661 sf_close (audio_data.sndfile) ; in win32_play() 679 SNDFILE *sndfile ; in sndio_play() local [all …]
|
/dports/audio/artyfx-lv2/openAV-ArtyFX-release-1.3-24-g6010d1a/src/dsp/ |
H A D | capta.cxx | 46 sndfile = 0; in Capta() 96 … sndfile = new SndfileHandle( p.str().c_str(), SFM_WRITE, SF_FORMAT_WAV | SF_FORMAT_FLOAT, 4, sr ); in diskFunc() 105 if( sndfile ) in diskFunc() 106 sndfile->write( tmpAudioBuffer, nsamps/sizeof(float) ); in diskFunc() 113 sndfile->writeSync(); in diskFunc() 114 delete sndfile; in diskFunc() 115 sndfile = 0; in diskFunc() 123 if( sndfile ) { in diskFunc() 125 delete sndfile; in diskFunc()
|
/dports/audio/liquidsfz/liquidsfz-0.2.3/lib/ |
H A D | samplecache.hh | 86 SNDFILE *sndfile = sf_open (filename.c_str(), SFM_READ, &sfinfo); in load() local 88 int error = sf_error (sndfile); in load() 92 if (sndfile) in load() 93 sf_close (sndfile); in load() 100 if (sf_command (sndfile, SFC_GET_INSTRUMENT, &instrument, sizeof (instrument)) == SF_TRUE) in load() 125 count = sf_readf_float (sndfile, &fsamples[0], sfinfo.frames); in load() 138 count = sf_readf_short (sndfile, &isamples[0], sfinfo.frames); in load() 145 error = sf_close (sndfile); in load()
|
/dports/audio/libsamplerate/libsamplerate-0.2.2/cmake/ |
H A D | FindSndFile.cmake | 15 pkg_check_modules(PC_SndFile QUIET sndfile) 19 find_path(SndFile_INCLUDE_DIR sndfile.h 25 find_library(SndFile_LIBRARY NAMES sndfile 44 if(NOT TARGET SndFile::sndfile) 45 add_library(SndFile::sndfile UNKNOWN IMPORTED) 46 set_target_properties(SndFile::sndfile PROPERTIES
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/CMake/ |
H A D | FindSndfile.cmake | 1 # Find sndfile library 5 # SNDFILE_INCLUDE_DIRS - where to find sndfile.h, etc 6 # SNDFILE_LIBRARIES - Lists of libraries when using sndfile 7 # SNDFILE_FOUND - True if sndfile found 12 find_path(SNDFILE_INCLUDE_DIR NAMES sndfile.h) 16 set(SNDFILE_LIBS sndfile)
|
/dports/audio/denemo/denemo-2.0.6/src/source/ |
H A D | sourceaudio.c | 212 gpointer sndfile = sf_open (filename, SFM_READ, &sfinfo); in open_source_audio() local 213 if (sndfile) in open_source_audio() 217 temp->sndfile = sndfile; in open_source_audio() 221 temp->nframes = (int) sf_seek (temp->sndfile, -1, SEEK_END); in open_source_audio() 260 if (Denemo.project->movement->recording->sndfile == NULL) in rewind_audio() 287 sf_seek (Denemo.project->movement->recording->sndfile, startframe, SEEK_SET); in rewind_audio() 573 gpointer sndfile = sf_open (filename, SFM_READ, &sfinfo); in open_source_audio() local 574 if (sndfile) in open_source_audio() 578 temp->sndfile = sndfile; in open_source_audio() 582 temp->nframes = (int) sf_seek (temp->sndfile, -1, SEEK_END); in open_source_audio() [all …]
|
/dports/audio/sox/sox-14.4.2/m4/ |
H A D | sndfile.m4 | 17 PKG_CHECK_MODULES(SNDFILE, sndfile, have_sndfile="maybe", 21 if test "$PKGCONFIG" != "none" && `$PKGCONFIG --exists sndfile` 23 SNDFILE_CFLAGS=`$PKGCONFIG --cflags sndfile`" $ac_save_SNDFILE_CFLAGS $SNDFILE_CFLAGS" 24 SNDFILE_LIBS=`$PKGCONFIG --libs sndfile`" $ac_save_SNDFILE_LIBS $SNDFILE_LIBS" 50 AC_CHECK_HEADER([sndfile.h], [ 51 AC_DEFINE([HAVE_SNDFILE_H], 1, [Define if you have <sndfile.h>]) 56 …FINE([HAVE_SNDFILE_1_0_18], 1, [Define if you have libsndfile >= 1.0.18]),, [#include <sndfile.h>]) 57 …, [Define if you have libsndfile with SFC_SFC_SET_SCALE_INT_FLOAT_WRITE]),, [#include <sndfile.h>])
|
/dports/audio/libsamplerate/libsamplerate-0.2.2/tests/ |
H A D | src-evaluate.c | 259 SNDFILE *sndfile ; in generate_source_wav() local 266 if ((sndfile = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL) in generate_source_wav() 271 sf_command (sndfile, SFC_SET_ADD_PEAK_CHUNK, NULL, SF_FALSE) ; in generate_source_wav() 280 sf_close (sndfile) ; in generate_source_wav() 287 SNDFILE *sndfile ; in measure_destination_wav() local 291 if ((sndfile = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in measure_destination_wav() 313 sf_close (sndfile) ; in measure_destination_wav() 377 SNDFILE *sndfile ; in measure_destination_peak() local 382 if ((sndfile = sf_open (filename, SFM_READ, &sfinfo)) == NULL) in measure_destination_peak() 397 if (sf_read_float (sndfile, data, sfinfo.frames) != sfinfo.frames) in measure_destination_peak() [all …]
|
/dports/audio/libsndfile/libsndfile-1.0.31/src/ |
H A D | sndfile.c | 444 sf_close (SNDFILE *sndfile) in sf_close() argument 490 sf_strerror (SNDFILE *sndfile) in sf_strerror() argument 494 if (sndfile == NULL) in sf_strerror() 518 sf_error (SNDFILE *sndfile) in sf_error() argument 521 if (sndfile == NULL) in sf_error() 536 sf_perror (SNDFILE *sndfile) in sf_perror() argument 540 if (sndfile == NULL) in sf_perror() 564 if (sndfile == NULL) in sf_error_str() 3320 SNDFILE *sndfile = iterator ? iterator->sndfile : NULL ; in sf_next_chunk_iterator() local 3333 SNDFILE *sndfile = iterator ? iterator->sndfile : NULL ; in sf_get_chunk_size() local [all …]
|
/dports/audio/abx/abx-0.0-b1/src/ |
H A D | soundfile.h | 41 extern int close_sound_file(Sound_file *sndfile); 42 extern Metadata get_metadata(Sound_file *sndfile); 43 extern double seek_sound_file(Sound_file *sndfile, double offset, 45 extern unsigned int read_pcm_data(Sound_file *sndfile,
|
/dports/audio/sweep/sweep-0.9.3/src/ |
H A D | file_sndfile1.c | 84 sf_error_str (sndfile, buf, BUF_LEN); 564 SNDFILE * sndfile; 596 SNDFILE * sndfile = sf->sndfile; 624 n = sf_readf_float (sndfile, d, n); 643 sf_close (sndfile) ; 671 SNDFILE * sndfile; 775 sf->sndfile = sndfile; 805 SNDFILE *sndfile; 854 n = sf_writef_float (sndfile, fbuf, len); 883 n = sf_writef_float (sndfile, fbuf, len); [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/cmake_modules/ |
H A D | FindSndfile.cmake | 1 # - Find sndfile 2 # Find the native sndfile includes and libraries 4 # SNDFILE_INCLUDE_DIR - where to find sndfile.h, etc. 10 # message(STATUS "FindSndfile: sndfile deactivated (NO_LIBSNDFILE)") 22 find_path(SNDFILE_INCLUDE_DIR sndfile.h 49 find_path(SNDFILE_INCLUDE_DIR sndfile.h 59 NAMES sndfile sndfile-1 libsndfile libsndfile-1
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/plugins/ |
H A D | DiskIO_UGens.cpp | 114 …count = buf->sndfile ? sf_readf_float(buf->sndfile, buf->data + mPos * buf->channels, mFrames) : 0; in Perform() 125 if (!buf->sndfile) { in Perform() 129 count = sf_readf_float(buf->sndfile, buf->data + mPos * buf->channels, mFrames); in Perform() 131 sf_seek(buf->sndfile, 0, SEEK_SET); in Perform() 137 if (!buf->sndfile) in Perform() 288 if (!bufr->sndfile) in DiskIn_next() 292 sf_seek(bufr->sndfile, 0, SEEK_SET); in DiskIn_next() 297 … bufr->sndfile ? sf_readf_float(bufr->sndfile, bufr->data + mPos * bufr->channels, bufFrames2) : 0; in DiskIn_next() 470 if (!bufr->sndfile) in VDiskIn_request_buffer() 474 sf_seek(bufr->sndfile, 0, SEEK_SET); in VDiskIn_request_buffer() [all …]
|