Author: dhudson Date: 2006-11-18 05:08:06 -0500 (Sat, 18 Nov 2006) New Revision: 68118
Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DEmitter.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DListener.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioCategory.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioEngine.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Cue.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/InstancePlayLimitException.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/NoAudioHardwareException.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/RendererDetail.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/SoundBank.cs trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/WaveBank.cs Log: finish stubbing out audio namespace Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DEmitter.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DEmitter.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DEmitter.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,65 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using Microsoft.Xna.Framework; +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + [Serializable] + public struct Audio3DEmitter + { + + + public static bool operator !=(Audio3DEmitter left, Audio3DEmitter right) { throw new NotImplementedException(); } + + public static bool operator ==(Audio3DEmitter left, Audio3DEmitter right) { throw new NotImplementedException(); } + + + public int ChannelCount { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public float ChannelRadius { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public float DopplerScaler { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public Vector3 Forward { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public Vector3 Position { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public Vector3 Up { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + public Vector3 Velocity { get { throw new NotImplementedException(); } set { throw new NotImplementedException(); } } + + + public override bool Equals(object obj) { throw new NotImplementedException(); } + + public override int GetHashCode() { throw new NotImplementedException(); } + + public override string ToString() { throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DListener.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DListener.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Audio3DListener.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,59 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using Microsoft.Xna.Framework; +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + [Serializable] + public struct Audio3DListener + { + + + public static bool operator !=(Audio3DListener left, Audio3DListener right){ throw new NotImplementedException(); } + + public static bool operator ==(Audio3DListener left, Audio3DListener right){ throw new NotImplementedException(); } + + + public Vector3 Forward { get{ throw new NotImplementedException(); } set{ throw new NotImplementedException(); } } + + public Vector3 Position { get{ throw new NotImplementedException(); } set{ throw new NotImplementedException(); } } + + public Vector3 Up { get{ throw new NotImplementedException(); } set{ throw new NotImplementedException(); } } + + public Vector3 Velocity { get{ throw new NotImplementedException(); } set{ throw new NotImplementedException(); } } + + + public override bool Equals(object obj){ throw new NotImplementedException(); } + + public override int GetHashCode(){ throw new NotImplementedException(); } + + public override string ToString(){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioCategory.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioCategory.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioCategory.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,48 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + public struct AudioCategory + { + + + public string Name { get{ throw new NotImplementedException(); } } + + + public void Pause(){ throw new NotImplementedException(); } + + public void Resume(){ throw new NotImplementedException(); } + + public void SetVolume(float volume){ throw new NotImplementedException(); } + + public void Stop(AudioStopOptions options){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioEngine.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioEngine.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/AudioEngine.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,82 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; +using System.Collections.ObjectModel; + +namespace Microsoft.Xna.Framework.Audio +{ + + public class AudioEngine : IDisposable + { + + public const int ContentVersion = 41; + + + public AudioEngine(string settingsFile){ throw new NotImplementedException(); } + + public AudioEngine(string settingsFile, TimeSpan lookAheadTime, Guid rendererId, AudioSpeakers speakers){ throw new NotImplementedException(); } + + + public static bool operator !=(AudioEngine left, AudioEngine right){ throw new NotImplementedException(); } + + public static bool operator ==(AudioEngine left, AudioEngine right){ throw new NotImplementedException(); } + + + public bool IsDisposed { get{ throw new NotImplementedException(); } } + + public ReadOnlyCollection<RendererDetail> RendererDetails { get{ throw new NotImplementedException(); } } + + public AudioSpeakers Speakers { get{ throw new NotImplementedException(); } } + + + public event EventHandler Disposing; + + + public void Apply3DAudio(Cue cue, Audio3DDspSettings settings){ throw new NotImplementedException(); } + + public Audio3DDspSettings Calculate3DAudio(Audio3DListener listener, Audio3DEmitter emitter){ throw new NotImplementedException(); } + + public void Dispose(){ throw new NotImplementedException(); } + + protected virtual void Dispose(bool __p1){ throw new NotImplementedException(); } + + public override bool Equals(object obj){ throw new NotImplementedException(); } + + public AudioCategory GetCategory(string name){ throw new NotImplementedException(); } + + public float GetGlobalVariable(string name){ throw new NotImplementedException(); } + + public override int GetHashCode(){ throw new NotImplementedException(); } + + protected void raise_Disposing(object value0, EventArgs value1){ throw new NotImplementedException(); } + + public void SetGlobalVariable(string name, float value){ throw new NotImplementedException(); } + + public void Update(){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Cue.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Cue.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/Cue.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,84 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + public sealed class Cue : IDisposable + { + + public static bool operator !=(Cue left, Cue right){ throw new NotImplementedException(); } + + public static bool operator ==(Cue left, Cue right){ throw new NotImplementedException(); } + + + public bool IsCreated { get{ throw new NotImplementedException(); } } + + public bool IsDisposed { get{ throw new NotImplementedException(); } } + + public bool IsPaused { get{ throw new NotImplementedException(); } } + + public bool IsPlaying { get{ throw new NotImplementedException(); } } + + public bool IsPrepared { get{ throw new NotImplementedException(); } } + + public bool IsPreparing { get{ throw new NotImplementedException(); } } + + public bool IsStopped { get{ throw new NotImplementedException(); } } + + public bool IsStopping { get{ throw new NotImplementedException(); } } + + public string Name { get{ throw new NotImplementedException(); } } + + public event EventHandler Disposing; + + + public void Dispose(){ throw new NotImplementedException(); } + protected void Dispose(bool __p1){ throw new NotImplementedException(); } + + public override sealed bool Equals(object obj){ throw new NotImplementedException(); } + + public override sealed int GetHashCode(){ throw new NotImplementedException(); } + + public float GetVariable(string name){ throw new NotImplementedException(); } + + public void Pause(){ throw new NotImplementedException(); } + + public void Play(){ throw new NotImplementedException(); } + protected void raise_Disposing(object value0, EventArgs value1){ throw new NotImplementedException(); } + + public void Resume(){ throw new NotImplementedException(); } + + public void SetMatrixCoefficients(int sourceChannelCount, int destinationChannelCount, float[] matrixCoefficients){ throw new NotImplementedException(); } + + public void SetVariable(string name, float value){ throw new NotImplementedException(); } + + public void Stop(AudioStopOptions options){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/InstancePlayLimitException.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/InstancePlayLimitException.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/InstancePlayLimitException.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,44 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; +using System.Runtime.InteropServices; + +namespace Microsoft.Xna.Framework.Audio +{ + + [Serializable] + public sealed class InstancePlayLimitException : ExternalException + { + + public InstancePlayLimitException(){ throw new NotImplementedException(); } + + public InstancePlayLimitException(string message){ throw new NotImplementedException(); } + + public InstancePlayLimitException(string message, Exception inner){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/NoAudioHardwareException.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/NoAudioHardwareException.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/NoAudioHardwareException.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,44 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; +using System.Runtime.InteropServices; + +namespace Microsoft.Xna.Framework.Audio +{ + + [Serializable] + public sealed class NoAudioHardwareException : ExternalException + { + + public NoAudioHardwareException(){ throw new NotImplementedException(); } + + public NoAudioHardwareException(string message){ throw new NotImplementedException(); } + + public NoAudioHardwareException(string message, Exception inner){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/RendererDetail.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/RendererDetail.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/RendererDetail.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,54 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + [Serializable] + public struct RendererDetail + { + + + public static bool operator !=(RendererDetail left, RendererDetail right){ throw new NotImplementedException(); } + + public static bool operator ==(RendererDetail left, RendererDetail right){ throw new NotImplementedException(); } + + + public string FriendlyName { get{ throw new NotImplementedException(); } } + + public Guid RendererId { get{ throw new NotImplementedException(); } } + + + public override bool Equals(object obj){ throw new NotImplementedException(); } + + public override int GetHashCode(){ throw new NotImplementedException(); } + + public override string ToString(){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/SoundBank.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/SoundBank.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/SoundBank.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,66 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + public class SoundBank : IDisposable + { + + public SoundBank(AudioEngine audioEngine, string filename){ throw new NotImplementedException(); } + + + public static bool operator !=(SoundBank left, SoundBank right){ throw new NotImplementedException(); } + + public static bool operator ==(SoundBank left, SoundBank right){ throw new NotImplementedException(); } + + + public bool IsDisposed { get{ throw new NotImplementedException(); } } + + public bool IsInUse { get{ throw new NotImplementedException(); } } + + + public event EventHandler Disposing; + + + public void Dispose(){ throw new NotImplementedException(); } + + protected virtual void Dispose(bool __p1){ throw new NotImplementedException(); } + + public override bool Equals(object obj){ throw new NotImplementedException(); } + + public Cue GetCue(string name){ throw new NotImplementedException(); } + + public override int GetHashCode(){ throw new NotImplementedException(); } + + public void PlayCue(string name){ throw new NotImplementedException(); } + + protected void raise_Disposing(object value0, EventArgs value1){ throw new NotImplementedException(); } + } +} Added: trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/WaveBank.cs =================================================================== --- trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/WaveBank.cs 2006-11-18 03:37:14 UTC (rev 68117) +++ trunk/Mono.Xna/src/Microsoft.Xna.Framework/Audio/WaveBank.cs 2006-11-18 10:08:06 UTC (rev 68118) @@ -0,0 +1,66 @@ +#region License +/* +MIT License +Copyright � 2006 The Mono.Xna Team +http://www.taoframework.com +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ +#endregion License + +using System; + +namespace Microsoft.Xna.Framework.Audio +{ + + public class WaveBank : IDisposable + { + + public WaveBank(AudioEngine audioEngine, string nonStreamingWaveBankFilename){ throw new NotImplementedException(); } + + public WaveBank(AudioEngine audioEngine, string streamingWaveBankFilename, int offset, short packetsize){ throw new NotImplementedException(); } + + + public static bool operator !=(WaveBank left, WaveBank right){ throw new NotImplementedException(); } + + public static bool operator ==(WaveBank left, WaveBank right){ throw new NotImplementedException(); } + + + public bool IsDisposed { get{ throw new NotImplementedException(); } } + + public bool IsInUse { get{ throw new NotImplementedException(); } } + + public bool IsPrepared { get{ throw new NotImplementedException(); } } + + + public event EventHandler Disposing; + + + public void Dispose(){ throw new NotImplementedException(); } + + protected virtual void Dispose(bool __p1){ throw new NotImplementedException(); } + + public override bool Equals(object obj){ throw new NotImplementedException(); } + + public override int GetHashCode(){ throw new NotImplementedException(); } + + protected void raise_Disposing(object value0, EventArgs value1){ throw new NotImplementedException(); } + } +}
_______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
