Lines Matching defs:file
3 * File:
13 * you may not use this file except in compliance with the License.
47 /* default file to play if no filename is specified on the command line */
64 * This function plays the file requested by filename
84 EAS_FILE file;
86 /* determine the name of the output file */
99 /* call EAS library to open file */
100 file.path = filename;
101 file.fd = 0;
102 if ((reportResult = EAS_OpenFile(easData, &file, &handle)) != EAS_SUCCESS)
108 /* prepare to play the file */
125 /* create the output file */
129 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Unable to create output file %s\n", waveFilename); */ }
163 /* write it to the wave file */
186 /* close the output file */
191 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Error closing wave file %s\n", waveFilename); */ }
197 /* close the input file */
228 FILE *debugFile;
252 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_WARNING, "Unable to create debug file %s\n", &argv[i][2]); */ }
304 * In this case, just play the default MIDI file "test.mid"
311 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Error %d playing file %s\n", playResult, defaultTestFile); */ }
326 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_ERROR, "Error %d playing file %s\n", playResult, argv[i]); */ }
342 /* close the debug file */
378 * Changes the file extension of a filename
415 * file used to build this code.
451 /* check it against the header file used to build this code */