Heterogenous Sampling Rates Player #550
-
Hello, I'm playing with the Thank you for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
I am not sure what exactly your issue is: It is my expectation that the decoder is notifying the output about any changes in the sampling rate. If you set the log level to info you should see the related setAudioInfo() calls when e.g. the sampling rate or number of channels is changing... |
Beta Was this translation helpful? Give feedback.
-
I suggest that you wrap the I2SStream in a ResampleStream. That should theoretically take care of your problem. However I never tested this scenario and in the worst case you will need to make a couple of corrections... |
Beta Was this translation helpful? Give feedback.
-
Strange: if you just write data no additinal buffers should be allocated. I need some additional buffers when you would call readBytes... |
Beta Was this translation helpful? Give feedback.
I am not sure what exactly your issue is: It is my expectation that the decoder is notifying the output about any changes in the sampling rate. If you set the log level to info you should see the related setAudioInfo() calls when e.g. the sampling rate or number of channels is changing...