Fixed typos.
authorcoderhyme <jhyo.kim@samsung.com>
Tue, 13 Jun 2017 07:42:42 +0000 (16:42 +0900)
committercoderhyme <jhyo.kim@samsung.com>
Tue, 20 Jun 2017 21:18:05 +0000 (06:18 +0900)
Change-Id: I4fcfa2e994be093e5175f7c5bd9b67e159fed709
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
16 files changed:
src/Tizen.Multimedia.MediaCodec/Interop/Interop.MediaCodec.cs
src/Tizen.Multimedia.MediaCodec/MediaCodec/MediaCodec.cs
src/Tizen.Multimedia.MediaPlayer/Interop/Interop.Libraries.cs
src/Tizen.Multimedia.MediaPlayer/Player/Player.cs
src/Tizen.Multimedia.MediaPlayer/Player/PlayerError.cs
src/Tizen.Multimedia.MediaPlayer/Player/StreamInfo.cs
src/Tizen.Multimedia.MediaPlayer/Tizen.Multimedia.MediaPlayer.csproj
src/Tizen.Multimedia.Radio/Radio/Radio.cs
src/Tizen.Multimedia.Radio/Radio/RadioError.cs
src/Tizen.Multimedia.Util/ImageUtil/BitmapFrame.cs
src/Tizen.Multimedia.Util/ImageUtil/ImageUtilError.cs
src/Tizen.Multimedia.Vision/MediaVision/FaceDetectionConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/ImageTrackingConfiguration.cs
src/Tizen.Multimedia.Vision/MediaVision/PersonRecognizedEventArgs.cs
src/Tizen.Multimedia.Vision/Tizen.Multimedia.Vision.csproj
src/Tizen.Multimedia/MediaTool/MediaPacket.cs

index 4d32948..5d484cc 100644 (file)
@@ -88,11 +88,11 @@ namespace Tizen.Multimedia.MediaCodec
             internal static extern int UnsetInputBufferUsedCb(IntPtr handle);
 
             [DllImport(Libraries.MediaCodec, EntryPoint = "mediacodec_set_output_buffer_available_cb")]
-            internal static extern int SetOutputBufferAvaiableCb(IntPtr handle,
+            internal static extern int SetOutputBufferAvailableCb(IntPtr handle,
                 OutputBufferAvailableCallback cb, IntPtr arg);
 
             [DllImport(Libraries.MediaCodec, EntryPoint = "mediacodec_unset_output_buffer_available_cb")]
-            internal static extern int UnsetOutputBufferAvaiableCb(IntPtr handle);
+            internal static extern int UnsetOutputBufferAvailableCb(IntPtr handle);
 
             [DllImport(Libraries.MediaCodec, EntryPoint = "mediacodec_set_error_cb")]
             internal static extern int SetErrorCb(IntPtr handle, ErrorCallback cb, IntPtr arg);
index 1625af3..0d37d31 100644 (file)
@@ -496,7 +496,7 @@ namespace Tizen.Multimedia.MediaCodec
                 _outputAvailable?.Invoke(this, args);
             };
 
-            int ret = Interop.MediaCodec.SetOutputBufferAvaiableCb(_handle,
+            int ret = Interop.MediaCodec.SetOutputBufferAvailableCb(_handle,
                 _outputBufferAvailableCb, IntPtr.Zero);
 
             MultimediaDebug.AssertNoError(ret);
@@ -504,7 +504,7 @@ namespace Tizen.Multimedia.MediaCodec
 
         private void UnregisterOutputAvailableCallback()
         {
-            int ret = Interop.MediaCodec.UnsetOutputBufferAvaiableCb(_handle);
+            int ret = Interop.MediaCodec.UnsetOutputBufferAvailableCb(_handle);
 
             MultimediaDebug.AssertNoError(ret);
         }
index e3a6800..1fd8784 100644 (file)
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 internal static partial class Interop
 {
     internal static partial class Libraries
index 86cc119..fa278c2 100644 (file)
@@ -1074,7 +1074,7 @@ namespace Tizen.Multimedia
         /// <exception cref="ObjectDisposedException">
         ///     The player has already been disposed of.\n
         ///     -or-\n
-        ///     <paramref name="poilcy"/> has already been disposed of.
+        ///     <paramref name="policy"/> has already been disposed of.
         /// </exception>
         /// <exception cref="InvalidOperationException">The player is not in the valid state.</exception>
         /// <exception cref="ArgumentNullException"><paramref name="policy"/> is null.</exception>
index 4beb26d..2654a84 100644 (file)
@@ -101,7 +101,7 @@ namespace Tizen.Multimedia
                     throw new NoBufferSpaceException(msg);
 
                 case PlayerErrorCode.ResourceLimit:
-                    throw new ResouceLimitException(msg);
+                    throw new ResourceLimitException(msg);
 
                 case PlayerErrorCode.NotSupportedAudioCodec:
                     throw new CodecNotSupportedException(CodecKind.Audio);
@@ -132,13 +132,13 @@ namespace Tizen.Multimedia
     /// <summary>
     /// The exception that is thrown when there is no available resource for internal use.
     /// </summary>
-    public class ResouceLimitException : InvalidOperationException
+    public class ResourceLimitException : InvalidOperationException
     {
         /// <summary>
-        /// Initializes a new instance of the ResouceLimitException class with a specified error message.
+        /// Initializes a new instance of the ResourceLimitException class with a specified error message.
         /// </summary>
         /// <param name="message">Error description.</param>
-        public ResouceLimitException(string message) : base(message)
+        public ResourceLimitException(string message) : base(message)
         {
         }
     }
index 7826f88..9c46676 100644 (file)
@@ -231,7 +231,7 @@ namespace Tizen.Multimedia
         /// <remarks>The <see cref="Multimedia.Player"/> that owns this instance must be in the <see cref="PlayerState.Ready"/>, <see cref="PlayerState.Playing"/> or <see cref="PlayerState.Paused"/> state.</remarks>
         /// <exception cref="ObjectDisposedException">The <see cref="Multimedia.Player"/> that this instance belongs to has been disposed.</exception>
         /// <exception cref="InvalidOperationException">The <see cref="Multimedia.Player"/> that this instance belongs to is not in the valid state.</exception>
-        public AudioStreamProperties GetAudioProperies()
+        public AudioStreamProperties GetAudioProperties()
         {
             Player.ValidatePlayerState(PlayerState.Ready, PlayerState.Playing, PlayerState.Paused);
 
index 1b7876a..75190f6 100644 (file)
@@ -3,7 +3,7 @@
   <Import Project="../build/build.props" />
 
   <PropertyGroup>
-    <Version>1.0.1</Version>
+    <Version>1.0.2</Version>
     <Description>Provides the Multimedia Player API for Tizen .NET</Description>
   </PropertyGroup>
 
index a732eb2..949bcb5 100644 (file)
@@ -44,7 +44,7 @@ namespace Tizen.Multimedia
             try
             {
                 SetScanCompletedCb(_handle, ScanCompleteCallback).ThrowIfFailed("Failed to initialize radio");
-                SetInterruptedCb(_handle, IntruptedCallback).ThrowIfFailed("Failed to initialize radio");
+                SetInterruptedCb(_handle, InterruptedCallback).ThrowIfFailed("Failed to initialize radio");
             }
             catch (Exception)
             {
@@ -343,16 +343,16 @@ namespace Tizen.Multimedia
             ScanCompleted?.Invoke(this, EventArgs.Empty);
         }
 
-        private void IntruptedCallback(RadioInterruptedReason reason, IntPtr data)
+        private void InterruptedCallback(RadioInterruptedReason reason, IntPtr data)
         {
             Interrupted?.Invoke(this, new RadioInterruptedEventArgs(reason));
         }
 
-        private void ValidateRadioState(params RadioState[] reqiured)
+        private void ValidateRadioState(params RadioState[] required)
         {
             RadioState curState = State;
 
-            if (reqiured.Contains(curState) == false)
+            if (required.Contains(curState) == false)
             {
                 throw new InvalidOperationException($"{curState} is not valid state.");
             }
index d8dc559..631d9c7 100644 (file)
@@ -34,7 +34,7 @@ namespace Tizen.Multimedia
         NoAntenna = -0x019A0000 | 0x03,
     }
 
-    internal static class RadioErrorExtesions
+    internal static class RadioErrorExtensions
     {
         internal static void ThrowIfFailed(this RadioError err, string message)
         {
index 751531b..d964786 100644 (file)
@@ -28,7 +28,7 @@ namespace Tizen.Multimedia.Util
         internal BitmapFrame(IntPtr nativeBuffer, int width, int height, int size)
         {
             Debug.Assert(nativeBuffer != IntPtr.Zero);
-            
+
             byte[] buf = new byte[size];
             Marshal.Copy(nativeBuffer, buf, 0, size);
 
index 5cba546..efeec4b 100644 (file)
@@ -34,7 +34,7 @@ namespace Tizen.Multimedia.Util
         NotSupportedFormat = -0x01920000 | 0x01,
     }
 
-    internal static class ImageUtilErrorExtesions
+    internal static class ImageUtilErrorExtensions
     {
         internal static void ThrowIfFailed(this ImageUtilError err, string message)
         {
index 1a8b6ce..89bf41e 100644 (file)
@@ -129,9 +129,9 @@ namespace Tizen.Multimedia
         ///     -or-\n
         ///     The height of <paramref name="value"/> is less than or equal to zero.\n
         ///     -or-\n
-        ///     The x position of <paramref name="value"/> is lsss than zero.\n
+        ///     The x position of <paramref name="value"/> is less than zero.\n
         ///     -or-\n
-        ///     The y position of <paramref name="value"/> is lsss than zero.\n
+        ///     The y position of <paramref name="value"/> is less than zero.\n
         /// </exception>
         public Rectangle? Roi
         {
index 587cbe5..4007a7c 100644 (file)
@@ -28,7 +28,7 @@ namespace Tizen.Multimedia
         private const string KeyUseStabilization = "MV_IMAGE_TRACKING_USE_STABLIZATION";
         private const string KeyStabilizationTolerantShift = "MV_IMAGE_TRACKING_STABLIZATION_TOLERANT_SHIFT";
         private const string KeyStabilizationSpeed = "MV_IMAGE_TRACKING_STABLIZATION_SPEED";
-        private const string KeyStabilizationAccelaration = "MV_IMAGE_TRACKING_STABLIZATION_ACCELERATION";
+        private const string KeyStabilizationAcceleration = "MV_IMAGE_TRACKING_STABLIZATION_ACCELERATION";
 
         /// <summary>
         /// A read-only field that represents the default value of <see cref="HistoryAmount"/>.
@@ -56,9 +56,9 @@ namespace Tizen.Multimedia
         public static readonly double DefaultStabilizationSpeed = 0.3;
 
         /// <summary>
-        /// A read-only field that represents the default value of <see cref="StabilizationAccelaration"/>.
+        /// A read-only field that represents the default value of <see cref="StabilizationAcceleration"/>.
         /// </summary>
-        public static readonly double DefaultStabilizationAccelaration = 0.1;
+        public static readonly double DefaultStabilizationAcceleration = 0.1;
 
         /// <summary>
         /// Initializes a new instance of the <see cref="ImageTrackingConfiguration"/> class.
@@ -128,11 +128,11 @@ namespace Tizen.Multimedia
         ///     -or-\n
         ///     <paramref name="value"/> is greater than one.
         /// </exception>
-        public double StabilizationAccelaration
+        public double StabilizationAcceleration
         {
             get
             {
-                return GetDouble(KeyStabilizationAccelaration);
+                return GetDouble(KeyStabilizationAcceleration);
             }
             set
             {
@@ -141,7 +141,7 @@ namespace Tizen.Multimedia
                     throw new ArgumentOutOfRangeException(nameof(value), value, "Valid range is 0 to 1 inclusive.");
                 }
 
-                Set(KeyStabilizationAccelaration, value);
+                Set(KeyStabilizationAcceleration, value);
             }
         }
 
index d524618..623d277 100644 (file)
@@ -29,12 +29,12 @@ namespace Tizen.Multimedia
         /// </summary>
         public PersonRecognizedEventArgs(IEnumerable<PersonRecognitionInfo> recognitionInfo)
         {
-            Recongnitions = recognitionInfo;
+            Recognitions = recognitionInfo;
         }
 
         /// <summary>
         /// Gets a set of information that correspond to the recognized persons.
         /// </summary>
-        public IEnumerable<PersonRecognitionInfo> Recongnitions { get; }
+        public IEnumerable<PersonRecognitionInfo> Recognitions { get; }
     }
 }
index fea0dff..b1425a2 100644 (file)
@@ -3,7 +3,7 @@
   <Import Project="../build/build.props" />
 
   <PropertyGroup>
-    <Version>1.0.0</Version>
+    <Version>1.0.1</Version>
     <Description>Provides the Multimedia Vision API for Tizen .NET</Description>
   </PropertyGroup>
 
index ffecc12..14eadbf 100644 (file)
@@ -594,7 +594,7 @@ namespace Tizen.Multimedia
         /// Provides a thread-safe lock controller.
         /// </summary>
         /// <example>
-        /// using (var lock = BaseMeadiPacket.Lock(mediaPacket))
+        /// using (var lock = BaseMediaPacket.Lock(mediaPacket))
         /// {
         ///     ....
         /// }
@@ -716,7 +716,7 @@ namespace Tizen.Multimedia
         #endregion
 
         /// <summary>
-        /// Creates an object of the MediaPacekt with the specified <see cref="MediaFormat"/>.
+        /// Creates an object of the MediaPacket with the specified <see cref="MediaFormat"/>.
         /// </summary>
         /// <param name="format">The media format for the new packet.</param>
         /// <returns>A new MediaPacket object.</returns>