new_sample   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm

Implementation

(bind-func new_sample
  (lambda (sink:GstAppSink* data:gpointer)
    (let ((sample (gst_app_sink_pull_sample (cast sink i8*)))
          (caps (gst_sample_get_caps sample))
          (buffer (gst_sample_get_buffer sample))
          (dat:i8* null)
          (xsize:gsize 0)
          (quad (tref (cast data userdata*) 0)))
      ;;(printf "Playing back on quad:%d\n" quad)
      (set! dat sampledata1)
      (set! xsize (gst_buffer_extract buffer 0 dat (* 3 600 400)))
      (if (= xsize (* 3 600 400))
          (cond ((= quad 1) (set! sampledata1dirty #t))
                )
          (cond ((= quad 1) (set! sampledata1dirty #f))
                ))
      GST_FLOW_OK)))


Back to Index

Similar Entries

  • aiProcess_LimitBoneWeights    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • audiofile_16bitPCM_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_16bitPCM_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_24bitPCM_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_24bitPCM_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_aiff_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_copy_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_float_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_float_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_wave_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • clear-sampler    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • clear_sample_data_    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • clock->samples    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cpBBNew    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpBB.xtm
  • cpBBNewForCircle    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpBB.xtm
  • cpBBNewForExtents    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpBB.xtm
  • cpShapeFilterNew    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpShape.xtm
  • cpTransformNew    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformNewTranspose    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • get_new_pos    xtlang    /digego/extempore/tree/v0.8.9/examples/core/godot_test1.xtm
  • get_new_pos2    xtlang    /digego/extempore/tree/v0.8.9/examples/core/godot_test1.xtm
  • godot_array_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_color_new_rgb    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_node_path_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_string_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_aabb    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_basis    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_bool    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_color    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_int    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_nil    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_node_path    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_plane    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_quat    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_real    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_rect2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_string    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_transform    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_transform2d    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_vector2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_vector3    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_vector2_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_vector3_new    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • icr:new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:compile:push_new_zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:initialize-closure-with-new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:push_new_zone-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-builtin    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-closure    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-genericfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-generictype    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-globalvar    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-namedtype    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-nativefunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-polyfunc    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-polytype    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-typealias    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-xtmacro    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:spec-new-type?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • init_sample_data    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • init_sample_data    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm
  • load-sample    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • load-sampler    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • new-horde    scheme    /digego/extempore/tree/v0.8.9/libs/external/horde3d.xtm
  • new_preroll    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • new_preroll    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm
  • new_sample    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • sampler    scheme    /digego/extempore/tree/v0.8.9/examples/external/convolution_reverb.xtm
  • sampler    scheme    /digego/extempore/tree/v0.8.9/examples/external/sing_a_song.xtm
  • sampler-parse-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-parse-midinote-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-parse-spn-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-populate-slot    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-set-slot-offset    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler_fx    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • sampler_note    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • sampler_note_linear    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • samples->clock    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • set_sample_data_    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • set_sample_offset_    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • set_sampler_audiobuffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext.xtm
  • sf_samplerate    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_samples_from_file    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_set_samplerate    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm