In the case of GStreamer, the ' Gst namespace contains all of the introspection information used to power that interface. Each namespace contains metadata entries that map to C functionality. GIR’s GIRepository API manages the namespaces provided by the GIR system and type libraries. That can then be called as a procedure, which in this case takes no arguments. Introspecting the available API in each release of the library and comparing it to the last one makes it easy to see what changed Documentation tools - The tools written inside of the GObjectIntrospection can easily be reused to improve that problem. 1 18:04 before introspection was available for gobject-based apis, bindings maintainers had to produce c code that would bridge between the host language and each c api that would be made accessible. In the second line of this program, the ' version_string symbol is looked up against the GStreamer typelib and a gi-function? is returned. This will result in the string "This program is linked against GStreamer 1.10.4" being printed, or whatever version of GStreamer is available. ( printf "This program is linked against ~a" ( define gst-version ( gst ' version_string ) ) In this case of a typical "Hello, world" style example with GStreamer, that would look like this: ( define gst ( introspection ' Gst ) ) Using GIR will typically go as follows: Introspect a namespace that you have a typelib for with introspection, call that namespace as a procedure to look up a binding, work with that binding either as a procedure or some other value (typically a gobject). This module powers the GStreamer module, but can be used outside of Overscan for working with other GLib libraries. This module brings additional functionality and C Types for working with introspected C libraries. The Overscan package provides a module designed to accompany Racket’s FFI collection. GObject Introspection (aka GIR) is an interface description layer that allows for a language to read this metadata and dynamically create bindings for the C library. Luckily, GStreamer is written with GLib and contains GObject Introspection metadata. Racket provides a phenomenal Foreign Interface, but to create foreign functions for all the relevant portions of GStreamer would be cumbersome, at best. GStreamer is also a C framework, which means that a big part of Overscan’s codebase is dedicated to the interop between Racket and C. GStreamer is the core framework that powers the multimedia capabilities of Overscan. Media-plugins/gst-plugins-bad:1.Top contents ← prev up next → 4 GObject Introspection Media-plugins/gst-plugins-base:1.0ĭev-python/musicbrainzngs If you're perfectly happy with your favorite player and just want something that can handle tagging, Ex Falso is for you.ĭev-python/pycairoĭev-python/requests Ex Falso is a program that uses the same tag editing backend as Quod Libet, but isn't connected to an audio player. It also supports most of the features you expect from a modern media player, like Unicode support, multimedia keys, and tag editing. Quod Libet easily scales to libraries of thousands of songs. And it lets you do this for all the file formats it supports - Ogg Vorbis, FLAC, MP3, Musepack, and MOD. It lets you display and edit any tags you want in the file. It lets you make playlists based on regular expressions (don't worry, regular searches work too). It's designed around the idea that you know how to organize your music better than we do. Quod Libet is a GTK+-based audio player written in Python, using the Mutagen tagging library. GTK+-based audio player written in Python, using the Mutagen tagging library
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |