OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / directsound / SoundBuffer.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/directsound/SoundBuffer.h b/SlimDXc_Jun2010(VC++2008)/source/directsound/SoundBuffer.h
deleted file mode 100644 (file)
index f672bfd..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-#include "Enums.h"\r
-#include "DirectSound.h"\r
-#include "SoundBufferDescription.h"\r
-#include "BufferCapabilities.h"\r
-#include "NotificationPosition.h"\r
-\r
-namespace SlimDX\r
-{\r
-       ref class DataStream;\r
-\r
-       namespace DirectSound\r
-       {\r
-               /// <summary>\r
-               /// The SoundBuffer object is used to manage sound buffers.\r
-               /// </summary>\r
-               /// <unmanaged>IDirectSoundBuffer</unmanaged>\r
-               public ref class SoundBuffer abstract : public ComObject\r
-               {\r
-                       COMOBJECT_BASE(IDirectSoundBuffer);\r
-\r
-               private:\r
-                       bool notVirtualized;\r
-\r
-               protected:\r
-                       SoundBuffer() { }\r
-\r
-                       DataStream^ Lock( int offset, int sizeBytes, LockFlags flags, [Out] DataStream^% secondPart );\r
-                       Result Unlock( DataStream^ firstPart, DataStream^ secondPart );\r
-\r
-               public:\r
-                       /// <summary>\r
-                       /// Restores the memory allocation for a lost sound buffer.\r
-                       /// </summary>\r
-                       Result Restore();\r
-\r
-                       /// <summary>\r
-                       /// Causes the sound buffer to play, starting at the play cursor.\r
-                       /// </summary>\r
-                       Result Play( int priority, PlayFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Causes the sound buffer to stop playing.\r
-                       /// </summary>\r
-                       Result Stop();\r
-\r
-                       /// <summary>\r
-                       /// Writes data to the buffer.\r
-                       /// </summary>\r
-                       /// <returns></returns>\r
-                       generic<typename T> where T : value class\r
-                       Result Write( array<T>^ data, int startIndex, int count, int bufferOffset, LockFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Writes data to the buffer.\r
-                       /// </summary>\r
-                       /// <returns></returns>\r
-                       generic<typename T> where T : value class\r
-                       Result Write( array<T>^ data, int bufferOffset, LockFlags flags );\r
-\r
-                       Result SetNotificationPositions( array<NotificationPosition>^ positions );\r
-\r
-                       property SlimDX::Multimedia::WaveFormat^ Format\r
-                       {\r
-                               SlimDX::Multimedia::WaveFormat^ get();\r
-                               void set( SlimDX::Multimedia::WaveFormat^ value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves the position of the write cursor in the sound buffer.\r
-                       /// </summary>\r
-                       property int CurrentWritePosition\r
-                       {\r
-                               int get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves or sets the position of the play cursor.\r
-                       /// </summary>\r
-                       property int CurrentPlayPosition\r
-                       {\r
-                               int get();\r
-                               void set( int value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves or sets the frequency, in samples per second, at which the buffer is playing.\r
-                       /// </summary>\r
-                       property int Frequency\r
-                       {\r
-                               int get();\r
-                               void set( int value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves or sets the attenuation of the sound.\r
-                       /// </summary>\r
-                       property int Volume\r
-                       {\r
-                               int get();\r
-                               void set( int value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves or sets the relative volume of the left and right audio channels.\r
-                       /// </summary>\r
-                       property int Pan\r
-                       {\r
-                               int get();\r
-                               void set( int value );\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves the status of the sound buffer.\r
-                       /// </summary>\r
-                       property BufferStatus Status\r
-                       {\r
-                               BufferStatus get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// True if a requested 3D algorithm was not available and stereo panning was substituted.\r
-                       /// </summary>\r
-                       property bool NoVirtualization\r
-                       {\r
-                               bool get() { return notVirtualized; }\r
-                       protected:\r
-                               void set( bool value ) { notVirtualized = value; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Retrieves the capabilities of the buffer object.\r
-                       /// </summary>\r
-                       property BufferCapabilities Capabilities\r
-                       {\r
-                               BufferCapabilities get();\r
-                       }\r
-               };\r
-       }\r
-}
\ No newline at end of file