From: nam <36914158+aferin@users.noreply.github.com>
Date: Tue, 8 Oct 2019 09:54:54 +0000 (+0900)
Subject: [MediaPlayer] change the error code related with AudioOffload (#1050)
X-Git-Tag: 5.5_M2~38
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2877dd32f67becb7cfb1d1300a339d5f3aaf737f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
[MediaPlayer] change the error code related with AudioOffload (#1050)
* [MediaPlayer] change the error code related with AudioOffload
---
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/AudioEffect.cs b/src/Tizen.Multimedia.MediaPlayer/Player/AudioEffect.cs
index 7319b69..0c1841a 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/AudioEffect.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/AudioEffect.cs
@@ -49,7 +49,7 @@ namespace Tizen.Multimedia
/// -or-
/// is equal to or greater than .
///
- ///
+ ///
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// 3
@@ -79,10 +79,10 @@ namespace Tizen.Multimedia
/// Clears the equalizer effect.
///
/// The has already been disposed of.
- ///
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// returns false. (Since tizen 6.0)
///
- /// returns false. (Since tizen 6.0)
///
/// 3
public void Clear()
@@ -100,10 +100,10 @@ namespace Tizen.Multimedia
///
/// Gets the number of items.
///
- ///
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// returns false. (Since tizen 6.0)
///
- /// returns false. (Since tizen 6.0)
///
/// 3
public int Count
@@ -125,10 +125,10 @@ namespace Tizen.Multimedia
///
/// Gets the range of band level in dB.
///
- ///
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// returns false. (Since tizen 6.0)
///
- /// returns false. (Since tizen 6.0)
///
/// 3
public Range BandLevelRange
@@ -151,11 +151,13 @@ namespace Tizen.Multimedia
/// Gets the value whether the AudioEffect is available or not.
///
/// This function returns the availability of the audio effect function group and
- /// it could be unavailable depending on the platform capabilities.
- ///
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// it could be unavailable depending on the platform capabilities.
+ /// If audio offload is enabled by calling ,
+ /// the returns false.(Since tizen 6.0)
+ ///
+ /// The function is not available depending on the audio codec type. (Since tizen 6.0)
///
- /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ ///
///
/// 3
public bool IsAvailable
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/AudioOffload.cs b/src/Tizen.Multimedia.MediaPlayer/Player/AudioOffload.cs
index bc63381..5d44f88 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/AudioOffload.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/AudioOffload.cs
@@ -56,7 +56,7 @@ namespace Tizen.Multimedia
/// The player lets the hardware decode and render the sound if the audio offload is enabled.
/// Audio offload can reduce the power consumption, but disable the ability to handle output PCM.
/// Please check the below list of functions which will not work if offloading is enabled.
- /// If audio offload is enabled, the following functions will return :
+ /// If audio offload is enabled, the following functions will return :
///
///
///
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/EqualizerBand.cs b/src/Tizen.Multimedia.MediaPlayer/Player/EqualizerBand.cs
index 303f91e..d5c7e54 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/EqualizerBand.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/EqualizerBand.cs
@@ -48,7 +48,7 @@ namespace Tizen.Multimedia
///
/// is not inside of .
///
- ///
+ ///
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// 3
@@ -87,7 +87,7 @@ namespace Tizen.Multimedia
///
/// Gets the frequency in dB.
///
- ///
+ ///
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// 3
@@ -107,7 +107,7 @@ namespace Tizen.Multimedia
///
/// Gets the frequency range in dB.
///
- ///
+ ///
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// 3
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/Player.Properties.cs b/src/Tizen.Multimedia.MediaPlayer/Player/Player.Properties.cs
index 0fb6bba..361f7e7 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/Player.Properties.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/Player.Properties.cs
@@ -233,9 +233,10 @@ namespace Tizen.Multimedia
///
/// The player has already been disposed of.
/// The value is not valid.
- ///
+ ///
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
+ ///
/// 3
public AudioLatencyMode AudioLatencyMode
{
@@ -549,10 +550,12 @@ namespace Tizen.Multimedia
/// The player has already been disposed of.
///
/// The player is not in the valid state.
+ ///
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
/// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// The function is not available depending on the audio codec type. (Since tizen 6.0)
///
- /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ ///
///
/// 5
public bool ReplayGain
@@ -586,12 +589,14 @@ namespace Tizen.Multimedia
/// This function could be unavailable depending on the audio codec type.
///
/// The player is not in the valid state.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// The player has already been disposed of.
- /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ ///
///
+ ///
///
/// 6
public bool AudioPitchEnabled
@@ -626,17 +631,19 @@ namespace Tizen.Multimedia
/// This function could be unavailable depending on the audio codec type.
///
/// A pitch is not enabled.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
///
/// The player has already been disposed of.
///
/// value is less than 0.5.
/// -or-
- /// value is greater than 2.0.
+ /// value is greater than 2.0.
+ ///
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// The function is not available depending on the audio codec type. (Since tizen 6.0)
///
- /// The function is not available depending on the audio codec type. (Since tizen 6.0)
///
+ ///
///
/// 6
public float AudioPitch
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs b/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs
index 5d6518e..3691225 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/Player.cs
@@ -762,8 +762,6 @@ namespace Tizen.Multimedia
/// The player is not in the valid state.
/// -or-
/// Streaming playback.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
///
///
/// is less than -5.0.
@@ -772,6 +770,10 @@ namespace Tizen.Multimedia
/// -or-
/// is zero.
///
+ ///
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ ///
+ ///
/// 3
public void SetPlaybackRate(float rate)
{
@@ -974,12 +976,14 @@ namespace Tizen.Multimedia
/// Operation failed; internal error.
/// -or-
/// The player is not in the valid state.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
///
- /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// -or-
+ /// The function is not available depending on the audio codec type. (Since tizen 6.0)
+ ///
///
///
+ ///
///
/// 6
public void EnableExportingAudioData(AudioMediaFormat format, PlayerAudioExtractOption option)
diff --git a/src/Tizen.Multimedia.MediaPlayer/Player/PlayerTrackInfo.cs b/src/Tizen.Multimedia.MediaPlayer/Player/PlayerTrackInfo.cs
index 4694756..5cb0007 100644
--- a/src/Tizen.Multimedia.MediaPlayer/Player/PlayerTrackInfo.cs
+++ b/src/Tizen.Multimedia.MediaPlayer/Player/PlayerTrackInfo.cs
@@ -48,7 +48,7 @@ namespace Tizen.Multimedia
/// , or state.
///
/// The that this instance belongs to has been disposed of.
- /// The that this instance belongs to is not in the valid state.
+ /// The that this instance belongs to is not in the valid state.
/// -or-
/// If audio offload is enabled by calling . (Since tizen 6.0)
///
@@ -79,14 +79,15 @@ namespace Tizen.Multimedia
///
/// The that this instance belongs to has been disposed of.
/// The that this instance belongs to is not in the valid state.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
///
///
/// is less than zero.
/// -or-
/// is equal to or greater than .
///
+ ///
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ ///
/// 3
public string GetLanguageCode(int index)
{
@@ -134,15 +135,16 @@ namespace Tizen.Multimedia
///
/// The that this instance belongs to has been disposed of.
///
- /// The that this instance belongs to is not in the valid state.
- /// -or-
- /// If audio offload is enabled by calling . (Since tizen 6.0)
+ /// The that this instance belongs to is not in the valid state.
///
///
/// is less than zero.
/// -or-
/// is equal to or greater than .
///
+ ///
+ /// If audio offload is enabled by calling . (Since tizen 6.0)
+ ///
/// 3
public int Selected
{