| .TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library" |
| .SH "NAME" |
| .LP |
| \fBMP4SetAudioProfileLevel\fR \- Sets the minimum MPEG\-4 audio profile and level required to render the contents of the file |
| .SH "SYNTAX" |
| .LP |
| #include <mp4.h> |
| .LP |
| bool \fBMP4SetAudioProfileLevel\fR( |
| .br |
| MP4FileHandle \fIhFile\fP, |
| .br |
| u_int8_t \fIprofileLevel\fP |
| .br |
| ) |
| .SH "ARGUMENTS" |
| .LP |
| .TP |
| \fIhFile\fP |
| Specifies the mp4 file to which the operation applies. |
| .SH "RETURN VALUES" |
| .LP |
| Upon success, true (1). Upon an error, false (0). |
| .SH "DESCRIPTION" |
| .LP |
| \fBMP4SetAudioProfileLevel\fR sets the minumum profile/level of MPEG\-4 audio support necessary to render the contents of the file. |
| .LP |
| ISO/IEC 14496\-1:2001 MPEG\-4 Systems defines the following values: |
| .br |
| 0x00 Reserved |
| .br |
| 0x01 Main Profile @ Level 1 |
| .br |
| 0x02 Main Profile @ Level 2 |
| .br |
| 0x03 Main Profile @ Level 3 |
| .br |
| 0x04 Main Profile @ Level 4 |
| .br |
| 0x05 Scalable Profile @ Level 1 |
| .br |
| 0x06 Scalable Profile @ Level 2 |
| .br |
| 0x07 Scalable Profile @ Level 3 |
| .br |
| 0x08 Scalable Profile @ Level 4 |
| .br |
| 0x09 Speech Profile @ Level 1 |
| .br |
| 0x0A Speech Profile @ Level 2 |
| .br |
| 0x0B Synthesis Profile @ Level 1 |
| .br |
| 0x0C Synthesis Profile @ Level 2 |
| .br |
| 0x0D Synthesis Profile @ Level 3 |
| .br |
| 0x0E\-0x7F Reserved |
| .br |
| 0x80\-0xFD User private |
| .br |
| 0xFE No audio profile specified |
| .br |
| 0xFF No audio required |
| .SH "SEE ALSO" |
| .LP |
| MP4(3) MP4GetAudioProfileLevel(3) |