#include <libmtp.h>
Data Fields | |
| uint32_t | width |
| uint32_t | height |
| uint32_t | duration |
| LIBMTP_filetype_t | filetype |
| uint64_t | size |
| char * | data |
| uint32_t LIBMTP_filesampledata_struct::width |
Width of sample if it is an image
| uint32_t LIBMTP_filesampledata_struct::height |
Height of sample if it is an image
Duration in milliseconds if it is audio
| LIBMTP_filetype_t LIBMTP_filesampledata_struct::filetype |
Filetype used for the sample
| uint64_t LIBMTP_filesampledata_struct::size |
Size of sample data in bytes
Sample data
1.5.1