nn::midi::CTR::GetReadableLength Function| Name | Description | |
|---|---|---|
| out | pSize | Location where the data size is stored. |
| Value | Description |
|---|---|
| Success | Process was successful. The return value's IsSuccess function returns true in this state. |
ResultNotOpened |
The function was executed while the MIDI device was in a closed state. Run the nn::midi::CTR::Open function to open the MIDI device. |
ResultBufferOverflow |
The internal buffer where MIDI data is temporarily stored is full. Run the nn::midi::CTR::Reset function. MIDI data received during this interval is discarded. If this error occurs, the nn::midi::CTR::Read function might be executing too infrequently. |
| A value other than the above | Unexpected error. |
Gets the amount of data that has accumulated in the device's buffer.
CONFIDENTIAL