Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

Alright, this is the first time I have used the discussion board (where I normally use issues in other repo) and I didn't know that I need to set this board to Q&A; nonetheless, I have found my way out, and understood how things work.

Before declaring the encoder, we need to have onWrite and onSeek presents so that the ma_encoder_init function can generate the file header using these two functions.

To declare a onWrite function, the parameters are the following:

  • ma_encoder* pEncoder: self explanatory, and if you need to return the encoded result into an arraylist or a buffer, you many put the buffer in pEncoder->userData
  • const void* pBufferIn: this parameter stores the data to be written…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mackron
Comment options

@Logickin-Lambda
Comment options

Answer selected by Logickin-Lambda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants