Home
last modified time | relevance | path

Searched refs:sfinfo (Results 1 - 25 of 49) sorted by relevance

12

/third_party/libsnd/tests/
H A Dogg_opus_test.c54 SF_INFO sfinfo ; in ogg_opus_short_test() local
67 memset (&sfinfo, 0, sizeof (sfinfo)) ; in ogg_opus_short_test()
70 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_OPUS ; in ogg_opus_short_test()
71 sfinfo.channels = 1 ; in ogg_opus_short_test()
72 sfinfo.samplerate = SAMPLE_RATE ; in ogg_opus_short_test()
75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_opus_short_test()
80 memset (&sfinfo, 0, sizeof (sfinfo)) ; in ogg_opus_short_test()
82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALS in ogg_opus_short_test()
112 SF_INFO sfinfo ; ogg_opus_int_test() local
167 SF_INFO sfinfo ; ogg_opus_float_test() local
216 SF_INFO sfinfo ; ogg_opus_double_test() local
267 SF_INFO sfinfo ; ogg_opus_stereo_seek_test() local
337 SF_INFO sfinfo ; ogg_opus_original_samplerate_test() local
[all...]
H A Dmpeg_test.c55 SF_INFO sfinfo ; in mpeg_short_test() local
68 memset (&sfinfo, 0, sizeof (sfinfo)) ; in mpeg_short_test()
71 sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ; in mpeg_short_test()
72 sfinfo.channels = 1 ; in mpeg_short_test()
73 sfinfo.samplerate = SAMPLE_RATE ; in mpeg_short_test()
76 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in mpeg_short_test()
81 memset (&sfinfo, 0, sizeof (sfinfo)) ; in mpeg_short_test()
83 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALS in mpeg_short_test()
113 SF_INFO sfinfo ; mpeg_int_test() local
168 SF_INFO sfinfo ; mpeg_float_test() local
217 SF_INFO sfinfo ; mpeg_double_test() local
268 SF_INFO sfinfo ; mpeg_stereo_seek_test() local
[all...]
H A Dogg_test.c54 SF_INFO sfinfo ; in ogg_short_test() local
67 memset (&sfinfo, 0, sizeof (sfinfo)) ; in ogg_short_test()
70 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_VORBIS ; in ogg_short_test()
71 sfinfo.channels = 1 ; in ogg_short_test()
72 sfinfo.samplerate = SAMPLE_RATE ; in ogg_short_test()
75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in ogg_short_test()
80 memset (&sfinfo, 0, sizeof (sfinfo)) ; in ogg_short_test()
82 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALS in ogg_short_test()
112 SF_INFO sfinfo ; ogg_int_test() local
167 SF_INFO sfinfo ; ogg_float_test() local
216 SF_INFO sfinfo ; ogg_double_test() local
267 SF_INFO sfinfo ; ogg_stereo_seek_test() local
[all...]
H A Dlong_read_write_test.c92 SF_INFO sfinfo ; in short_lrw_test() local
100 sfinfo.samplerate = SAMPLE_RATE ; in short_lrw_test()
101 sfinfo.frames = out_len ; in short_lrw_test()
102 sfinfo.channels = 1 ; in short_lrw_test()
103 sfinfo.format = filetype ; in short_lrw_test()
105 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in short_lrw_test()
113 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in short_lrw_test()
115 exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in short_lrw_test()
116 exit_if_true (sfinfo in short_lrw_test()
138 SF_INFO sfinfo ; int_lrw_test() local
184 SF_INFO sfinfo ; float_lrw_test() local
230 SF_INFO sfinfo ; double_lrw_test() local
[all...]
H A Derror_test.c78 SF_INFO sfinfo ; in error_value_test() local
85 memset (&sfinfo, 0, sizeof (sfinfo)) ; in error_value_test()
87 file = sf_open (filename, SFM_READ, &sfinfo) ; in error_value_test()
106 SF_INFO sfinfo ; in no_file_test() local
112 memset (&sfinfo, 0, sizeof (sfinfo)) ; in no_file_test()
113 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in no_file_test()
124 SF_INFO sfinfo ; in zero_length_test() local
134 memset (&sfinfo, in zero_length_test()
150 SF_INFO sfinfo ; bad_wav_test() local
180 SF_INFO sfinfo ; wav_list_recover_test() local
221 SF_INFO sfinfo ; error_close_test() local
267 SF_INFO sfinfo ; unrecognised_test() local
[all...]
H A Dmisc_test.c229 SF_INFO sfinfo ; in zero_data_test() local
242 sfinfo.samplerate = 44100 ; in zero_data_test()
243 sfinfo.format = format ; in zero_data_test()
244 sfinfo.channels = 1 ; in zero_data_test()
245 sfinfo.frames = 0 ; in zero_data_test()
247 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in zero_data_test()
251 memset (&sfinfo, 0, sizeof (sfinfo)) ; in zero_data_test()
253 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in zero_data_test()
270 SF_INFO sfinfo ; in filesystem_full_test()
395 SF_INFO sfinfo ; wavex_amb_test() local
432 SF_INFO sfinfo ; rf64_downgrade_test() local
487 SF_INFO sfinfo ; rf64_long_file_downgrade_test() local
[all...]
H A Dheaderless_test.c60 SF_INFO sfinfo ; in headerless_test() local
70 sfinfo.samplerate = 8000 ; in headerless_test()
71 sfinfo.frames = 0 ; in headerless_test()
72 sfinfo.channels = 1 ; in headerless_test()
73 sfinfo.format = SF_FORMAT_RAW | format ; in headerless_test()
75 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in headerless_test()
88 /* We should be able to detect these so clear sfinfo. */ in headerless_test()
89 memset (&sfinfo, 0, sizeof (sfinfo)) ; in headerless_test()
91 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRU in headerless_test()
120 SF_INFO sfinfo ; old_test() local
[all...]
H A Dstring_test.c219 SF_INFO sfinfo ; in string_start_end_test() local
225 memset (&sfinfo, 0, sizeof (sfinfo)) ; in string_start_end_test()
226 sfinfo.samplerate = 44100 ; in string_start_end_test()
227 sfinfo.channels = 1 ; in string_start_end_test()
228 sfinfo.frames = 0 ; in string_start_end_test()
229 sfinfo.format = typemajor | SF_FORMAT_PCM_16 ; in string_start_end_test()
231 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in string_start_end_test()
242 test_seek_or_die (file, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ; in string_start_end_test()
253 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRU in string_start_end_test()
368 SF_INFO sfinfo ; string_start_test() local
553 SF_INFO sfinfo ; string_multi_set_test() local
622 SF_INFO sfinfo ; string_rdwr_test() local
675 SF_INFO sfinfo ; string_short_rdwr_test() local
786 SF_INFO sfinfo ; string_rdwr_grow_test() local
844 SF_INFO sfinfo , sfinfo1 ; string_header_update() local
[all...]
H A Dlossy_comp_test.c651 SF_INFO sfinfo ; in lcomp_test_short() local
668 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_short()
669 sfinfo.frames = 123456789 ; /* Ridiculous value. */ in lcomp_test_short()
670 sfinfo.channels = channels ; in lcomp_test_short()
671 sfinfo.format = filetype ; in lcomp_test_short()
673 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short()
681 memset (&sfinfo, 0, sizeof (sfinfo)) ; in lcomp_test_short()
683 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; in lcomp_test_short()
685 if ((sfinfo in lcomp_test_short()
838 SF_INFO sfinfo ; lcomp_test_int() local
1036 SF_INFO sfinfo ; lcomp_test_float() local
1231 SF_INFO sfinfo ; lcomp_test_double() local
1427 SF_INFO sfinfo ; sdlcomp_test_short() local
1647 SF_INFO sfinfo ; sdlcomp_test_int() local
1871 SF_INFO sfinfo ; sdlcomp_test_float() local
2118 SF_INFO sfinfo ; sdlcomp_test_double() local
2362 SF_INFO sfinfo ; read_raw_test() local
[all...]
H A Dcommand_test.c230 SF_INFO sfinfo ; in float_norm_test() local
235 sfinfo.samplerate = 44100 ; in float_norm_test()
236 sfinfo.format = (SF_FORMAT_RAW | SF_FORMAT_PCM_16) ; in float_norm_test()
237 sfinfo.channels = 1 ; in float_norm_test()
238 sfinfo.frames = BUFFER_LEN ; in float_norm_test()
246 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in float_norm_test()
270 /* sfinfo struct should still contain correct data. */ in float_norm_test()
271 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in float_norm_test()
278 if (sfinfo.format != (SF_FORMAT_RAW | SF_FORMAT_PCM_16)) in float_norm_test()
279 { printf ("Line %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, (SF_FORMAT_RAW | SF_FORMAT_PCM_16), sfinfo in float_norm_test()
346 SF_INFO sfinfo ; double_norm_test() local
462 SF_INFO sfinfo ; format_tests() local
558 SF_INFO sfinfo ; calc_peak_test() local
673 SF_INFO sfinfo ; truncate_test() local
707 SF_INFO sfinfo ; instrumet_rw_test() local
749 SF_INFO sfinfo ; instrument_test() local
896 SF_INFO sfinfo ; cue_rw_test() local
938 SF_INFO sfinfo ; cue_test() local
1000 SF_INFO sfinfo ; cue_test_var() local
1104 SF_INFO sfinfo ; broadcast_test() local
1192 SF_INFO sfinfo ; broadcast_rdwr_test() local
1230 SF_INFO sfinfo ; check_coding_history_newlines() local
1300 SF_INFO sfinfo ; broadcast_coding_history_test() local
1404 SF_INFO sfinfo ; broadcast_coding_history_size() local
1467 SF_INFO sfinfo ; cart_test() local
1628 SF_INFO sfinfo ; cart_rdwr_test() local
1679 SF_INFO sfinfo ; channel_map_test() local
1749 SF_INFO sfinfo ; raw_needs_endswap_test() local
[all...]
H A Dpeak_chunk_test.c117 SF_INFO sfinfo ; in test_float_peak() local
122 memset (&sfinfo, 0, sizeof (sfinfo)) ; in test_float_peak()
123 sfinfo.samplerate = 44100 ; in test_float_peak()
124 sfinfo.format = filetype ; in test_float_peak()
125 sfinfo.channels = 4 ; in test_float_peak()
126 sfinfo.frames = 0 ; in test_float_peak()
128 frames = BUFFER_LEN / sfinfo.channels ; in test_float_peak()
141 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, 0, __LINE__) ; in test_float_peak()
156 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, in test_float_peak()
318 SF_INFO sfinfo ; read_write_peak_test() local
[all...]
H A Dcompression_size_test.c54 SF_INFO sfinfo ; in vorbis_test() local
66 memset (&sfinfo, 0, sizeof (sfinfo)) ; in vorbis_test()
67 sfinfo.format = SF_FORMAT_OGG | SF_FORMAT_VORBIS ; in vorbis_test()
68 sfinfo.channels = 1 ; in vorbis_test()
69 sfinfo.samplerate = SAMPLE_RATE ; in vorbis_test()
77 if ((file = sf_open (filename, SFM_WRITE, &sfinfo)) == NULL) in vorbis_test()
88 sfinfo.samplerate = 32000 ; in vorbis_test()
90 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in vorbis_test()
99 memset (&sfinfo, in vorbis_test()
125 SF_INFO sfinfo ; compression_size_test() local
[all...]
H A Draw_test.c64 SF_INFO sfinfo ; in raw_offset_test() local
70 sfinfo.samplerate = 44100 ; in raw_offset_test()
71 sfinfo.format = SF_FORMAT_RAW | typeminor ; in raw_offset_test()
72 sfinfo.channels = 1 ; in raw_offset_test()
73 sfinfo.frames = 0 ; in raw_offset_test()
75 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_TRUE, __LINE__) ; in raw_offset_test()
86 sndfile = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in raw_offset_test()
89 if (ABS (BUFFER_LEN - sfinfo.frames) > 1) in raw_offset_test()
90 { printf ("\n\nLine %d : Incorrect sample count (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, BUFFER_LEN) ; in raw_offset_test()
106 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo in raw_offset_test()
156 SF_INFO sfinfo ; bad_raw_test() local
[all...]
H A Dchunk_test.c109 SF_INFO sfinfo ; in chunk_test_helper() local
124 sfinfo.samplerate = 44100 ; in chunk_test_helper()
125 sfinfo.channels = 1 ; in chunk_test_helper()
126 sfinfo.frames = 0 ; in chunk_test_helper()
127 sfinfo.format = format ; in chunk_test_helper()
129 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, allow_fd, __LINE__) ; in chunk_test_helper()
151 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, allow_fd, __LINE__) ; in chunk_test_helper()
190 SF_INFO sfinfo ; in multichunk_test_helper() local
204 sfinfo.samplerate = 44100 ; in multichunk_test_helper()
205 sfinfo in multichunk_test_helper()
321 SF_INFO sfinfo ; wav_subchunk_test() local
391 SF_INFO sfinfo ; large_free_test() local
[all...]
H A Dfix_this.c78 SF_INFO sfinfo ; in lcomp_test_int() local
101 sfinfo.samplerate = SAMPLE_RATE ; in lcomp_test_int()
102 sfinfo.frames = 123456789 ; /* Ridiculous value. */ in lcomp_test_int()
103 sfinfo.channels = 1 ; in lcomp_test_int()
104 sfinfo.format = filetype ; in lcomp_test_int()
106 if (! (file = sf_open (filename, SFM_WRITE, &sfinfo))) in lcomp_test_int()
121 memset (&sfinfo, 0, sizeof (sfinfo)) ; in lcomp_test_int()
123 if (! (file = sf_open (filename, SFM_READ, &sfinfo))) in lcomp_test_int()
129 if ((sfinfo in lcomp_test_int()
[all...]
H A Dstdin_test.c142 SF_INFO sfinfo ; in stdin_test() local
146 { sfinfo.samplerate = 44100 ; in stdin_test()
147 sfinfo.format = SF_FORMAT_RAW | SF_FORMAT_PCM_16 ; in stdin_test()
148 sfinfo.channels = 1 ; in stdin_test()
149 sfinfo.frames = 0 ; in stdin_test()
152 memset (&sfinfo, 0, sizeof (sfinfo)) ; in stdin_test()
154 if ((file = sf_open_fd (fileno (stdin), SFM_READ, &sfinfo, SF_TRUE)) == NULL) in stdin_test()
167 if ((sfinfo.format & SF_FORMAT_TYPEMASK) != typemajor) in stdin_test()
172 if (sfinfo in stdin_test()
[all...]
H A Dlargefile_test.c53 SF_INFO sfinfo ; in largefile_test() local
58 sfinfo.samplerate = 44100 ; in largefile_test()
59 sfinfo.channels = 2 ; in largefile_test()
60 sfinfo.frames = 0 ; in largefile_test()
61 sfinfo.format = (filetype | SF_FORMAT_PCM_32) ; in largefile_test()
63 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in largefile_test()
70 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in largefile_test()
72 if ((sfinfo.frames * sfinfo.channels) / BUFFER_LEN != BUFFER_COUNT) in largefile_test()
H A Ddither_test.c139 SF_INFO sfinfo ; in dither_test() local
144 sfinfo.samplerate = 44100 ; in dither_test()
145 sfinfo.format = filetype ; in dither_test()
146 sfinfo.channels = 1 ; in dither_test()
147 sfinfo.frames = 0 ; in dither_test()
149 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_TRUE, __LINE__) ; in dither_test()
169 test_seek_or_die (file, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ; in dither_test()
173 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ; in dither_test()
175 if (sfinfo.frames != BUFFER_LEN) in dither_test()
176 { printf ("\n\nLine %d: Bad frame count %d (should be %d)\n\n", __LINE__, (int) sfinfo in dither_test()
[all...]
/third_party/libsnd/programs/
H A Dsndfile-convert.c107 report_format_error_exit (const char * argv0, SF_INFO * sfinfo) in report_format_error_exit() argument
108 { int old_format = sfinfo->format ; in report_format_error_exit()
109 int endian = sfinfo->format & SF_FORMAT_ENDMASK ; in report_format_error_exit()
110 int channels = sfinfo->channels ; in report_format_error_exit()
112 sfinfo->format = old_format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ; in report_format_error_exit()
114 if (endian && sf_format_check (sfinfo)) in report_format_error_exit()
119 sfinfo->channels = 1 ; in report_format_error_exit()
120 if (sf_format_check (sfinfo)) in report_format_error_exit()
129 sfe_container_name (sfinfo->format), sfe_codec_name (sfinfo in report_format_error_exit()
137 SF_INFO sfinfo ; main() local
[all...]
H A Dsndfile-info.c145 calc_decibels (SF_INFO * sfinfo, double max) in calc_decibels() argument
148 switch (sfinfo->format & SF_FORMAT_SUBMASK) in calc_decibels()
199 generate_duration_str (SF_INFO *sfinfo) in generate_duration_str() argument
203 if (sfinfo->samplerate < 1) in generate_duration_str()
206 if (sfinfo->frames / sfinfo->samplerate > 0x7FFFFFFF) in generate_duration_str()
209 seconds = (1.0 * sfinfo->frames) / sfinfo->samplerate ; in generate_duration_str()
221 SF_INFO sfinfo ; in info_dump() local
224 memset (&sfinfo, in info_dump()
286 SF_INFO sfinfo ; instrument_dump() local
327 SF_INFO sfinfo ; broadcast_dump() local
398 SF_INFO sfinfo ; chanmap_dump() local
474 SF_INFO sfinfo ; cart_dump() local
[all...]
H A Dsndfile-play.c94 SF_INFO sfinfo ; in alsa_play() local
99 { memset (&sfinfo, 0, sizeof (sfinfo)) ; in alsa_play()
102 if (! (sndfile = sf_open (argv [k], SFM_READ, &sfinfo))) in alsa_play()
107 if (sfinfo.channels < 1 || sfinfo.channels > 2) in alsa_play()
108 { printf ("Error : channels = %d.\n", sfinfo.channels) ; in alsa_play()
112 if ((alsa_dev = alsa_open (sfinfo.channels, (unsigned) sfinfo.samplerate, SF_FALSE)) == NULL) in alsa_play()
115 subformat = sfinfo in alsa_play()
366 SF_INFO sfinfo ; opensoundsys_play() local
501 SF_INFO sfinfo ; global() member
680 SF_INFO sfinfo ; sndio_play() local
739 SF_INFO sfinfo ; solaris_play() local
[all...]
H A Dsndfile-salvage.c100 SF_INFO sfinfo ; in salvage_file() local
119 memset (&sfinfo, 0, sizeof (sfinfo)) ; in salvage_file()
120 if ((sndfile = sf_open (broken_wav, SFM_READ, &sfinfo)) == NULL) in salvage_file()
126 data_offset = find_data_offset (fd, sfinfo.format & SF_FORMAT_TYPEMASK) ; in salvage_file()
130 switch (sfinfo.format & SF_FORMAT_TYPEMASK) in salvage_file()
133 sfinfo.format = SF_FORMAT_W64 | (sfinfo.format & SF_FORMAT_SUBMASK) ; in salvage_file()
141 switch (sfinfo.format & SF_FORMAT_SUBMASK) in salvage_file()
169 read_size *= sfinfo in salvage_file()
[all...]
/third_party/libsnd/include/
H A Dsndfile.hh75 SF_INFO sfinfo ; member
110 sf_count_t frames (void) const { return p ? p->sfinfo.frames : 0 ; } in frames()
111 int format (void) const { return p ? p->sfinfo.format : 0 ; } in format()
112 int channels (void) const { return p ? p->sfinfo.channels : 0 ; } in channels()
113 int samplerate (void) const { return p ? p->sfinfo.samplerate : 0 ; } in samplerate()
166 : sf (SF_NULL), sfinfo (), ref (1) in SNDFILE_ref()
182 p->sfinfo.frames = 0 ; in SndfileHandle()
183 p->sfinfo.channels = chans ; in SndfileHandle()
184 p->sfinfo.format = fmt ; in SndfileHandle()
185 p->sfinfo in SndfileHandle()
324 SF_INFO sfinfo ; formatCheck() local
[all...]
/third_party/libsnd/Octave/
H A Dsndfile.cc64 SF_INFO sfinfo ; in DEFUN_DLD() local
76 memset (&sfinfo, 0, sizeof (sfinfo)) ; in DEFUN_DLD()
80 if ((file = sf_open (filename.c_str (), SFM_READ, &sfinfo)) == NULL) in DEFUN_DLD()
85 if (sfinfo.frames > FOUR_GIG) in DEFUN_DLD()
86 printf ("This is a really huge file (%lld frames).\nYou may run out of memory trying to load it.\n", (long long) sfinfo.frames) ; in DEFUN_DLD()
90 dim (0) = sfinfo.frames ; in DEFUN_DLD()
91 dim (1) = sfinfo.channels ; in DEFUN_DLD()
96 float buffer [BUFFER_FRAMES * sfinfo.channels] ; in DEFUN_DLD()
104 if (total + readcount > sfinfo in DEFUN_DLD()
140 SF_INFO sfinfo ; DEFUN_DLD() local
[all...]
/third_party/libsnd/examples/
H A Dmake_sine.c53 SF_INFO sfinfo ; in main() local
62 memset (&sfinfo, 0, sizeof (sfinfo)) ; in main()
64 sfinfo.samplerate = SAMPLE_RATE ; in main()
65 sfinfo.frames = SAMPLE_COUNT ; in main()
66 sfinfo.channels = 2 ; in main()
67 sfinfo.format = (SF_FORMAT_WAV | SF_FORMAT_PCM_24) ; in main()
69 if (! (file = sf_open ("sine.wav", SFM_WRITE, &sfinfo))) in main()
75 if (sfinfo.channels == 1) in main()
79 else if (sfinfo in main()
[all...]

Completed in 11 milliseconds

12