Lines Matching defs:atom
608 * Find an AAC atom
613 char atom[4];
624 if(fread(atom,1,4,fin) != 4)
627 if(strncasecmp(atom,which_atom,4) == 0) {
1034 * Returns the offset of the atom specified by the given path or -1 if
1070 DPRINTF(E_DBG,L_SCAN,"Found %s atom at off %ld.\n", atom_name, ftell(aac_fp) - 8);
1175 /* now, hunt for the mvhd atom */
1207 /* Get the sample rate from the 'mp4a' atom (timescale). This is also
1208 found in the 'mdhd' atom which is a bit closer but we need to
1209 navigate to the 'mp4a' atom anyways to get to the 'esds' atom. */
1215 "reserved") though the timescale in the 'mdhd' atom is 4. Not sure how
1221 /* Seek to end of atom. */
1224 /* Get the bit rate from the 'esds' atom. We are already positioned
1225 in the parent atom so just scan ahead. */
1235 DPRINTF(E_DBG,L_SCAN, "Could not find 'esds' atom to determine bit rate.\n");
1239 DPRINTF(E_DBG,L_SCAN, "Could not find 'mp4a' atom to determine sample rate.\n");
1245 DPRINTF(E_DBG,L_SCAN, "Could not find 'esds' atom. Calculating bit rate.\n");