mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 19:53:18 -04:00
add class driver source files. also register iap audio sink. usbstack/iap/libiap directory is imported from libiap. Change-Id: I776c5caec33fe9efadc448e2e3b37d500bf19c9f
15 lines
359 B
C
15 lines
359 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
enum IAPPlayStatus {
|
|
IAPPlayStatus_Stopped = 0x00,
|
|
IAPPlayStatus_Playing = 0x01,
|
|
IAPPlayStatus_Paused = 0x02,
|
|
IAPPlayStatus_Error = 0xFF,
|
|
};
|
|
|
|
struct IAPExtendedRetPlayStatusPayload {
|
|
uint32_t track_total_ms;
|
|
uint32_t track_pos_ms;
|
|
uint8_t state; /* IAPPlayStatus */
|
|
} __attribute__((packed));
|