DummyDriver @author cwei
| 34 | * @author cwei |
| 35 | */ |
| 36 | public final class DummyDriver implements Sound { |
| 37 | |
| 38 | static { |
| 39 | S.register(new DummyDriver()); |
| 40 | }; |
| 41 | |
| 42 | private DummyDriver() { |
| 43 | } |
| 44 | |
| 45 | /* (non-Javadoc) |
| 46 | * @see jake2.client.sound.Sound#Init() |
| 47 | */ |
| 48 | public boolean Init() { |
| 49 | return true; |
| 50 | } |
| 51 | |
| 52 | /* (non-Javadoc) |
| 53 | * @see jake2.client.sound.Sound#Shutdown() |
| 54 | */ |
| 55 | public void Shutdown() { |
| 56 | } |
| 57 | |
| 58 | /* (non-Javadoc) |
| 59 | * @see jake2.client.sound.Sound#BeginRegistration() |
| 60 | */ |
| 61 | public void BeginRegistration() { |
| 62 | } |
| 63 | |
| 64 | /* (non-Javadoc) |
| 65 | * @see jake2.client.sound.Sound#RegisterSound(java.lang.String) |
| 66 | */ |
| 67 | public sfx_t RegisterSound(String sample) { |
| 68 | return null; |
| 69 | } |
| 70 | |
| 71 | /* (non-Javadoc) |
| 72 | * @see jake2.client.sound.Sound#EndRegistration() |
| 73 | */ |
| 74 | public void EndRegistration() { |
| 75 | } |
| 76 | |
| 77 | /* (non-Javadoc) |
| 78 | * @see jake2.client.sound.Sound#StartLocalSound(java.lang.String) |
| 79 | */ |
| 80 | public void StartLocalSound(String sound) { |
| 81 | } |
| 82 | |
| 83 | /* (non-Javadoc) |
| 84 | * @see jake2.client.sound.Sound#StartSound(float[], int, int, jake2.client.sound.sfx_t, float, float, float) |
| 85 | */ |
| 86 | public void StartSound(float[] origin, int entnum, int entchannel, sfx_t sfx, float fvol, float attenuation, float timeofs) { |
| 87 | } |
| 88 | |
| 89 | /* (non-Javadoc) |
| 90 | * @see jake2.client.sound.Sound#Update(float[], float[], float[], float[]) |
| 91 | */ |
| 92 | public void Update(float[] origin, float[] forward, float[] right, float[] up) { |
| 93 | } |