You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two streams in my internet radio - a URLStream and an HLSStream. When I change station I 'end()' the stream that is playing at the time, before the 'begin(url)' of the new station.
Sometimes the new station will play audio at the proper speed but at a higher pitch. I think this is when going from an HLSStream to a URLStream, maybe because of a change in the sampling rate?
I've tried adding addNotifyAudioChange(i2s) to both streams but it hasn't made any difference.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have two streams in my internet radio - a URLStream and an HLSStream. When I change station I 'end()' the stream that is playing at the time, before the 'begin(url)' of the new station.
Sometimes the new station will play audio at the proper speed but at a higher pitch. I think this is when going from an HLSStream to a URLStream, maybe because of a change in the sampling rate?
I've tried adding addNotifyAudioChange(i2s) to both streams but it hasn't made any difference.
What's the best way to fix this? Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions