From: coderhyme Date: Mon, 24 Jul 2017 03:52:55 +0000 (+0900) Subject: [AudioIO] Fixed WavPlayer to throw correct exception when the file format is wrong. X-Git-Tag: submit/trunk/20170823.075128~94^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07ea93bd0da4180ba4f7934ae35630140b181f80;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [AudioIO] Fixed WavPlayer to throw correct exception when the file format is wrong. Change-Id: I3d2863ff37e658043ae8baf98354760c6fbfc22d Signed-off-by: coderhyme --- 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);