LIBMTP_fil...ata_struct(3)

πŸ“¦ version 1.1.23, in arch rolling

πŸ’… 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 width
  • uint32_t height
  • uint32_t duration
  • LIBMTP_filetype_t filetype
  • uint64_t size
  • char * 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