Re: [問題] MP3播放問題
※ 引述《EMBA5566 (哈佛EMBA)》之銘言:
: 在網路上找到了irrklang這個library 網址:http://www.ambiera.com/irrklang/
:
: 不過不知道為啥麼改它的範例程式MP3檔都可以撥
:
: 但是我自己寫就不能撥只能撥其他的wav ogg...
:
: 我知道路徑若有中文的話是不能撥的
:
: 程式大概如下:
:
: using IrrKlang;
:
: ISoundEngine soundEngine = new ISoundEngine();
:
: private void button1_Click_1(object sender, EventArgs e)
: {
: soundEngine.Play2D("Z:\\xxx.mp3");
: }
:
: 不知道有沒有人有用過這個library 有碰到跟我一樣的問題
Playing back an mp3 doesn't work with my program using irrKlang, what did I
do wrong?
If irrKlang doesn't play mp3s in your application, you probably forgot to
copy the mp3 playback plugin to your application directory (The location
where your .exe file is). The file is named ikpMP3.DLL in windows and
ikpMP3.SO in Linux. Place it where irrKlang can find it (the current working
directory or the place where your application binary is) and irrKlang will
load the plugin and be able to play mp3s.
轉至
http://www.ambiera.com/irrklang/faq.html#mp3plugin
:
:
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.23.145
推
01/15 00:35, , 1F
01/15 00:35, 1F
→
01/15 00:36, , 2F
01/15 00:36, 2F
→
01/15 19:35, , 3F
01/15 19:35, 3F
→
01/15 19:37, , 4F
01/15 19:37, 4F
→
01/15 19:37, , 5F
01/15 19:37, 5F
→
01/21 02:05, , 6F
01/21 02:05, 6F
討論串 (同標題文章)