C#如何将流编解码器G711转换为编解码器ogg或mp3?
如何将流G711编解码器转换为流MP3或OGG?我使用LumiSoft.NETDLL 目前我收到的G711流是这样的:C#如何将流编解码器G711转换为编解码器ogg或mp3?,c#,streaming,codec,live-streaming,C#,Streaming,Codec,Live Streaming,如何将流G711编解码器转换为流MP3或OGG?我使用LumiSoft.NETDLL 目前我收到的G711流是这样的: byte[] decodedData = null; if (m_Codec == 0) { decodedData = G711.Decode_aLaw(e.Data, 0, e.Data.Length); } else if (m_Codec == 1)
byte[] decodedData = null;
if (m_Codec == 0)
{
decodedData = G711.Decode_aLaw(e.Data, 0, e.Data.Length);
}
else if (m_Codec == 1)
{
decodedData = G711.Decode_uLaw(e.Data, 0, e.Data.Length);
}
m_pWaveOut.Play(decodedData, 0, decodedData.Length);
谢谢问题是什么?问题是什么?