From 07ea93bd0da4180ba4f7934ae35630140b181f80 Mon Sep 17 00:00:00 2001 From: coderhyme Date: Mon, 24 Jul 2017 12:52:55 +0900 Subject: [PATCH] [AudioIO] Fixed WavPlayer to throw correct exception when the file format is wrong. Change-Id: I3d2863ff37e658043ae8baf98354760c6fbfc22d Signed-off-by: coderhyme --- src/Tizen.Multimedia.AudioIO/Tizen.Multimedia.AudioIO.csproj | 2 +- src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayerError.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tizen.Multimedia.AudioIO/Tizen.Multimedia.AudioIO.csproj b/src/Tizen.Multimedia.AudioIO/Tizen.Multimedia.AudioIO.csproj index 06ff2e6..9d08b27 100644 --- a/src/Tizen.Multimedia.AudioIO/Tizen.Multimedia.AudioIO.csproj +++ b/src/Tizen.Multimedia.AudioIO/Tizen.Multimedia.AudioIO.csproj @@ -3,7 +3,7 @@ - 1.0.2 + 1.0.3 Provides the Multimedia AudioIO API for Tizen .NET diff --git a/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayerError.cs b/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayerError.cs index cde5fd3..4570b22 100644 --- a/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayerError.cs +++ b/src/Tizen.Multimedia.AudioIO/WavPlayer/WavPlayerError.cs @@ -44,6 +44,7 @@ namespace Tizen.Multimedia throw new ArgumentException(message); case WavPlayerError.FormatNotSupported: + throw new FileFormatException(message); case WavPlayerError.NotSupportedType: throw new NotSupportedException(message); -- 2.7.4