Skip to content

Conversation

@aguaviva
Copy link
Contributor

@aguaviva aguaviva commented Dec 18, 2017

Added 2 functions:

  1. Added i2s_write_buffer_mono(...):
    It copies a buffer of samples (mono) into the DMA buffer. It returns the number of samples that were copied into the buffer. This has been tested in my own code and it works fine. It should be much faster than adding samples individually.

  2. i2s_available()
    returns the number of samples that can be written without blocking or dropping samples

@aguaviva aguaviva changed the title Added i2s_write_buffer_mono i2s enhancements Dec 19, 2017
@devyte
Copy link
Collaborator

devyte commented Dec 28, 2017

@aguaviva this currently has conflicts. Could you resolve them and update?

@aguaviva
Copy link
Contributor Author

Done! (Sorry I am still learning git :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants