Sangchul Lee [Fri, 31 May 2019 05:55:45 +0000 (14:55 +0900)]
CAudioOutput: Apply high latency in case of network source media audio type
[Version] 0.5.16
[Issue Type] New feature
Change-Id: I1c614bcfed4021dad7a651bd60d69924a8d4c8c9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 12 Dec 2018 02:53:00 +0000 (02:53 +0000)]
Merge "CAudioInput/Output: Apply VoIP latency in case of VoIP audio type" into tizen
Sangchul Lee [Tue, 11 Dec 2018 04:35:38 +0000 (13:35 +0900)]
CAudioInput/Output: Apply VoIP latency in case of VoIP audio type
There was no implementation of setting specific latency value except default case.
An audio type can be set by audio_in[out]_set_sound_stream_info() and therefore
we can utilize the audio type to determine which latency type should be set.
If it is set, the audio core recoginizes it and set this stream with a specific
latency value.
VoIP type is one of the most common usecases for audio-io API. This case is
now added.
[Version] 0.5.15
[Issue Type] Enhancement
Change-Id: Id5fd33f79fbb2430ce35824e06c4454a0f66dff1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Fri, 7 Dec 2018 07:23:05 +0000 (16:23 +0900)]
Fix invalid format string
[Version] 0.5.15
[Issue Type] Build
Change-Id: Ia7106706f2e349d64b859bed53a20d0e85cbec95
Jungsup Lee [Tue, 6 Nov 2018 04:07:28 +0000 (13:07 +0900)]
Add pa_threaded_mainloop_lock() in CPulseAudioClient::write()
[Version] 0.5.14
[Issue Type] Bug fix
Change-Id: I56747241d749c2434101106c4aa1144aad1dde07
Signed-off-by: Jungsup Lee <jungsup4.lee@samsung.com>
Seungbae Shin [Thu, 18 Oct 2018 07:35:17 +0000 (16:35 +0900)]
Remove unnecessary input drain code
[Version] 0.5.13
[Issue Type] Revise
Change-Id: Ia11fbd008af6cedf9856b4dcf6c153a8dbf4e0c8
Seungbae Shin [Wed, 28 Feb 2018 07:50:15 +0000 (16:50 +0900)]
Seperates privilege implementations from CAudioInput
[Version] 0.5.12
[Issue Type] Revise
Change-Id: I174b9cf04881acb0ff03fec1968e2f50aca8ec56
Seungbae Shin [Thu, 4 Oct 2018 11:09:06 +0000 (20:09 +0900)]
Remove unnecessary dependancies
[Version] 0.5.11
[Issue Type] Cleanup
Change-Id: Iee1173184d7eee42fcc8ff73418c52a2d586a55d
SeokHoon Lee [Tue, 18 Sep 2018 01:28:58 +0000 (10:28 +0900)]
Add gcov environment
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I0c6d7329d49a8af7cd8a6c77840b2623e6f47fdd
Seungbae Shin [Wed, 29 Aug 2018 02:36:54 +0000 (11:36 +0900)]
fixup! fixup! Revise testsuite
- fix 64bit build error
Change-Id: I810075a6bf0e70a0d608139c2044ce03d5dfc91f
Seungbae Shin [Tue, 28 Aug 2018 07:26:15 +0000 (16:26 +0900)]
fixup! Revise testsuite
Change-Id: I8bde941ab926ed9a8cc925d75688784dadc22b40
Seungbae Shin [Tue, 17 Jul 2018 11:49:15 +0000 (20:49 +0900)]
Revise testsuite
remove unnecessary glib header include
[Version] 0.5.10
[Issue Type] Revision
Change-Id: Ie232cd33c38b205a0cb1795c220a0265b46e199a
Seungbae Shin [Mon, 4 Jun 2018 10:03:44 +0000 (19:03 +0900)]
Support 24bit sample format and up-to 192kHz sample rate
[Version] 0.5.9
[Issue Type] Enhancement
Change-Id: I1f5dafa187781e60041ce6667cdc66c156466076
Seungbae Shin [Fri, 8 Jun 2018 09:17:48 +0000 (18:17 +0900)]
Skip drain when stream is not started yet
[Version] 0.5.8
[Issue Type] Bug Fix
Change-Id: I741348f3ed8fe082d6734dd91d8e79533af1c865
Seungbae Shin [Wed, 15 Nov 2017 10:00:12 +0000 (19:00 +0900)]
Remove 3.0 deprecated API
Please refer following deprecation policy.
https://developer.tizen.org/development/training/native-application/understanding-tizen-programming/api-versioning-and-deprecation-policy-tizen-platform
[Version] 0.5.7
[Issue Type] Deprecation
Change-Id: I79cf36662d10fdb7140f96bca8aef8f905cec89f
Seungbae Shin [Mon, 23 Apr 2018 10:20:06 +0000 (19:20 +0900)]
Fix for TV product build macro
[Version] 0.5.6
[Issue Type] Build
Change-Id: Ia0541ac27ef8686579b38d8a440d6847174d3236
Seungbae Shin [Wed, 28 Feb 2018 05:42:07 +0000 (14:42 +0900)]
Update doc for deprecation
[Version] 0.5.5
[Issue Type] Deprecation
Change-Id: Ib164beb96006c7b8fc44bf7436b6dc18f63ea3b2
Seungbae Shin [Fri, 23 Feb 2018 10:13:45 +0000 (19:13 +0900)]
Remove 3.0 deprecated API implementation
[Version] 0.5.4
[Issue Type] Deprecation
Change-Id: I8acb7365e55e0d76afe8fdca9e559e0b90f5743f
Seungbae Shin [Thu, 8 Feb 2018 08:30:48 +0000 (17:30 +0900)]
Throw invalid operation error when unprepare() is called at inside of pulse-thread
seperate tool package for containing test binary
[Version] 0.5.3
[Issue Type] Bug Fix
Change-Id: If5861e2d217d52da7dd9162aeeb74bb0498e3059
Seungbae Shin [Wed, 14 Feb 2018 11:37:08 +0000 (20:37 +0900)]
Add session mutex lock
- revise try-catch blocks / single line statement
- add more capi layer logs for easy debugging
[Version] 0.5.2
[Issue Type] Bug Fix
Change-Id: Ide35f778da97fe9d69227628d6d97ed607509aec
Sangchul Lee [Mon, 15 Jan 2018 08:02:59 +0000 (17:02 +0900)]
Revise CPulseAudioClient::finalize() to free all the resources which have been already used
A failure can be happened during initialize(), we do not lean on the __mIsInit member variable
which is only set on the last stage of the initialize() function.
[Version] 0.5.1
[Issue Type] Bug Fix
Change-Id: I906365647ea08fd27e5c72562fb59f94c2b77b96
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 25 Jan 2018 05:30:17 +0000 (14:30 +0900)]
Disable deprecated sound-manager internal API call
Other deprecated code will be removed soon
[Version] 0.5.0
[Issue Type] Deprecation
Change-Id: I60b2d06cd51ffb391083b843630498dd1b24f424
Seungbae Shin [Tue, 7 Nov 2017 10:00:37 +0000 (19:00 +0900)]
Enable dummy write on streamCb only for async mode backward compatibility
set started/underflow for playback debugging purpose
[Version] 0.4.5
[Issue Type] Bug Fix
Change-Id: I1c39d76895f93c6a6719d719c3382342f84be4d8
(cherry picked from commit
2f28d6f49ca602993014f849835865757e1f02b9)
Sangchul Lee [Thu, 2 Nov 2017 09:40:31 +0000 (18:40 +0900)]
Fix build warning
[Version] 0.4.4
[Issue Type] Build warning
Change-Id: I50e90f6c0cfcc2280ce0a98490d66b3355306c90
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
acc37bef636f7e140cb84b3b3366948fd15afbda)
Sangchul Lee [Thu, 2 Nov 2017 05:48:38 +0000 (14:48 +0900)]
Add to lock/unlock focus Id mutex
There are cases that focus or focus watch callback is used internally
for session backward compatibility. Because there has not been any mutex for
focus id, sometimes an unintended error happens accessed from another thread.
Now, a mutex for the focus id is added and operated to secure the critical section.
[Version] 0.4.3
[Issue Type] Bug fix
Change-Id: Ib4c721f49e80417a6b92e19e1bf61c81148bb1d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 29 Sep 2017 01:33:25 +0000 (10:33 +0900)]
Rearrange internalLock()
'internalLock' is for protecting mpPulseAudioClient handle.
But in some functions, it is used too widely it causes dead-lock
issue with internal focus callback for session backward compatibility.
Original patch
: https://review.tizen.org/gerrit/#/c/153596/
[Version] 0.4.2
[Issue Type] Bug fix
Change-Id: I5c4633e3a9ecfa631bd860a85edf8511cd05c28c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
f3f84b6d2c5257f2a25d710a336a0a52ddd42b78)
Sangchul Lee [Mon, 17 Apr 2017 07:04:55 +0000 (16:04 +0900)]
Apply blocking policy in case of prepare() functions
If audio io handle uses media session with MIX_WITH_OTHERS option and other process
has already acquired a focus which has more higher priority than media, policy error
will be returned from prepare() functions.
- audio_out_prepare(), audio_in_prepare()
Unnecessary session backward compatibility codes are also removed in some functions
exported since tizen 3.0.
- audio_out_pause(), audio_in_pause()
- audio_out_resume(), audio_in_resume()
Original patch is
: https://review.tizen.org/gerrit/#/c/125413/
[Version] 0.4.1
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: Id0710c2847903cf96cdce38eab909b5c2e103c5f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
6035bcf1a578fa1c0533a7d850e0e9f2794a46ab)
Seungbae Shin [Tue, 12 Sep 2017 03:18:01 +0000 (12:18 +0900)]
Modification for Tizen C++ Coding Rule Checker
[Version] 0.4.0
[Issue Type] Cleanup
Change-Id: I1e94771fa0f3ebc5cf6fce8cce0b15deacfb5abf
Seungbae Shin [Thu, 3 Aug 2017 10:16:05 +0000 (19:16 +0900)]
Merge from mobile product code for backward compatibility
(common)
- seperate cond wait mutex
- reject read on interrupted situtation
- no auto-resume by audio-io
- async send interrupt completed event using g_idle_add()
(except TV product)
- seperate async playback latency managment
- start stream as corked
- dummy write on start
[Version] 0.3.81
[Issue Type] Compatibility
Change-Id: Ie55c7c723433db0c607e08319a09429d163c6b78
Sangchul Lee [Mon, 21 Aug 2017 06:14:42 +0000 (15:14 +0900)]
Add mutex for internal focus cb
[Version] 0.3.80
[Issue Type] Enhancement
Change-Id: Ic2bda1f6915738ae6228fa6b22aa74c1beefa852
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Tue, 25 Jul 2017 03:58:23 +0000 (12:58 +0900)]
Revise exception handling
- Use reference variable on catching exception
- Remove throw specification which mostly useless
- Add few more null checks
- Revise re-throw method
- Fix SVACE defects (WGID:13946)
- Add copy constructor for CAudioError class
[Version] 0.3.79
[Profile] Common
[Issue Type] Enhancement
Change-Id: Iadf4fcceaf0f4c07bf575f2809e16ab0cb60608d
Sangchul Lee [Fri, 28 Jul 2017 03:05:12 +0000 (12:05 +0900)]
Support VOICE_RECOGNITION_SERVICE stream type
[Version] 0.3.78
[Profile] Common
[Issue Type] Enhancement
Change-Id: Ie9842b817a365107fbcdd2e034589cf1fbfcef4d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
KimJeongYeon [Mon, 29 May 2017 02:38:53 +0000 (11:38 +0900)]
Fix exception handling of 'new' operator.
If it fails memory allocation by calling operator 'new', 'std:bad_alloc' exception will throw.
Therefore, never check null-pointer at next line. These situations cause potential leak also.
This patch uses exception handling of 'new' operator instead of checking null-pointer.
[Version] 0.3.77
[Profile] Common
[Issue Type] Bug
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ibdd9c4d93273d1a0874eee4cdb5056ff5ae35407
Seungbae Shin [Thu, 22 Jun 2017 13:40:37 +0000 (22:40 +0900)]
Fix build error due to -Wformat
[Version] 0.3.77
[Profile] Common
[Issue Type] Enhancement
Change-Id: I5b5b9dd123eeeb5445b108063ddb158e0597a1d5
Sangchul Lee [Wed, 21 Jun 2017 01:31:07 +0000 (10:31 +0900)]
Manage current acquired focus state and check it before acquiring/releasing focus
[Version] 0.3.76
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: Ifa9a06a8402932e454803b579d97ba48eac3b263
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 8 Jun 2017 06:59:11 +0000 (15:59 +0900)]
Use static_cast instead of dynamic cast
[Version] 0.3.75
[Profile] Common
[Issue Type] Enhancement
Change-Id: I5eb19a26aed1d01cebb77f33c8376a10ddb23a2d
Sangchul Lee [Thu, 13 Apr 2017 05:16:11 +0000 (14:16 +0900)]
Fix convertInterruptedCode()
[Version] 0.3.74
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I2fbe48dcf447089ed1096ce750bb7db75d4f90e5
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
54c7a443738deaf9fa3421b8372ed071fa457a76)
Seungbae Shin [Mon, 3 Apr 2017 05:31:20 +0000 (14:31 +0900)]
Fix doxygen comment which is different with actual implementation
Change-Id: Ie47763f3b1b28d72d7017cf315bdf659fc57ef84
(cherry picked from commit
6708973408ad4b2aa0fec759824ef15e09549d1a)
Sangchul Lee [Mon, 3 Apr 2017 05:09:40 +0000 (14:09 +0900)]
Fix reference link
[Version] 0.3.73
[Profile] Common
[Issue Type] Documentation
Change-Id: I956e714a3bae3951401f4e18333d48c5034968a4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Jeongho Mok [Fri, 24 Mar 2017 09:55:42 +0000 (18:55 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Ia1c6ddf672ed79f00335455cc4cc98853f56c115
Sangchul Lee [Fri, 17 Mar 2017 04:02:43 +0000 (13:02 +0900)]
Enhance backward compatibility for media session
Pass no-resume option when acquiring/releasing focus internally in case of media session type.
Set reacquisition to false in case of media session type without resume setting.
Those are added to meet the previous media session behavior.
[Version] 0.3.72
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I0b3d34c3b72b6c7365cfe383316bcd3540273d05
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 9 Mar 2017 04:57:31 +0000 (13:57 +0900)]
Skip drain() function when onInterrupt is invoked
These codes are disabled temporarily due to the blocking of the drain() function in onInterrupt.
[Version] 0.3.71
[Profile] Common
[Issue Type] Fix bug
Change-Id: I1ce61473480722e7837123cc54e63d180a6441a0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 28 Feb 2017 08:55:27 +0000 (17:55 +0900)]
Abandon internal focus if it exists when setStreamInfo() is called
[Version] 0.3.70
[Profile] Common
[Issue Type] Enhancement
Change-Id: I88bea331681cbb64a74b43d6a823807622892bed
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit
4098ee97917ff77c60236be096cbbf5b451dccd0)
Sangchul Lee [Tue, 28 Feb 2017 08:55:27 +0000 (17:55 +0900)]
Abandon internal focus if it exists when setStreamInfo() is called
[Version] 0.3.70
[Profile] Common
[Issue Type] Enhancement
Change-Id: I88bea331681cbb64a74b43d6a823807622892bed
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 2 Mar 2017 03:45:02 +0000 (12:45 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I139d1245111fd7680078ea529dfca90879bad97e
Seungbae Shin [Mon, 27 Feb 2017 02:19:52 +0000 (11:19 +0900)]
Lock threaded mainloop before reset callbacks for safety
[Version] 0.3.69
[Profile] Common
[Issue Type] Bug
Change-Id: I258490b69489c09ac4fe17a388bbaf69b00a073c
Seungbae Shin [Fri, 24 Feb 2017 11:00:58 +0000 (20:00 +0900)]
Write dummy write if stream is not written at first callback during prepare situtaion
[Version] 0.3.68
[Profile] Common
[Issue Type] Bug
Change-Id: I3118c91af39d6022db9d4fb889a1a437a47dc605
Seungbae Shin [Tue, 14 Feb 2017 04:57:23 +0000 (13:57 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I100336b4b3032b59e3488af71a3c1990eb20134f
Seungbae Shin [Mon, 13 Feb 2017 07:56:08 +0000 (16:56 +0900)]
Fix SVACE defects
[Version] 0.3.67
[Profile] Common
[Issue Type] Security
Change-Id: Ieaf38e106ca40196571cdfca35ccecad2b146dab
Sangchul Lee [Thu, 9 Feb 2017 04:47:38 +0000 (13:47 +0900)]
Avoid deadlock situation between onInterrupt() and unprepare()
[Version] 0.3.66
[Profile] Common
[Issue Type] Bug fix
Change-Id: I2774538bf32d7fd34fbc0944ba8975f73cded29d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 7 Feb 2017 04:52:15 +0000 (13:52 +0900)]
Refactor codes of setting stream info. and add support for setting internal stream info. in case of VoIP session
[Version] 0.3.65
[Profile] Common
[Issue Type] Refactorying and backward compatibility
Change-Id: I514f08eb6e39b329afb42c5fd676fea2e04a0cb3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
howon kim [Thu, 2 Feb 2017 04:40:06 +0000 (13:40 +0900)]
sched_yield() after sync read/write to avoid thread starvation
[Version] 0.3.64
[Profile] Common
[Issue Type] BUG
Change-Id: Iaa265baa7d49686c03ab8558277b5f9827ef673e
Signed-off-by: howon kim <howon.kim@samsung.com>
Sangchul Lee [Mon, 6 Feb 2017 02:38:40 +0000 (11:38 +0900)]
Implementation of isSkipSession() in CAudioSessionHandler.c
[Version] 0.3.63
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I38ce75d25980de795d91375af40397b76768ef4c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 2 Feb 2017 09:47:38 +0000 (18:47 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Iecf911453f488e7370484320e73376835f4940a9
Sangchul Lee [Thu, 2 Feb 2017 04:05:48 +0000 (13:05 +0900)]
Fix bug regarding ignore session
In case of default session(not registering internal focus handle), ignore session API does not work well.
Now, the invalid condition has been fixed and finalizing audio session handler when ignore session API has been added.
[Version] 0.3.62
[Profile] Common
[Issue Type] Bug fix
Change-Id: I9e67127d1f855a51073e17ea4982c3c74ce9ac8c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Fri, 6 Jan 2017 15:08:58 +0000 (00:08 +0900)]
Cleanup code
[Version] 0.3.61
[Profile] Common
[Issue Type] Cleanup
Change-Id: I9d45df442e268d33c02bd6acefa94265138f03f9
Seungbae Shin [Wed, 1 Feb 2017 08:46:50 +0000 (17:46 +0900)]
Fix memory leak : valgrind
[Version] 0.3.60
[Profile] Common
[Issue Type] Memory Leak
Change-Id: Ia45b3bb108c57f0ccdc60441cd11a23a3213846b
Sangchul Lee [Wed, 25 Jan 2017 07:58:32 +0000 (16:58 +0900)]
Disable focus callback for session backward compatibility temporarily if tizen tv product, change log level
[Version] 0.3.59
[Profile] Common
[Issue Type] Backward compatibility
Change-Id: I20feb6baeaca7a4774431b81976b10f451505a78
Seungbae Shin [Mon, 23 Jan 2017 12:58:25 +0000 (21:58 +0900)]
Fix SVACE defects
[Version] 0.3.58
[Profile] Common
[Issue Type] SVACE
Change-Id: I20ae633c2d888e735bb286800860512ef7416679
Seungbae Shin [Mon, 23 Jan 2017 10:17:22 +0000 (19:17 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Idfca420924e5aaacc52f344626c8d32f6ed01315
Seungbae Shin [Fri, 20 Jan 2017 09:26:24 +0000 (18:26 +0900)]
Fix drain called in thread and wait for drain completion
[Version] 0.3.57
[Profile] Common
[Issue Type] Bug
Change-Id: I308159d4bec56f4b1ccbbab9e5bd929984859955
KimJeongYeon [Thu, 19 Jan 2017 05:02:11 +0000 (14:02 +0900)]
audio-io fixed no callback issue at start
Changes:
* In case of asyncronous write, never callback will be invoked when
application has wrote less than prebuf(-1) at first callback.
To avoid deadlock between applicaiton and pulseaudio, audio-io
ensure to write at least size of prebuf.
* Need to move enabling __mIsInit flag to state changed callback.
Because of some audio-io APIs rejected at first stream callback.
(e.g audio_out_drain, audio_out_flush, ...)
[Version] 0.3.56
[Profile] Common
[Issue Type] Compatibility
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I64e43913c6a22ab2003615b40b9e616c59423628
Sangchul Lee [Thu, 19 Jan 2017 07:55:41 +0000 (16:55 +0900)]
Reset __mpEventListener member in finalize
[Version] 0.3.55
[Profile] Common
[Issue Type] Fix Bug (seg.fault)
Change-Id: Ic653893fabace43dddbf0e1f2aa784b8aea950ca
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Mon, 16 Jan 2017 05:50:16 +0000 (14:50 +0900)]
Remove old temporal APIs
[Version] 0.3.54
[Profile] Common
[Issue Type] Cleanup
Change-Id: Iba934c17e113374a4fdb3bb1622883e32f54ba72
Seungbae Shin [Wed, 11 Jan 2017 13:13:43 +0000 (22:13 +0900)]
Fix -Werror=format for toolchain upgrade
Change-Id: Ic2d1f8e552438e43271d1e8bf9411f22a2de9687
Seungbae Shin [Mon, 16 Jan 2017 04:43:57 +0000 (13:43 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I07e45798feda14f57fcd39cc8e10d2383589f834
Jeongho Mok [Wed, 11 Jan 2017 11:08:34 +0000 (20:08 +0900)]
Check state and isInThread when pause/resume
[Version] 0.3.53
[Profile] Common
[Issue Type] SVACE
Change-Id: I72c8ab825741283dc930646bfaa530b6e49f57fa
Seungbae Shin [Mon, 9 Jan 2017 13:29:34 +0000 (22:29 +0900)]
Fix SVACE defect
[Version] 0.3.52
[Profile] Common
[Issue Type] SVACE
Change-Id: Ia05106422548696ebdfc99401780f1522939a9b0
Seungbae Shin [Sat, 7 Jan 2017 07:15:24 +0000 (16:15 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I7675f49a7a7ceec31f76a02893834231d1ab8195
Seungbae Shin [Sat, 7 Jan 2017 06:13:01 +0000 (15:13 +0900)]
Return invalid operation error if read/write called not in running state
[Version] 0.3.51
[Profile] Common
[Issue Type] Bug
Change-Id: I618317840b846fdd1b9451c585d476b60cf593f4
Seungbae Shin [Fri, 6 Jan 2017 06:29:49 +0000 (15:29 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I2bc59c91dee3963ad5336b084c2bc252e9e4ca06
Seungbae Shin [Tue, 3 Jan 2017 14:10:14 +0000 (23:10 +0900)]
Fix returning buffer size 0 before prepare
[Version] 0.3.50
[Profile] Common
[Issue Type] Bug
Change-Id: I61299c7bb60c128ca66b5ef79f2de366709cc254
KimJeongYeon [Thu, 8 Dec 2016 01:31:59 +0000 (10:31 +0900)]
audio-io uses new 'default' latency configuration.
To provide backward compatibility, prebuf use -1.
[Version] 0.3.49
[Profile] Common
[Issue Type] Improves
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I5425d10044ada179cccc012f687477c92785a617
Seungbae Shin [Mon, 19 Dec 2016 13:19:06 +0000 (22:19 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Id1c40118a76ed826ee31454186f5d5a1d708c571
Seungbae Shin [Tue, 13 Dec 2016 14:50:24 +0000 (23:50 +0900)]
unprepare internally when destroy for backward compatibility
[Version] 0.3.48
[Profile] Common
[Issue Type] compatibility
Change-Id: I8a6a623748783c15b77173f684b221bf8211bae5
Seungbae Shin [Tue, 6 Dec 2016 12:26:29 +0000 (21:26 +0900)]
Change set_stream_info API name for consistency with other pkgs
[Version] 0.3.47
[Profile] Common
[Issue Type] MPR-857
Change-Id: Ie1ebac39738b091a2c410780797d4303cb2a0ad8
(cherry picked from commit
1d04c93f8e2dcd92641106469dc62c4d65a3869d)
Seungbae Shin [Tue, 6 Dec 2016 12:26:29 +0000 (21:26 +0900)]
Change set_stream_info API name for consistency with other pkgs
[Version] 0.3.47
[Profile] Common
[Issue Type] MPR-857
Change-Id: Ie1ebac39738b091a2c410780797d4303cb2a0ad8
aravind.gara [Mon, 28 Nov 2016 10:12:09 +0000 (19:12 +0900)]
sound_manager API changed
Change-Id: I7add990057091065971ba65150c234698b6f4806
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
(cherry picked from commit
795b4e58e32814eeb5a99143ce51169def8bb496)
aravind.gara [Mon, 28 Nov 2016 10:12:09 +0000 (19:12 +0900)]
sound_manager API changed
Change-Id: I7add990057091065971ba65150c234698b6f4806
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
Seungbae Shin [Tue, 29 Nov 2016 12:23:28 +0000 (21:23 +0900)]
Fix SVACE defects
[Version] 0.3.46
[Profile] Common
[Issue Type] SVACE
Change-Id: I53dcb7508e12831a1bfca607237dd143b134f7c9
(cherry picked from commit
b661abcb5a4628ee05d1f6012f8496d28640778c)
Seungbae Shin [Tue, 29 Nov 2016 12:23:28 +0000 (21:23 +0900)]
Fix SVACE defects
[Version] 0.3.46
[Profile] Common
[Issue Type] SVACE
Change-Id: I53dcb7508e12831a1bfca607237dd143b134f7c9
KimJeongYeon [Mon, 14 Nov 2016 08:54:56 +0000 (17:54 +0900)]
audio-io fixed crash at audio_in_read() of another thread.
There are no syncronization between audio_in_read() and audio_in_unprepare().
Therefore, assert crash occurs possibly while use multiple reader thread.
Changes:
* Add locking method at audio_in_read() and null check of mpPulseAudioClient.
* Fixed syncronous-method of audio_out_write() too.
* Miscellaneous typos are fixed.
[Version] 0.3.45
[Profile] Common
[Issue Type] Bug Fix
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I18147b9e1e7bb5c16816250d65d2ff066f6383b7
(cherry picked from commit
b465e5b8b0898e2b639ac899426faace320a36cb)
KimJeongYeon [Mon, 14 Nov 2016 08:54:56 +0000 (17:54 +0900)]
audio-io fixed crash at audio_in_read() of another thread.
There are no syncronization between audio_in_read() and audio_in_unprepare().
Therefore, assert crash occurs possibly while use multiple reader thread.
Changes:
* Add locking method at audio_in_read() and null check of mpPulseAudioClient.
* Fixed syncronous-method of audio_out_write() too.
* Miscellaneous typos are fixed.
[Version] 0.3.45
[Profile] Common
[Issue Type] Bug Fix
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I18147b9e1e7bb5c16816250d65d2ff066f6383b7
Sangchul Lee [Tue, 4 Oct 2016 08:49:04 +0000 (17:49 +0900)]
Fix abort case in CAudioSessionHandler::unregisterSound() and revise error.
Since the __mId member can be initial value(-1) when this function is called from onSignal() in
CAudioIO.cpp, it should not throw an error even if the value is under 0.
[Version] 0.3.44
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I02548ee2df164bd253bb9744537b1c490ff5b244
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Tue, 27 Sep 2016 03:06:19 +0000 (12:06 +0900)]
Support loopback-mirroring stream type
[Version] 0.3.43
[Profile] Common
[Issue Type] Rename
Change-Id: I9328bd3ebe2e610e270f0e66d1192a38282fa045
Seungbae Shin [Thu, 22 Sep 2016 02:41:45 +0000 (11:41 +0900)]
Apply DEPRECATION macro
[Version] 0.3.42
[Profile] Common
[Issue Type] Deprecation
Change-Id: Ib99bb36d19e8ae750dab3a6c0c310a084074360a
Sangchul Lee [Thu, 28 Jul 2016 04:35:14 +0000 (13:35 +0900)]
Add new parameter to focus changed cb
The prototype of the callback function has been changed.
- refer to https://review.tizen.org/gerrit/#/c/81707/ (libmm-sound)
[Version] 0.3.42
[Profile] Common
[Issue Type] API change
Change-Id: I1d03a5e9afe344e4f6e379e7a97e1f78a3957fc1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 25 Aug 2016 00:50:52 +0000 (09:50 +0900)]
Revise codes as per DPM API change
[Version] 0.3.41
[Profile] Common
[Issue Type] Revision
Change-Id: Iacf116061429f3015e05ccd33b22238c74fb4f40
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Thu, 28 Jul 2016 03:15:02 +0000 (12:15 +0900)]
Add microphone feature check for audio_in
[Version] 0.3.40
[Profile] Common
[Issue Type] Enhancement
Change-Id: I5bf9a90cd3ea474529bd1a7ed813f87ae5caca18
KimJeongYeon [Fri, 8 Jul 2016 00:18:36 +0000 (09:18 +0900)]
audio-io supports 'ext-media' sound stream type
[Version] 0.3.39
[Profile] Common
[Issue Type] Enhancement
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I467fc03e2489f55406ab67703ba9806ac2d97f84
Seungbae Shin [Wed, 6 Jul 2016 05:40:14 +0000 (14:40 +0900)]
Fix for coding rule
[Version] 0.3.38
[Profile] Common
[Issue Type] Enhancement
Change-Id: I7addfe4696b3c498faac9855e0551663ce5bce4c
Seungbae Shin [Thu, 23 Jun 2016 10:34:00 +0000 (19:34 +0900)]
Handle pop-timeout event
[Version] 0.3.37
[Profile] Common
[Issue Type] MPR-381
Change-Id: I0e2f62e63da52b96d6d3f662199a82b9cae753e7
Sangchul Lee [Tue, 17 May 2016 04:37:57 +0000 (13:37 +0900)]
Add error case of device policy restriction for audio_in_prepare()
audio_in_prepare() can return an error enumerator for device policy restriction when pulseaudio does not work well due to the access denied.
print error value in audio_io_test.c
[Version] 0.3.36
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: Icc1573c4ec97116d5455cad50631508aee55030e
Mok Jeongho [Mon, 23 May 2016 08:52:10 +0000 (17:52 +0900)]
Check record privilege in audio_in_create
Previously record privilege was checked in prepare state
when pulse record stream is created, which is wrong.
So now, we check previlege in audio_in_create
with newly created pulse api(pa_context_check_privilege).
[Version] 0.3.35
[Profile] Common
[Issue Type] Privilege
Change-Id: I696f5a861adcce0b43796f52646ed0cc11a1a18b
Mok Jeongho [Tue, 10 May 2016 07:44:50 +0000 (16:44 +0900)]
Handle EOF of user-input, and unexpected parameter in testsuite
[Version] 0.3.34
[Profile] Common
[Issue Type] Static Analysis
Change-Id: If03006fb6416435d2918d75412ac8fb0641ea071
Seungbae Shin [Tue, 3 May 2016 06:30:27 +0000 (15:30 +0900)]
Fix SVACE defects
[Version] 0.3.33
[Profile] Common
[Issues] WGID 61200, 61201, 61304, 61305
[Issue Type] SVACE
Change-Id: Ie9d60101d3ce15f22a4347e9a829ba562381044b
Seungbae Shin [Mon, 2 May 2016 12:08:03 +0000 (21:08 +0900)]
Modify for replacing wearable version 2.4 with 3.0
[Version] 0.3.32
[Profile] Common
[Issue Type] Versioning
Change-Id: Ie763d78e32ff972f7abd9f04b5e2a831b1a0e232
Sangchul Lee [Thu, 28 Apr 2016 07:57:36 +0000 (16:57 +0900)]
Forward stream state change callback with "policy = true" when it is caused by Device Policy Manager
[Version] 0.3.31
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I39e97c0818d9fe7fec1978a9f84f0b261e98b225
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 28 Apr 2016 02:53:03 +0000 (11:53 +0900)]
Trigger stream state change callback when stream is failed/terminated and include audio_io_test to package
- Expand stream state change callback for stream failed/terminated
- Call onStateChageCb only when state is changed from previous state
- Build audio_io_test as default
[Version] 0.3.30
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: I33401f0ec9a95ce2fb9420c10bcf57aab1f547b4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Tue, 12 Apr 2016 08:42:12 +0000 (17:42 +0900)]
modify cpp files for coding convention
[Version] 0.3.29
[Profile] Common
[Issue Type] Coding Convention
Change-Id: I91d0ea5981ba6cd50d886aaea39076317ac28bd9