Closed jBernavaPrah closed 6 months ago
Hi again!
So after further research, I now can respond to myself. I hope that this can be useful to someone else :)
I used a hound crate, providing the specs matching the track info and writing the buffered samples from the SampleBuffer
into the file. Remember to finalize it at the end of the loop and that's it!
Hi there!
Thank you for providing this crate. I'm currently working on reading from a remote audio/MPEG stream endpoint and pushing the audio data to an external service that accepts WAV audio data (specifically, Azure Speech).
Although I have some bugs to fix, I've been able to successfully read the stream and implement the
MediaSource
on my testingMyMediaSource
struct.Using the basic example provided and passing
MyMediaSource
, I was able to decode the samples correctly (hopefully)Now, I have some high-level questions (and please forgive me if they sound silly):
spec
struct returned here, but can I calculate the bits-per-sample or is it already provided somewhere?Thank you very much for any help you can provide!
ps: