Lines Matching defs:inPath
400 static SNDFILE *open_snd_file(lame_t gfp, char const *inPath);
402 static FILE *open_mpeg_file(lame_t gfp, char const *inPath, int *enc_delay, int *enc_padding);
403 static FILE *open_wave_file(lame_t gfp, char const *inPath, int *enc_delay, int *enc_padding);
634 init_infile(lame_t gfp, char const *inPath)
650 global. music_in = open_mpeg_file(gfp, inPath, &enc_delay, &enc_padding);
654 if (strcmp(inPath, "-") != 0) { /* not for stdin */
655 global. snd_file = open_snd_file(gfp, inPath);
659 global. music_in = open_wave_file(gfp, inPath, &enc_delay, &enc_padding);
1056 open_snd_file(lame_t gfp, char const *inPath)
1058 char const *lpszFileName = inPath;
1854 open_mpeg_file_part2(lame_t gfp, FILE* musicin, char const *inPath, int *enc_delay, int *enc_padding)
1859 error_printf("Error opening MPEG input file %s.\n", inPath);
1867 error_printf("Error reading headers in mp3 input file %s.\n", inPath);
1885 open_wave_file(lame_t gfp, char const *inPath, int *enc_delay, int *enc_padding)
1892 if (!strcmp(inPath, "-")) {
1896 if ((musicin = lame_fopen(inPath, "rb")) == NULL) {
1898 error_printf("Could not find \"%s\".\n", inPath);
1926 if (open_mpeg_file_part2(gfp, musicin, inPath, enc_delay, enc_padding))
1952 open_mpeg_file(lame_t gfp, char const *inPath, int *enc_delay, int *enc_padding)
1959 if (strcmp(inPath, "-") == 0) {
1964 musicin = lame_fopen(inPath, "rb");
1967 error_printf("Could not find \"%s\".\n", inPath);
1973 if (-1 == lame_decode_initfile_amiga(inPath, &global_decoder.mp3input_data)) {
1975 error_printf("Error reading headers in mp3 input file %s.\n", inPath);
1981 if ( 0 == open_mpeg_file_part2(gfp, musicin, inPath, enc_delay, enc_padding) ) {