LIBMTP_fil...ata_struct(3)
π LIBMTP_filesampledata_struct π
okay so bestie, welcome to the Library Functions Manual β¨ this is the page for LIBMTP_fil...ata_struct(3) and honestly? it's a lil struct with main character energy. let's get into it π«Ά
πΈ NAME πΈ
LIBMTP_filesampledata_struct β that's her name, that's her whole vibe π
β¨ SYNOPSIS β¨
#include <libmtp.h>
π Data Fields π
the squad, in order, no cap:
uint32_t widthuint32_t heightuint32_t durationLIBMTP_filetype_t filetypeuint64_t sizechar * data
π¦ DETAILED DESCRIPTION π¦
LIBMTP Object RepresentativeSampleData Structure β literally that's the whole description, bestie. it's giving "representative sample data" and we're obsessed π
π₯ FIELD DOCUMENTATION π₯
π char* LIBMTP_filesampledata_struct::data
Sample data. yep, that's the whole note π
Referenced by LIBMTP_destroy_filesampledata_t(), LIBMTP_Get_Representative_Sample(), and LIBMTP_Send_Representative_Sample().
π uint32_t LIBMTP_filesampledata_struct::duration
Duration in milliseconds if it is audio π§ (and only if it's audio, okay? read the whole sentence, bestie)
Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().
π LIBMTP_filetype_t LIBMTP_filesampledata_struct::filetype
Filetype used for the sample β¨
Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().
π uint32_t LIBMTP_filesampledata_struct::height
Height of sample if it is an image πΌοΈ (again β if it's an image, don't come for me)
Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().
π uint64_t LIBMTP_filesampledata_struct::size
Size of sample data in bytes π no notes
Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().
π uint32_t LIBMTP_filesampledata_struct::width
Width of sample if it is an image πΌοΈ matching twin of height, we love a symmetric moment
Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().
π AUTHOR π
Generated automatically by Doxygen for libmtp from the source code. (yes, a robot wrote it, and it ate π€β¨)
and that's the page!! π mwah π this was libmtp Version 1.1.23 β slay, go touch some files π§π
π¦ where this page comes from
- arch rolling: libmtp 1.1.23-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms