LIBMTP_filesampledata_struct(3) Library Functions Manual LIBMTP_filesampledata_struct(3)

LIBMTP_filesampledata_struct

#include <libmtp.h>


uint32_t width
uint32_t height
uint32_t duration
LIBMTP_filetype_t filetype
uint64_t size
char * data

LIBMTP Object RepresentativeSampleData Structure

Sample data

Referenced by LIBMTP_destroy_filesampledata_t(), LIBMTP_Get_Representative_Sample(), and LIBMTP_Send_Representative_Sample().

Duration in milliseconds if it is audio

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().

Height of sample if it is an image

Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), LIBMTP_new_filesampledata_t(), and LIBMTP_Send_Representative_Sample().

Size of sample data in bytes

Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().

Width of sample if it is an image

Referenced by LIBMTP_Get_Representative_Sample(), LIBMTP_Get_Representative_Sample_Format(), and LIBMTP_Send_Representative_Sample().

Generated automatically by Doxygen for libmtp from the source code.

Version 1.1.22 libmtp