log
[Interface specifications]
Detailed Description
Log read / write control.
The log interface provides start/stop control of data logging/playback. A log device either writes data from one or more devices to a file, or it reads logged data from a file and plays it back as if it were being produced live by one or more devices.
| #define | PLAYER_LOG_TYPE_READ 1 |
| Types of log device: read. | |
| #define | PLAYER_LOG_TYPE_WRITE 2 |
| Types of log device: write. | |
| #define | PLAYER_LOG_REQ_SET_WRITE_STATE 1 |
| Request/reply subtype: set write state. | |
| #define | PLAYER_LOG_REQ_SET_READ_STATE 2 |
| Request/reply subtype: set read state. | |
| #define | PLAYER_LOG_REQ_GET_STATE 3 |
| Request/reply subtype: get state. | |
| #define | PLAYER_LOG_REQ_SET_READ_REWIND 4 |
| Request/reply subtype: rewind. | |
| #define | PLAYER_LOG_REQ_SET_FILENAME 5 |
| Request/reply subtype: set filename to write. | |
|
typedef struct player_log_set_write_state | player_log_set_write_state_t |
| Types of log device: read. | |
|
typedef struct player_log_set_read_state | player_log_set_read_state_t |
| Types of log device: read. | |
|
typedef struct player_log_set_read_rewind | player_log_set_read_rewind_t |
| Types of log device: read. | |
| typedef struct player_log_get_state | player_log_get_state_t |
| Types of log device: read. | |
|
typedef struct player_log_set_filename | player_log_set_filename_t |
| Types of log device: read. |
