platform/core/api/audio-io.git
7 years agoRevise exception handling 17/140517/8 accepted/tizen/4.0/unified/20170816.012615 accepted/tizen/4.0/unified/20170828.224329 accepted/tizen/unified/20170802.151130 submit/tizen/20170801.063935 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001
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

7 years agoSupport VOICE_RECOGNITION_SERVICE stream type 54/141054/2 accepted/tizen/unified/20170801.054858 submit/tizen/20170731.025308
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>
7 years agoFix exception handling of 'new' operator. 99/131399/4
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

7 years agoFix build error due to -Wformat 05/135705/1 accepted/tizen/unified/20170627.043403 submit/tizen/20170626.070713
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

7 years agoManage current acquired focus state and check it before acquiring/releasing focus 25/135125/2
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>
7 years agoUse static_cast instead of dynamic cast 84/132884/1 accepted/tizen/unified/20170608.185106 submit/tizen/20170608.102629
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

7 years agoFix convertInterruptedCode() 19/125219/1
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)

7 years agoFix doxygen comment which is different with actual implementation 08/122708/1
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)

7 years agoFix reference link 10/122610/2
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>
7 years agoMerge branch 'tizen_3.0' into tizen 32/120832/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.172626 accepted/tizen/ivi/20170329.222748 accepted/tizen/mobile/20170329.222626 accepted/tizen/tv/20170329.222700 accepted/tizen/unified/20170329.222808 accepted/tizen/wearable/20170329.222724 submit/tizen/20170329.121135 tizen_4.0.m1_release
Jeongho Mok [Fri, 24 Mar 2017 09:55:42 +0000 (18:55 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Ia1c6ddf672ed79f00335455cc4cc98853f56c115

7 years agoEnhance backward compatibility for media session 32/119432/2 accepted/tizen/3.0/common/20170330.125039 accepted/tizen/3.0/ivi/20170329.223036 accepted/tizen/3.0/mobile/20170329.222937 accepted/tizen/3.0/tv/20170329.222955 accepted/tizen/3.0/wearable/20170329.223017 submit/tizen_3.0/20170329.043647
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>
7 years agoSkip drain() function when onInterrupt is invoked 56/118156/1
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>
7 years agoAbandon internal focus if it exists when setStreamInfo() is called 73/117173/1
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)

7 years agoAbandon internal focus if it exists when setStreamInfo() is called 99/116799/3
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>
7 years agoMerge branch 'tizen_3.0' into tizen 12/116912/1 accepted/tizen/common/20170303.090724 accepted/tizen/ivi/20170303.004804 accepted/tizen/mobile/20170303.004714 accepted/tizen/tv/20170303.004738 accepted/tizen/unified/20170309.031548 accepted/tizen/wearable/20170303.004749 submit/tizen/20170302.115149 submit/tizen_unified/20170308.100404
Seungbae Shin [Thu, 2 Mar 2017 03:45:02 +0000 (12:45 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I139d1245111fd7680078ea529dfca90879bad97e

7 years agoLock threaded mainloop before reset callbacks for safety 43/116543/1 accepted/tizen/3.0/common/20170228.061507 accepted/tizen/3.0/ivi/20170228.033955 accepted/tizen/3.0/mobile/20170228.033909 accepted/tizen/3.0/tv/20170228.033930 accepted/tizen/3.0/wearable/20170228.033940 submit/tizen_3.0/20170227.122312
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

7 years agoWrite dummy write if stream is not written at first callback during prepare situtaion 64/116464/1 accepted/tizen/3.0/common/20170227.140211 accepted/tizen/3.0/ivi/20170227.070807 accepted/tizen/3.0/mobile/20170227.065822 accepted/tizen/3.0/tv/20170227.070032 accepted/tizen/3.0/wearable/20170227.070502 submit/tizen_3.0/20170224.122826
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

7 years agoMerge branch 'tizen_3.0' into tizen 62/114562/1 accepted/tizen/common/20170214.174004 accepted/tizen/ivi/20170214.230413 accepted/tizen/mobile/20170214.230346 accepted/tizen/tv/20170214.230355 accepted/tizen/wearable/20170214.230405 submit/tizen/20170214.125635
Seungbae Shin [Tue, 14 Feb 2017 04:57:23 +0000 (13:57 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I100336b4b3032b59e3488af71a3c1990eb20134f

7 years agoFix SVACE defects 91/114391/2 accepted/tizen/3.0/common/20170214.180616 accepted/tizen/3.0/ivi/20170214.042620 accepted/tizen/3.0/mobile/20170214.042534 accepted/tizen/3.0/tv/20170214.042547 accepted/tizen/3.0/wearable/20170214.042603 submit/tizen_3.0/20170213.103000
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

7 years agoAvoid deadlock situation between onInterrupt() and unprepare() 44/113844/1 accepted/tizen/3.0/common/20170213.160902 accepted/tizen/3.0/ivi/20170213.035336 accepted/tizen/3.0/mobile/20170213.035222 accepted/tizen/3.0/tv/20170213.035258 accepted/tizen/3.0/wearable/20170213.035322 submit/tizen_3.0/20170210.094941
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>
7 years agoRefactor codes of setting stream info. and add support for setting internal stream... 58/113258/6 accepted/tizen/3.0/common/20170210.071153 accepted/tizen/3.0/ivi/20170210.002008 accepted/tizen/3.0/mobile/20170210.001904 accepted/tizen/3.0/tv/20170210.001938 accepted/tizen/3.0/wearable/20170210.002001 submit/tizen_3.0/20170208.084721 submit/tizen_3.0/20170209.013146
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>
7 years agosched_yield() after sync read/write to avoid thread starvation 28/112628/4 submit/tizen_3.0/20170207.090553
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>
7 years agoImplementation of isSkipSession() in CAudioSessionHandler.c 63/113063/1
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>
7 years agoMerge branch 'tizen_3.0' into tizen 16/112716/1 accepted/tizen/common/20170203.161621 accepted/tizen/ivi/20170203.023106 accepted/tizen/mobile/20170203.023014 accepted/tizen/tv/20170203.023036 accepted/tizen/wearable/20170203.023052 submit/tizen/20170202.111238
Seungbae Shin [Thu, 2 Feb 2017 09:47:38 +0000 (18:47 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iecf911453f488e7370484320e73376835f4940a9

7 years agoFix bug regarding ignore session 15/112615/1 accepted/tizen/3.0/common/20170203.150913 accepted/tizen/3.0/ivi/20170203.090338 accepted/tizen/3.0/mobile/20170203.090131 accepted/tizen/3.0/tv/20170203.090236 accepted/tizen/3.0/wearable/20170203.090309 submit/tizen_3.0/20170202.094603
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>
7 years agoCleanup code 48/112548/1 accepted/tizen/3.0/common/20170202.151055 accepted/tizen/3.0/ivi/20170202.085715 accepted/tizen/3.0/mobile/20170202.085630 accepted/tizen/3.0/tv/20170202.085644 accepted/tizen/3.0/wearable/20170202.085658 submit/tizen_3.0/20170201.113021
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

7 years agoFix memory leak : valgrind 26/112526/1
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

7 years agoDisable focus callback for session backward compatibility temporarily if tizen tv... 88/111988/6
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

7 years agoFix SVACE defects 06/111706/1 accepted/tizen/3.0/common/20170125.121759 accepted/tizen/3.0/ivi/20170125.084001 accepted/tizen/3.0/mobile/20170125.083906 accepted/tizen/3.0/tv/20170125.083928 accepted/tizen/3.0/wearable/20170125.083950 submit/tizen_3.0/20170124.120400
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

7 years agoMerge branch 'tizen_3.0' into tizen 78/111678/1 accepted/tizen/common/20170123.182441 accepted/tizen/ivi/20170125.085019 accepted/tizen/mobile/20170125.084907 accepted/tizen/tv/20170125.084929 accepted/tizen/wearable/20170125.084950 submit/tizen/20170123.131118
Seungbae Shin [Mon, 23 Jan 2017 10:17:22 +0000 (19:17 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Idfca420924e5aaacc52f344626c8d32f6ed01315

7 years agoFix drain called in thread and wait for drain completion 52/111452/5 accepted/tizen/3.0/common/20170124.081310 accepted/tizen/3.0/ivi/20170124.042413 accepted/tizen/3.0/mobile/20170124.042246 accepted/tizen/3.0/tv/20170124.042316 accepted/tizen/3.0/wearable/20170124.042346 submit/tizen_3.0/20170123.123302
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

7 years agoaudio-io fixed no callback issue at start 69/110969/11
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

7 years agoReset __mpEventListener member in finalize 33/111033/2
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>
7 years agoRemove old temporal APIs 63/110363/1 accepted/tizen/3.0/common/20170117.075659 accepted/tizen/3.0/ivi/20170117.005449 accepted/tizen/3.0/mobile/20170117.005401 accepted/tizen/3.0/tv/20170117.005420 accepted/tizen/3.0/wearable/20170117.005438 submit/tizen_3.0/20170116.080558
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

7 years agoFix -Werror=format for toolchain upgrade 46/110346/1 accepted/tizen/common/20170116.181605 accepted/tizen/ivi/20170116.090505 accepted/tizen/mobile/20170116.090410 accepted/tizen/tv/20170116.090430 accepted/tizen/wearable/20170116.090450 submit/tizen/20170116.062507
Seungbae Shin [Wed, 11 Jan 2017 13:13:43 +0000 (22:13 +0900)]
Fix -Werror=format for toolchain upgrade

Change-Id: Ic2d1f8e552438e43271d1e8bf9411f22a2de9687

7 years agoMerge branch 'tizen_3.0' into tizen 44/110344/1
Seungbae Shin [Mon, 16 Jan 2017 04:43:57 +0000 (13:43 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I07e45798feda14f57fcd39cc8e10d2383589f834

7 years agoCheck state and isInThread when pause/resume 57/109757/3 accepted/tizen/3.0/common/20170113.182103 accepted/tizen/3.0/ivi/20170113.080305 accepted/tizen/3.0/mobile/20170113.080219 accepted/tizen/3.0/tv/20170113.080232 accepted/tizen/3.0/wearable/20170113.080250 submit/tizen_3.0/20170111.132101
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

7 years agoFix SVACE defect 66/109266/1
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

7 years agoMerge branch 'tizen_3.0' into tizen 67/109067/1 accepted/tizen/common/20170109.202643 accepted/tizen/ivi/20170110.080717 accepted/tizen/mobile/20170110.080547 accepted/tizen/tv/20170110.080616 accepted/tizen/wearable/20170110.080637 submit/tizen/20170109.130136
Seungbae Shin [Sat, 7 Jan 2017 07:15:24 +0000 (16:15 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I7675f49a7a7ceec31f76a02893834231d1ab8195

7 years agoReturn invalid operation error if read/write called not in running state 66/109066/1 accepted/tizen/3.0/common/20170109.195808 accepted/tizen/3.0/ivi/20170109.003427 accepted/tizen/3.0/mobile/20170109.003340 accepted/tizen/3.0/tv/20170109.003401 accepted/tizen/3.0/wearable/20170109.003411 submit/tizen_3.0/20170106.062231
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

7 years agoMerge branch 'tizen_3.0' into tizen 86/108886/1
Seungbae Shin [Fri, 6 Jan 2017 06:29:49 +0000 (15:29 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I2bc59c91dee3963ad5336b084c2bc252e9e4ca06

7 years agoFix returning buffer size 0 before prepare 53/108253/4
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

7 years agoaudio-io uses new 'default' latency configuration. 57/108457/3
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

7 years agoMerge branch 'tizen_3.0' into tizen 13/105813/1 accepted/tizen/common/20161227.192035 accepted/tizen/ivi/20161226.012633 accepted/tizen/mobile/20161226.012547 accepted/tizen/tv/20161226.012605 accepted/tizen/wearable/20161226.012615 submit/tizen/20161223.120533
Seungbae Shin [Mon, 19 Dec 2016 13:19:06 +0000 (22:19 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Id1c40118a76ed826ee31454186f5d5a1d708c571

7 years agounprepare internally when destroy for backward compatibility 84/104584/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.100220 accepted/tizen/3.0.m2/tv/20170104.100358 accepted/tizen/3.0.m2/wearable/20170104.100947 accepted/tizen/3.0/common/20161215.162926 accepted/tizen/3.0/ivi/20161215.043848 accepted/tizen/3.0/mobile/20161215.043641 accepted/tizen/3.0/tv/20161215.043745 accepted/tizen/3.0/wearable/20161215.043801 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0/20161214.084609
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

7 years agoChange set_stream_info API name for consistency with other pkgs 95/103295/1 accepted/tizen/common/20161208.135521 accepted/tizen/ivi/20161209.005420 accepted/tizen/mobile/20161209.005325 accepted/tizen/tv/20161209.005337 accepted/tizen/wearable/20161209.005401 submit/tizen/20161208.052043
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)

7 years agoChange set_stream_info API name for consistency with other pkgs 87/102787/3 accepted/tizen/3.0/common/20161208.153707 accepted/tizen/3.0/ivi/20161208.063420 accepted/tizen/3.0/mobile/20161208.063338 accepted/tizen/3.0/tv/20161208.063357 accepted/tizen/3.0/wearable/20161208.063409 submit/tizen_3.0/20161207.131616
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

7 years agosound_manager API changed 46/101846/1 accepted/tizen/common/20161202.233216 accepted/tizen/ivi/20161207.025422 accepted/tizen/mobile/20161207.025305 accepted/tizen/tv/20161207.025337 accepted/tizen/wearable/20161207.025403 submit/tizen/20161202.035430
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)

7 years agosound_manager API changed 21/100521/3 accepted/tizen/3.0/common/20161205.091527 accepted/tizen/3.0/ivi/20161204.233640 accepted/tizen/3.0/mobile/20161204.233347 accepted/tizen/3.0/tv/20161204.233503 accepted/tizen/3.0/wearable/20161204.233541 submit/tizen_3.0/20161202.035416
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>
7 years agoFix SVACE defects 86/100986/1
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)

7 years agoFix SVACE defects 81/100881/2
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

8 years agoaudio-io fixed crash at audio_in_read() of another thread. 99/97799/2 accepted/tizen/3.0/common/20161116.144001 accepted/tizen/3.0/common/20161123.140722 accepted/tizen/3.0/ivi/20161116.023408 accepted/tizen/3.0/ivi/20161123.083636 accepted/tizen/3.0/mobile/20161116.022853 accepted/tizen/3.0/mobile/20161123.083334 accepted/tizen/3.0/tv/20161116.023008 accepted/tizen/3.0/tv/20161123.083456 accepted/tizen/3.0/wearable/20161116.023303 accepted/tizen/3.0/wearable/20161123.083551 submit/tizen_3.0/20161115.060306 submit/tizen_3.0/20161122.043110
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)

8 years agoaudio-io fixed crash at audio_in_read() of another thread. 78/97478/3 accepted/tizen/common/20161115.200735 accepted/tizen/common/20161122.192836 accepted/tizen/ivi/20161115.234320 accepted/tizen/ivi/20161122.235922 accepted/tizen/mobile/20161115.234119 accepted/tizen/mobile/20161122.235715 accepted/tizen/tv/20161115.234211 accepted/tizen/tv/20161122.235757 accepted/tizen/wearable/20161115.234243 accepted/tizen/wearable/20161122.235839 submit/tizen/20161115.062308 submit/tizen/20161122.044017
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

8 years agoFix abort case in CAudioSessionHandler::unregisterSound() and revise error. 01/90801/1 accepted/tizen/3.0/common/20161114.105149 accepted/tizen/3.0/ivi/20161028.123026 accepted/tizen/3.0/mobile/20161015.032301 accepted/tizen/3.0/mobile/20161028.122310 accepted/tizen/3.0/tv/20161016.003428 accepted/tizen/3.0/tv/20161028.122616 accepted/tizen/3.0/wearable/20161015.080335 accepted/tizen/3.0/wearable/20161028.122822 accepted/tizen/common/20161005.165516 accepted/tizen/ivi/20161007.003937 accepted/tizen/mobile/20161007.003732 accepted/tizen/tv/20161007.003827 accepted/tizen/wearable/20161007.003904 submit/tizen/20161005.055916 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
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>
8 years agoSupport loopback-mirroring stream type 75/89775/1 accepted/tizen/3.0/ivi/20161011.053520 accepted/tizen/common/20160928.163937 accepted/tizen/ivi/20160930.040747 accepted/tizen/mobile/20160930.040421 accepted/tizen/tv/20160930.040557 accepted/tizen/wearable/20160930.040656 submit/tizen/20160928.043825 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010
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

8 years agoApply DEPRECATION macro 59/89059/4
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

8 years agoAdd new parameter to focus changed cb 15/81715/2 accepted/tizen/common/20160921.162214 accepted/tizen/ivi/20160922.042622 accepted/tizen/mobile/20160922.042342 accepted/tizen/tv/20160922.042458 accepted/tizen/wearable/20160922.042544 submit/tizen/20160921.041639
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>
8 years agoRevise codes as per DPM API change 79/85379/3 accepted/tizen/common/20160831.162126 accepted/tizen/ivi/20160901.065310 accepted/tizen/mobile/20160901.065053 accepted/tizen/tv/20160901.065145 accepted/tizen/wearable/20160901.065224 submit/tizen/20160831.052250
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>
8 years agoAdd microphone feature check for audio_in 01/81701/2 accepted/tizen/common/20160811.145654 accepted/tizen/ivi/20160812.010635 accepted/tizen/mobile/20160812.010657 accepted/tizen/tv/20160812.010612 accepted/tizen/wearable/20160812.010542 submit/tizen/20160810.075454 submit/tizen/20160811.023523
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

8 years agoaudio-io supports 'ext-media' sound stream type 26/79026/1 accepted/tizen/common/20160712.151249 accepted/tizen/ivi/20160712.091050 accepted/tizen/mobile/20160712.091120 accepted/tizen/tv/20160712.091041 accepted/tizen/wearable/20160712.091101 submit/tizen/20160712.061810
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

8 years agoFix for coding rule 61/78561/2 accepted/tizen/common/20160707.172125 accepted/tizen/ivi/20160707.114132 accepted/tizen/mobile/20160707.114210 accepted/tizen/tv/20160707.114107 accepted/tizen/wearable/20160707.114023 submit/tizen/20160707.103558
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

8 years agoHandle pop-timeout event 30/76330/3 accepted/tizen/common/20160704.145315 accepted/tizen/ivi/20160704.090631 accepted/tizen/mobile/20160704.090539 accepted/tizen/tv/20160704.090518 accepted/tizen/wearable/20160704.090415 submit/tizen/20160704.004002
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

8 years agoAdd error case of device policy restriction for audio_in_prepare() 45/69845/7 accepted/tizen/common/20160531.141855 accepted/tizen/ivi/20160602.022052 accepted/tizen/mobile/20160602.022128 accepted/tizen/tv/20160602.021912 accepted/tizen/wearable/20160602.022023 submit/tizen/20160530.013417
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

8 years agoCheck record privilege in audio_in_create 80/70980/3 accepted/tizen/common/20160526.145837 accepted/tizen/ivi/20160602.020553 accepted/tizen/mobile/20160602.020429 accepted/tizen/tv/20160602.020527 accepted/tizen/wearable/20160602.020506 submit/tizen/20160524.060031
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

8 years agoHandle EOF of user-input, and unexpected parameter in testsuite 86/68886/2 accepted/tizen/common/20160513.123238 accepted/tizen/ivi/20160513.004152 accepted/tizen/mobile/20160513.004030 accepted/tizen/tv/20160513.004129 accepted/tizen/wearable/20160513.004056 submit/tizen/20160512.051443
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

8 years agoFix SVACE defects 37/68237/2 accepted/tizen/common/20160504.125843 accepted/tizen/ivi/20160504.011136 accepted/tizen/mobile/20160504.011042 accepted/tizen/tv/20160504.011100 accepted/tizen/wearable/20160504.011116 submit/tizen/20160503.074218
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

8 years agoModify for replacing wearable version 2.4 with 3.0 36/68136/2
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

8 years agoForward stream state change callback with "policy = true" when it is caused by Device... 94/67894/7
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>
8 years agoTrigger stream state change callback when stream is failed/terminated and include... 93/67893/2
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>
8 years agomodify cpp files for coding convention 38/65738/1 accepted/tizen/common/20160414.142809 accepted/tizen/ivi/20160414.092229 accepted/tizen/mobile/20160414.092256 accepted/tizen/tv/20160414.092212 accepted/tizen/wearable/20160414.092215 submit/tizen/20160414.060217
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

8 years agoApply tizen coding convention for C++ and header 36/64436/1
Mok Jeongho [Fri, 1 Apr 2016 04:07:45 +0000 (13:07 +0900)]
Apply tizen coding convention for C++ and header

[Version] 0.3.28
[Profile] Common
[Issue Type] Coding Convention

Change-Id: I194c66d59d6c1d679ed9a97d59a256f170fbd014

8 years agoApply tizen coding convention 90/64390/1 accepted/tizen/common/20160401.075647 accepted/tizen/ivi/20160405.011318 accepted/tizen/mobile/20160405.011228 accepted/tizen/tv/20160405.011247 accepted/tizen/wearable/20160405.011306 submit/tizen/20160401.030719
Mok Jeongho [Fri, 1 Apr 2016 02:41:38 +0000 (11:41 +0900)]
Apply tizen coding convention

[Version] 0.3.27
[Profile] Common
[Issue Type] Coding Convention

Change-Id: I093c8bcecdf108b975e2a5b73ce91aa499a8cbb6

8 years agoRevise doxygen / document description 79/59779/3 accepted/tizen/ivi/20160225.082750 accepted/tizen/mobile/20160225.082703 accepted/tizen/tv/20160225.082718 accepted/tizen/wearable/20160225.082737 submit/tizen/20160225.042140
Seungbae Shin [Thu, 18 Feb 2016 10:41:39 +0000 (19:41 +0900)]
Revise doxygen / document description

[Version] 0.3.26
[Profile] Common
[Issue Type] Document

Change-Id: I773ed789e4c928cd137b423397093a5806dd5e77

8 years agoExpect MM_SESSION_TYPE_REPLACED_BY_STREAM to skip working on backward compatibility... 74/59274/4 accepted/tizen/ivi/20160218.022925 accepted/tizen/mobile/20160213.090616 accepted/tizen/tv/20160213.090938 accepted/tizen/wearable/20160213.091244 submit/tizen/20160212.090846 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Sangchul Lee [Fri, 12 Feb 2016 05:09:43 +0000 (14:09 +0900)]
Expect MM_SESSION_TYPE_REPLACED_BY_STREAM to skip working on backward compatibility of session and apply sound-manager new APIs in audio_io_test.c

Remove deprecated APIs of sound-manager/audio-io and apply sound-manager new APIs(stream info./focus) in audio_io_test.c

[Version] 0.3.25
[Profile] Common
[Issue Type] Backward compatibility and code clean-up

Change-Id: Iaaa566ce48f95472131f094331e04da1bc4ef828
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
8 years agoUpdate doc 35/57135/1 accepted/tizen/mobile/20160115.114035 accepted/tizen/tv/20160115.114056 accepted/tizen/wearable/20160115.114115 submit/tizen/20160115.085416
Seungbae Shin [Fri, 15 Jan 2016 08:40:40 +0000 (17:40 +0900)]
Update doc

Change-Id: Ibfe999341e0dc8150ca196749e6b5d456225d8e0

8 years agoFix SVACE defects 07/55407/1 accepted/tizen/mobile/20151228.232723 accepted/tizen/tv/20151228.231805 accepted/tizen/wearable/20151228.231113 submit/tizen/20151228.075401
Seungbae Shin [Wed, 23 Dec 2015 11:20:20 +0000 (20:20 +0900)]
Fix SVACE defects

Change-Id: Ib22c1e8721094a260221f0a317c5540c0e69e39c

8 years agoRemove libprivilege-control dependancy 17/54717/1 accepted/tizen/mobile/20151218.044246 accepted/tizen/tv/20151218.044234 accepted/tizen/wearable/20151218.044218 submit/tizen/20151218.015359 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Seungbae Shin [Thu, 17 Dec 2015 10:41:05 +0000 (19:41 +0900)]
Remove libprivilege-control dependancy

Change-Id: I7705bad9045edf01a44cd1af0e64ad4336e38248

8 years agoFix for coding rule 69/53769/1 accepted/tizen/mobile/20151212.071302 accepted/tizen/tv/20151212.072741 accepted/tizen/wearable/20151212.073401 submit/tizen/20151211.082554
Seungbae Shin [Wed, 9 Dec 2015 07:34:23 +0000 (16:34 +0900)]
Fix for coding rule

Change-Id: Ief451e8e47e97b22de324d50cf21841790160dc0

8 years agoFix SVACE defects 48/53448/3 accepted/tizen/mobile/20151208.124330 accepted/tizen/mobile/20151208.124947 accepted/tizen/tv/20151208.124352 accepted/tizen/tv/20151208.125001 accepted/tizen/wearable/20151208.124404 accepted/tizen/wearable/20151208.125021 submit/tizen/20151207.234110 submit/tizen/20151208.040855
Seungbae Shin [Mon, 7 Dec 2015 02:42:08 +0000 (11:42 +0900)]
Fix SVACE defects

Change-Id: I280bb050ea0dc1f9712a703c6587722017f35637

9 years agoaudio-io fixed sync problem while reads pcm data, code refactoring 05/50305/3 accepted/tizen/mobile/20151031.105546 accepted/tizen/tv/20151031.110311 accepted/tizen/wearable/20151031.110547 submit/tizen/20151030.082908
KimJeongYeon [Wed, 28 Oct 2015 00:58:11 +0000 (09:58 +0900)]
audio-io fixed sync problem while reads pcm data, code refactoring

[Version] 0.3.20
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I602e1fbd48c335d89c12f3e43aa66894c7b9b26c

9 years agoRemove including statement that is unused (ext-policy.h) 97/49697/1 accepted/tizen/mobile/20151020.015717 accepted/tizen/tv/20151020.015720 accepted/tizen/wearable/20151020.015726 submit/tizen/20151019.081658
Sangchul Lee [Mon, 19 Oct 2015 07:46:50 +0000 (16:46 +0900)]
Remove including statement that is unused (ext-policy.h)

[Version] 0.3.19
[Profile] Common
[Issue Type] fix build error

Change-Id: Ib3db8869b41f20e4d9a362459fca5693632245fc

9 years agoaudio-io applied coding rule (JIRA : TSAM-430, TSAM-434) 79/49479/2 accepted/tizen/mobile/20151014.093323 accepted/tizen/tv/20151014.093343 accepted/tizen/wearable/20151014.093351 submit/tizen/20151014.065602 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
KimJeongYeon [Wed, 14 Oct 2015 00:38:06 +0000 (09:38 +0900)]
audio-io applied coding rule (JIRA : TSAM-430, TSAM-434)

[Version] 0.3.18
[Profile] Common
[Issue Type] API
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I7c144638fc1300254d0201008bfede5df42c37a7

9 years agoaudio-io fixed for session related focus interface 73/48273/3 accepted/tizen/common/20160108.084014 accepted/tizen/mobile/20150918.024634 accepted/tizen/tv/20150918.024652 accepted/tizen/wearable/20150918.024706 submit/tizen/20150917.021316 submit/tizen/20150917.064134 submit/tizen_common/20160104.190333
KimJeongYeon [Thu, 17 Sep 2015 04:29:51 +0000 (13:29 +0900)]
audio-io fixed for session related focus interface

[Version] 0.3.18
[Profile] Common
[Issue Type] API
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ie36f5a8a4a6de6af014e0ecb93f0d2795c1ee0dc

9 years agoaudio-io fixed reference of CAudioInfo, check supported stream info 43/48143/3 accepted/tizen/mobile/20150917.040759 accepted/tizen/tv/20150917.040808 accepted/tizen/wearable/20150917.040820 submit/tizen/20150916.011509
KimJeongYeon [Tue, 15 Sep 2015 04:35:47 +0000 (13:35 +0900)]
audio-io fixed reference of CAudioInfo, check supported stream info

[Version] 0.3.17
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I30625eb98b6edf639c73280c1a43cd5628ad6133

9 years agoaudio-io changed some focus & session APIs 21/47121/2 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.120308 accepted/tizen/tv/20150914.120316 accepted/tizen/wearable/20150914.120328 submit/tizen/20150914.113702 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
KimJeongYeon [Mon, 31 Aug 2015 04:21:25 +0000 (13:21 +0900)]
audio-io changed some focus & session APIs

[Version] 0.3.16
[Profile] Common
[Issue Type] Feature
[Dependency module] NA
[Dependency commit] NA
[Comment]

related with:
https://review.tizen.org/gerrit/46776/
https://review.tizen.org/gerrit/46350/

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ia4f0c0c00024bc1ece92c6854f3df94559753e73

9 years agoaudio-io applied C++ coding rule 98/46598/2 accepted/tizen/mobile/20150826.020029 accepted/tizen/tv/20150826.015615 accepted/tizen/wearable/20150826.020220 submit/tizen/20150825.125208
KimJeongYeon [Mon, 24 Aug 2015 02:16:26 +0000 (11:16 +0900)]
audio-io applied C++ coding rule

[Version] 0.3.15
[Profile] Common
[Issue Type] Typos
[Dependency module] NA
[Dependency commit] NA
[Comment]
1) use enum class instead of enum type
2) fixed typos

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I7ed7991769599faea5d7dce281d4a6a5dc8d39be

9 years agoaudio-io updated C++ coding rule 73/45873/2
KimJeongYeon [Wed, 12 Aug 2015 06:18:29 +0000 (15:18 +0900)]
audio-io updated C++ coding rule

[Version] 0.3.14
[Profile] Common
[Issue Type] NA
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ib411b229e1a112e07db5028b4edbfa7b991c78d5

9 years agoaudio-io fixed manifest copy script 73/45773/1 accepted/tizen/mobile/20150811.114123 accepted/tizen/tv/20150811.114219 accepted/tizen/wearable/20150811.114302 submit/tizen/20150811.075359
KimJeongYeon [Tue, 11 Aug 2015 06:48:00 +0000 (15:48 +0900)]
audio-io fixed manifest copy script

[Version] 0.3.13
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ibfa3427dac35f115d6367ea8429cd2977d2dd6ef

9 years agoDo not reference recorder state vconf 80/45480/2 accepted/tizen/mobile/20150806.134735 accepted/tizen/tv/20150806.134755 accepted/tizen/wearable/20150806.134805 submit/tizen/20150806.111656
Mok Jeongho [Thu, 6 Aug 2015 07:58:32 +0000 (16:58 +0900)]
Do not reference recorder state vconf

[Version] 0.3.12
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I32935a3e6fec231341bc952f317c7f0f5558b87b
Signed-off-by: Mok Jeongho <jho.mok@samsung.com>
9 years agoaudio-io changed latency type to string 77/44977/4 accepted/tizen/mobile/20150731.102721 accepted/tizen/tv/20150731.102837 accepted/tizen/wearable/20150731.102956 submit/tizen/20150731.062345
KimJeongYeon [Thu, 30 Jul 2015 08:02:15 +0000 (17:02 +0900)]
audio-io changed latency type to string

[Version] 0.3.11
[Profile] Common
[Issue Type] Features
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Iec1d205888b1fc5322efe6460c2abfa3a416d50d

9 years agoaudio-io fixed memory corruption issue on 64bit target, C++ conding rule updated 42/44942/1 accepted/tizen/mobile/20150730.074436 accepted/tizen/tv/20150730.074711 accepted/tizen/wearable/20150730.074906 submit/tizen/20150730.023321
KimJeongYeon [Thu, 30 Jul 2015 01:37:35 +0000 (10:37 +0900)]
audio-io fixed memory corruption issue on 64bit target, C++ conding rule updated

[Version] 0.3.10
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ib84cc8812cc5819488e72e0a30c3bca26e3f7a85

9 years agoaudio-io fixed hang issue while record audio 63/44463/7 accepted/tizen/mobile/20150724.015336 accepted/tizen/tv/20150724.015343 accepted/tizen/wearable/20150724.015352 submit/tizen/20150723.232735
KimJeongYeon [Wed, 22 Jul 2015 07:08:51 +0000 (16:08 +0900)]
audio-io fixed hang issue while record audio

[Version] 0.3.9
[Profile] Common
[Issue Type] Feature
[Dependency module] NA
[Dependency commit] NA
[Comment]
 - Hang occurs when getBufferSize() of main thread and peek() of pulse client thread try to lock.
 - I think some methods doesn't required mutex lock. (need more test)

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I730f54951ffb796ab2fda753848f95f5170facfd

9 years agoaudio-io handles not supported stream type 03/44103/5 accepted/tizen/mobile/20150721.092105 accepted/tizen/tv/20150721.092245 accepted/tizen/wearable/20150721.092405 submit/tizen/20150721.064422
KimJeongYeon [Fri, 17 Jul 2015 00:43:37 +0000 (09:43 +0900)]
audio-io handles not supported stream type

[Version] 0.3.8
[Profile] Common
[Issue Type] Feature
[Dependency module] NA
[Dependency commit] NA
[Comment]
supported stream type:
 - audio-in/out   : voip, media
 - audio-in only  : voice recognition, loopback
 - audio-out only : system, alarm, notification, emergency, voice information, ringtone voip, ringtone call
 (reference : platform/core/multimedia/mmfw-sysconf / mmfw-sysconf-target-n4/etc/pulse/stream-map.json)
additionally, fixed TCT issues.

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I8f94980eb78041bfc94ccfea57c72e503f7bb10e

9 years agoaudio-io fixed build issue on 64-bit platform (2nd) 16/44016/1 accepted/tizen/mobile/20150717.002855 accepted/tizen/tv/20150717.002910 accepted/tizen/wearable/20150717.002924 submit/tizen/20150716.043920
KimJeongYeon [Thu, 16 Jul 2015 07:45:56 +0000 (16:45 +0900)]
audio-io fixed build issue on 64-bit platform (2nd)

[Version] 0.3.7
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]
'size_t' uses 8 bytes in 64-bit platform.

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I730c2755c55da4e143331e6f01a8fee62fa42ddc

9 years agoaudio-io fixed build issue on 64-bit platform 76/43976/1
KimJeongYeon [Thu, 16 Jul 2015 00:48:47 +0000 (09:48 +0900)]
audio-io fixed build issue on 64-bit platform

[Version] 0.3.6
[Profile] Common
[Issue Type] Bug
[Dependency module] NA
[Dependency commit] NA
[Comment]
'size_t' uses 8 bytes in 64-bit platform.

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I6ed599f1165d73579cb5e72bb83191f373e54529

9 years agoCheck invalid parameter and operation 96/43896/1 submit/tizen/20150715.092047
Jeongho Mok [Wed, 15 Jul 2015 06:28:31 +0000 (15:28 +0900)]
Check invalid parameter and operation

1. Check invalid parameter when handle create
check sample rate, format, sample type, sound type
2. Check invalid operation
Do not permit ignore-session on ansyc mode

[Version] 0.3.6
[Profile] Common
[Issue Type] Fix bug

Change-Id: I4fcc99d7d0cfa21fd80ee4551a89dd8dbd861a51
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
9 years agoapply new version of audio-io for tizen 3.0 36/43036/7
KimJeongYeon [Tue, 7 Jul 2015 07:46:14 +0000 (16:46 +0900)]
apply new version of audio-io for tizen 3.0

[Version] 0.3.5
[Profile] Common
[Issue Type] Add features
[Dependency module] libmm-sound
[Dependency commit] NA
[Comment]
1. Completely re-written with C++.
2. Remove dependancy of sound server.
3. Support audio focus feature for backward compatibility.
4. merged from tizen_2.4_experimental branch(SPIN).

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Id915e895463de3f1e320559c9d17b59a5b66243f

9 years agoaudio-io sync branch of tizen_2.4 16/43016/2 accepted/tizen/mobile/20150708.015308 accepted/tizen/tv/20150708.015330 accepted/tizen/wearable/20150708.015335 submit/tizen/20150707.062616
KimJeongYeon [Tue, 7 Jul 2015 04:33:07 +0000 (13:33 +0900)]
audio-io sync branch of tizen_2.4

[Version] 0.2.3
[Profile] Common
[Issue Type] Add features
[Dependency module] NA
[Dependency commit] NA
[Comment]

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ic4a98fa254643c4662829c4a9c8969d3c5e006c0

9 years agoaudio-io add drain/flush APIs 99/40299/4 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.160126 accepted/tizen/common/20150615.075842 accepted/tizen/mobile/20150616.010509 accepted/tizen/tv/20150616.010533 accepted/tizen/wearable/20150616.010551 submit/submit/tizen/20150603.045007/20150603.045120 submit/tizen/20150612.061826 submit/tizen_3.0.2015.q2_common/20150615.075539
KimJeongYeon [Tue, 2 Jun 2015 05:58:33 +0000 (14:58 +0900)]
audio-io add drain/flush APIs

[Version] 0.2.2
[Profile] Common
[Issue Type] Add features
[Dependency module] libmm-sound
[Dependency commit] e8195430f9822760bbb469b48bd5cab807202dec
[Comment]
+ audio_in_flush()
+ audio_out_drain()
+ audio_out_flush()

Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: Ib9898c3a0420af9ba6480cea3d0299bacdc46160

9 years agoaudio-io : add doxygen history and modify error enum 98/34098/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150122.095548 accepted/tizen/mobile/20150123.091442 accepted/tizen/tv/20150123.004448 accepted/tizen/wearable/20150122.104140 submit/tizen/20150122.071700
Doohwan Kim [Wed, 21 Jan 2015 05:40:27 +0000 (14:40 +0900)]
audio-io : add doxygen history and modify error enum

Signed-off-by: Doohwan Kim <dh8210.kim@samsung.com>
Change-Id: I24cf33fa0292cf7dd5eaf010613cde722edf818d