-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Non-interleaved write #139
Comments
Just implementing |
@oomzay Can you draft documentation for the function you would like to have? |
PCM.write_noninterleaved(data_n) Writes (plays) the sound in data_n. Data_n must be a list of sample buffers, one buffer per output channel. The length of each buffer must be a multiple of the sample size, and should be exactly the size of a period. Every buffer must hold the same number of samples. If less than ‘period size’ frames are provided, the actual playout will not happen until more data is written. (Then as for PCM.write()) |
For some applications non-interleaved channel i/o (snd_pcm_writen) is more convenient, and likely more efficient than snd_pcm_writei.
The text was updated successfully, but these errors were encountered: