Searched refs:sfinfo1 (Results 1 - 2 of 2) sorted by relevance
/third_party/libsnd/programs/ |
H A D | sndfile-cmp.c | 68 SF_INFO sfinfo1, sfinfo2 ; in compare() local 73 memset (&sfinfo1, 0, sizeof (SF_INFO)) ; in compare() 74 sf1 = sf_open (filename1, SFM_READ, &sfinfo1) ; in compare() 89 if (sfinfo1.samplerate != sfinfo2.samplerate) in compare() 94 if (sfinfo1.channels != sfinfo2.channels) in compare() 100 items = BUFLEN / sfinfo1.channels ; in compare() 108 for (i = 0 ; i < nread1 * sfinfo1.channels ; i++) in compare() 110 { retval = comparison_error ("PCM data", offset + i / sfinfo1.channels) ; in compare()
|
/third_party/libsnd/tests/ |
H A D | string_test.c | 844 SF_INFO sfinfo , sfinfo1 ; in string_header_update() local 875 memset (&sfinfo1, 0, sizeof (sfinfo1)) ; in string_header_update() 876 file1 = test_open_file_or_die (filename, SFM_READ, &sfinfo1, SF_TRUE, __LINE__) ; in string_header_update() 879 exit_if_true (frames != sfinfo1.frames, "\n\nLine %d : Frame count %" PRId64 " should be %" PRId64 ".\n", __LINE__, sfinfo1.frames, frames) ; in string_header_update()
|
Completed in 2 milliseconds