iffchunk_find_smart   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm

Implementation

;; this version "smartly" jumps through the file based on the chunk sizes
(bind-func iffchunk_find_smart
  (lambda (fileptr:i8* id le:i1)
    (while (not (iffchunk_check_ID (cast fileptr IffChunkHeader*) id))
      (set! fileptr
            (pref-ptr fileptr
                      (+ IFF_CHUNK_HEADER_SIZE
                         (convert
                          (iffchunk_size (cast fileptr IffChunkHeader*) le)
                          i64)))))
    fileptr))


Back to Index

Similar Entries

  • Widget_find_inorder    xtlang
  • Widget_find_postorder    xtlang
  • Widget_find_preorder    xtlang
  • aiProcess_FindDegenerates    scheme
  • aiProcess_FindInstances    scheme
  • aiProcess_FindInvalidData    scheme
  • ai_find_matching_node    xtlang
  • cl:find-if    scheme
  • find_node    xtlang
  • find_peaks    xtlang
  • find_peaks_log    xtlang
  • find_previous_peak    xtlang
  • find_sexprs    xtlang
  • find_sqr_exprs    xtlang
  • get_find_handler    xtlang
  • gui_find_leaf_inorder    xtlang
  • gui_find_leaf_postorder    xtlang
  • gui_find_leaf_preorder    xtlang
  • gui_find_next_id    xtlang
  • gui_find_parent    xtlang
  • gui_find_widget_with_id    xtlang
  • iffchunk_check_ID    xtlang
  • iffchunk_find_dumb    xtlang
  • iffchunk_size    xtlang
  • impc:compiler:print-could-not-resolve-types_find-expr    scheme
  • impc:ti:find-all-vars    scheme
  • impc:ti:find-unresolved-simple-types    scheme
  • instrument_find_note    xtlang
  • pc:find-closest    scheme
  • xtm_find_bone    xtlang