The byte stream type of the given URL is unsupported MediaFoundation
问题 I need to create a reader from buffer(that is wav bytes ) in order to do it I am using such approach: void co_AudioEncoderMF::load_from_memory(unsigned char const * data, long data_size) { unsigned char * buf = new unsigned char[data_size]; //JUST FOR TEST IN ORDER TO BE SURE THAT I HAVE THIS DATA memcpy(buf, data, data_size); IMFMediaType *input_type = nullptr; IMFSourceReader *source_reader = nullptr; IMFMediaType *ouput_media_type = nullptr; IMFSinkWriter *sink_writer = nullptr; IStream *