Lines Matching refs:FILE
35 #include <stdio.h> /* for FILE */
45 /** \file include/FLAC/stream_encoder.h
62 * client via callbacks, or directly to a file, depending on how it is
68 * a file, the client needs only supply a filename or open \c FILE* and an
143 * callbacks, and two for encoding directly to a file.
153 * For encoding directly to a file, use FLAC__stream_encoder_init_FILE()
155 * filename or open \c FILE*; the encoder will handle all the callbacks
210 * If you are writing the FLAC data to a file via callbacks, make sure it
215 * FLAC__stream_encoder_init*_FILE(), the file is managed internally.)
268 /**< An I/O error occurred while opening/reading/writing a file.
486 * FILE *file = ((MyClientData*)client_data)->file;
488 * *bytes = fread(buffer, sizeof(FLAC__byte), *bytes, file);
489 * if(ferror(file))
569 * FILE *file = ((MyClientData*)client_data)->file;
570 * if(file == stdin)
572 * else if(fseeko(file, (off_t)absolute_byte_offset, SEEK_SET) < 0)
602 * FILE* from your write callback, ftell() is sufficient. If you are
603 * writing directly to a file descriptor from your write callback, you
611 * FILE *file = ((MyClientData*)client_data)->file;
613 * if(file == stdin)
615 * else if((pos = ftello(file)) < 0)
642 * is so the client can seek back to the beginning of the file and write the
806 * the encoder expends to compress the file. A higher level usually
1414 * For encoding to a plain file via filename or open \c FILE*,
1477 * client. For encoding to a plain file via filename or open \c FILE*,
1544 * plain native FLAC file. For non-stdio streams, you must use
1553 * \param file An open file. The file should have been opened
1554 * with mode \c "w+b" and rewound. The file
1557 * Unless \a file is \c stdout, it will be closed
1569 * \code file != NULL \endcode
1574 FLAC_API FLAC__StreamEncoderInitStatus FLAC__stream_encoder_init_FILE(FLAC__StreamEncoder *encoder, FILE *file, FLAC__StreamEncoderProgressCallback progress_callback, void *client_data);
1579 * plain Ogg FLAC file. For non-stdio streams, you must use
1588 * \param file An open file. The file should have been opened
1589 * with mode \c "w+b" and rewound. The file
1592 * Unless \a file is \c stdout, it will be closed
1604 * \code file != NULL \endcode
1609 FLAC_API FLAC__StreamEncoderInitStatus FLAC__stream_encoder_init_ogg_FILE(FLAC__StreamEncoder *encoder, FILE *file, FLAC__StreamEncoderProgressCallback progress_callback, void *client_data);
1614 * FLAC file. If POSIX fopen() semantics are not sufficient (for example,
1625 * \param filename The name of the file to encode to. The file will
1646 * Ogg FLAC file. If POSIX fopen() semantics are not sufficient (for example,
1657 * \param filename The name of the file to encode to. The file will
1684 * ensure the file was encoded properly.