Added hacked-together support for playing .ogg files.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2255 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2003-02-12 01:44:44 +00:00
parent db3790f438
commit 3489a23603
2 changed files with 387 additions and 1 deletions
@@ -1,5 +1,5 @@
//
// $Id: SoundManager.java,v 1.45 2003/02/07 02:53:49 ray Exp $
// $Id: SoundManager.java,v 1.46 2003/02/12 01:44:44 ray Exp $
package com.threerings.media.sound;
@@ -503,6 +503,9 @@ public class SoundManager
} else if (path.endsWith(".mp3")) {
return Mp3Player.class;
} else if (path.endsWith(".ogg")) {
return OggPlayer.class;
} else {
return null;
}