gstreamer-rs/gstreamer-audio/src
Sebastian Dröge 87a70b16ba audio: Don't store a copy of the AudioInfo in AudioFrame
Instead just reference the one inside the FFI struct directly by making
sure that the memory representation of the FFI and Rust type are the
same.

This reduces the size of `AudioFrame` by about half.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1245>
2023-04-07 11:52:08 +03:00
..
auto Regenerate with latest gir 2023-02-07 21:00:46 +02:00
subclass Use IntoGlibPtr trait instead of to_glib_full() where appropriate to reduce unnecessary refcounting/copying 2023-01-05 12:09:57 +02:00
audio_aggregator.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
audio_aggregator_convert_pad.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
audio_aggregator_pad.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
audio_buffer.rs audio: Don't store a copy of the AudioInfo in AudioFrame 2023-04-07 11:52:08 +03:00
audio_channel_position.rs audio: Reduce size of AudioInfo from 832 to 320 bytes and make audio channel position handling more efficient 2023-01-23 12:58:16 +02:00
audio_converter.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
audio_decoder.rs Revert "Add support for inline variable names in error/warning/info message creation macros" 2023-02-13 11:40:55 +02:00
audio_encoder.rs Use uninitialized stack memory for out parameters instead of zeroed memory if applicable 2023-01-11 09:06:38 +00:00
audio_format.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
audio_format_info.rs Fix various new clippy warnings 2023-01-25 10:18:33 +02:00
audio_info.rs audio: Don't store a copy of the AudioInfo in AudioFrame 2023-04-07 11:52:08 +03:00
audio_meta.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
audio_ring_buffer_spec.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
audio_stream_align.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
caps.rs {Audio,Video}CapsBuilder: add for_encoding constructor 2023-02-21 16:11:15 +02:00
flag_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
functions.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
lib.rs Remove various unnecessary clippy allow attributes 2023-02-07 21:13:19 +02:00