Skip to content

Struct daisy::WavPlayer::IoRequest

ClassList > IoRequest

More...

Public Types

Type Name
enum Type

Public Attributes

Type Name
size_t data
Type type

Public Functions

Type Name
IoRequest (Type t, size_t val)
IoRequest ()
~IoRequest ()

Detailed Description

Request containing necessary data to seek, or refill the streaming FIFO of samples

Public Types Documentation

enum Type

enum IoRequest::Type {
    Read,
    Seek,
    Unknown
};

Public Attributes Documentation

variable data

size_t daisy::WavPlayer< workspace_bytes >::IoRequest::data;

multi-purpose value for size/position depending on type of request. For read requests this will be the qty of samples to request. For seek requests this will be the position in samples to jump to.


variable type

Type daisy::WavPlayer< workspace_bytes >::IoRequest::type;

type of request to be made


Public Functions Documentation

function IoRequest [½]

inline IoRequest::IoRequest (
    Type t,
    size_t val
) 

Constructor for IoRequest:


function IoRequest [2/2]

inline IoRequest::IoRequest () 

function ~IoRequest

inline IoRequest::~IoRequest () 


The documentation for this class was generated from the following file external-docs/libDaisy/src/util/WavPlayer.h