已经将mp3读到内存中,保存在byte数组中,如何播放?
看到一些代码是播放mp3文件的,这个对我没用,因为
数据直接从网上下载得到。如果保存后在播放就会比较
麻烦,涉及保存文件的管理。所以想直接播放。

解决方案 »

  1.   


    http://12530.gmcc.net/web3/Include/listening.jsp?cp_code=509&cn_code=890011
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  bgcolor="#FFD52D">
      <table width=400 border="0" cellspacing="0" cellpadding="0" height="38"  align="center">
        <tr>
          <td align="center"> 
            <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" 
              codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" 
              width="550" height="45" id="mediaplayer">
              
                <param name="URL" value="/contents/509/89/00/509890011.wma">
              
              <param name="ShowControls" value="true">
              <param name="ShowPositionControls" value="false">
            </object>
          </td>
        </tr>
      </table>
    </body>