Functions | |
int | VsPlayerKick (void) |
Start playback. | |
int | VsPlayerInit (void) |
Initialize the VS1001 hardware interface. | |
int | VsPlayerReset (u_short mode) |
Software reset the decoder. | |
u_char * | VsBufferInit (u_short size) |
Initialize the MP3 data buffer. | |
u_char * | VsBufferReset (void) |
Reset all MP3 data buffer pointers. | |
u_char * | VsBufferRequest (u_short *sizep) |
Request MP3 data buffer space. | |
u_char * | VsBufferAcknowledge (u_short nbytes) |
Acknowledge filled buffer space. | |
int | VsSetVolume (u_char left, u_char right) |
Set volume. | |
int | VsBeep (u_char fsin, u_char ms) |
Sine wave beep. |
|
Sine wave beep.
|
|
Acknowledge filled buffer space.
|
|
Initialize the MP3 data buffer.
|
|
Request MP3 data buffer space.
|
|
Reset all MP3 data buffer pointers.
|
|
Initialize the VS1001 hardware interface.
|
|
Start playback. This routine will send the first MP3 data bytes to the decoder, until it is completely filled. The data buffer should have been filled with at least about 6k of data before calling this routine. If called for the first time, the routine will register the interrupt handler. If the decoder is activated, 1024 nulls are sent first.
|
|
Software reset the decoder. This function is typically called after VsPlayerInit().
|
|
Set volume.
|