Seungbae Shin [Wed, 23 Mar 2016 05:31:08 +0000 (14:31 +0900)]
Remove unused functions
- mm_sound_pa_cork()
- mm_sound_pa_get_latency()
- mm_sound_pa_corkall()
[Version] Release 0.10.23
[Profile] Common
[Issue Type] CleanUp
Change-Id: I3bcf4cdc2c863f820f97febe116bc9fdfdb2328e
Seungbae Shin [Wed, 30 Mar 2016 11:59:04 +0000 (20:59 +0900)]
Remove vconftool dependancy
[Version] Release 0.10.22
[Profile] Common
[Issue #] RQ160326-00073, RQ160326-00074
[Issue Type] Dependancy
Change-Id: Id127458cb1d8eb559295663221c455cff4a9d3df
aravind.gara [Mon, 11 Apr 2016 04:55:36 +0000 (13:55 +0900)]
libmm-sound: Included header file to resolve warnings
[Version] 0.10.21
[Profile] Common
[Issue Type] Warnings
Change-Id: I95c7c7a1523e22f1725f0d0549543ba41e66d854
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
Mok Jeongho [Thu, 31 Mar 2016 04:59:43 +0000 (13:59 +0900)]
Remove unused include statement
[Version] Release 0.10.20
[Profile] Common
[Issue Type] Cleanup
Change-Id: I315401c40a7857b4ad9e4d2f3b39b5bedfdabaab
Mok Jeongho [Mon, 28 Mar 2016 04:40:03 +0000 (13:40 +0900)]
Fix SVACE - unref only if not null
[Version] Release 0.10.19
[Profile] Common
[Issue Type] SVACE
Change-Id: Ie705b9ac8fbec38416d024136928cdf535b37c6c
Sangchul Lee [Mon, 21 Mar 2016 06:26:19 +0000 (15:26 +0900)]
Return MM_ERROR_NOT_SUPPORT_API enumerator when incoming stream type is not defined on this target
[Version] Release 0.10.18
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ie88c97f68c5a1ec396388cfdac8d93a43db40670
Mok Jeongho [Thu, 17 Mar 2016 13:02:10 +0000 (22:02 +0900)]
Print error name when open failed
[Version] Release 0.10.17
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: I5a4f8d6134cef4fa5247df862af6b26f5795b572
Mok Jeongho [Thu, 17 Mar 2016 12:56:44 +0000 (21:56 +0900)]
Print error message when g_bus_get_sync failed
[Version] Release 0.10.16
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: I9253ed4e69659213a09874171b5f95aa5e871f1d
Mok Jeongho [Thu, 17 Mar 2016 05:30:11 +0000 (14:30 +0900)]
Replace strerror with strerror_r
[Version] Release 0.10.15
[Profile] Common
[Issue Type] Code Enhancement
Change-Id: Ibc3a3fb458947e9871ef713cf797726794232271
Mok Jeongho [Wed, 16 Mar 2016 04:28:03 +0000 (13:28 +0900)]
Fix build warnings
[Version] Release 0.10.14
[Profile] Common
[Issue Type] Fix Warning
Change-Id: Ib2ab191cb12530bae101c7435cda96d1c9d38a78
Seungbae Shin [Wed, 9 Mar 2016 07:28:03 +0000 (16:28 +0900)]
Fix for SVACE defects
[Version] Release 0.10.13
[Profile] Common
[Issue Type] Bug Fix
Change-Id: Ib1365c434bbbe53c0706a833b206181598bdadea
Mok Jeongho [Tue, 8 Mar 2016 09:59:05 +0000 (18:59 +0900)]
Emit emergent_exit signal only when needed
[Version] Release 0.10.12
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I4f0be70c401b09f34ff0fbad285b164e520e05be
Mok Jeongho [Fri, 4 Mar 2016 05:50:34 +0000 (14:50 +0900)]
Return permission denied error when vconf failed with that cause
[Version] Release 0.10.11
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I5ddfe2a132de3f71f18571eef6abd92abf183d00
Sangchul Lee [Thu, 3 Mar 2016 06:48:52 +0000 (15:48 +0900)]
Fix svace issues
[Version] Release 0.10.10
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I9986ad9cec56fc4cdb9cbcba8d60a028a0bcee24
Mok Jeongho [Fri, 26 Feb 2016 05:40:27 +0000 (14:40 +0900)]
Change emergent exit from method call to signal
[Version] Release 0.10.9
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: Ie3e528a1def32cc77e492a277e9e446b8574e5bc
Mok Jeongho [Mon, 22 Feb 2016 05:25:37 +0000 (14:25 +0900)]
Dbus logic/layer/interface enhancements
- Remove msgq related / unused codes
- Add mm_sound_intf.h for audio framework internal interface
- Divide dbus related code into mm_sound_dbus.c,
and provide general interface
- Change file name from 'mm_sound_client_dbus.c' to 'mm_sound_proxy.c'
complying with its role
- Change 'emergent exit' to signal of client
- Remove duplicated code
- Add device_flag check logic in device-callback
- Deallocate internal userdata when unsubscribe
Change-Id: I6cb8eaa0089a288ba4d1068dcfb55ab87c3dfb8a
Sangchul Lee [Fri, 8 Jan 2016 06:09:15 +0000 (15:09 +0900)]
Revice codes of _dbus_signal_callback()
Specify bit composition of the value argument.
Write session information for backward compatibility that would be used by frameworks on daemon(e.g., muse-server).
[Version] Release 0.10.7
[Profile] Common
[Issue Type] Feature enhancement
Change-Id: Id9d82d2ddd022d4eabd1ab565bc121b28b8db4fb
Sangchul Lee [Wed, 6 Jan 2016 04:45:43 +0000 (13:45 +0900)]
Add mm_sound_subscribe_signal_for_daemon() for use case of daemon and remove mm_sound_get_active_device()
[Version] Release 0.10.6
[Profile] Common
[Issue Type] Feature enhancement and remove a deprecated API
Change-Id: Idb85bc5505d4d66db711665128b7db7e8a90e6fe
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Seungbae Shin [Mon, 4 Jan 2016 01:40:05 +0000 (10:40 +0900)]
Remove deprecated/unused functions
[Version] Release 0.10.5
[Profile] Common
[Issue Type] Cleanup
Change-Id: If364fa1e5b4301fd95f30d24225e5de6c33f2dbf
Sangchul Lee [Tue, 5 Jan 2016 01:15:54 +0000 (10:15 +0900)]
fix invalid mapping code in mm_sound_convert_volume_type_to_stream_type()
[Version] Release 0.10.4
[Profile] Common
[Issue Type] Fix bug
Change-Id: I9c1e9259800a366f7c52f7ff74c18de87370129f
Seungbae Shin [Mon, 4 Jan 2016 10:53:46 +0000 (19:53 +0900)]
Fix undefined symbol error on wav plugin
Change-Id: I41eeb4abdc6e0029e3d969861dd31a0d6a803f15
Seungbae Shin [Wed, 30 Dec 2015 13:49:11 +0000 (22:49 +0900)]
Fix SVACE
Change-Id: Ie7590cb3fc15ec2423a742c319f088af2a0f2057
Seungbae Shin [Wed, 30 Dec 2015 06:11:22 +0000 (15:11 +0900)]
Fix SVACE defects
Change-Id: I33ad266d3eae2f04fcb0785d6eed4856989f6214
Seungbae Shin [Wed, 16 Dec 2015 07:05:57 +0000 (16:05 +0900)]
Fix SVACE defects / remove unused a2dp functions
Change-Id: I6613c0bf7a2609dd016e6943c2588c384ef5c3ea
Sangchul Lee [Mon, 21 Dec 2015 02:45:40 +0000 (11:45 +0900)]
Remove the dependency of audio-session-manager
Remove codes related to ASM
Remove unused mm_sound_pcm.c
[Version] Release 0.10.1
[Profile] Common
[Issue Type] Code clean-up
Change-Id: I3bba4ee89e051b6358744e251cd6c7ea541bee4e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Mon, 14 Dec 2015 02:09:16 +0000 (11:09 +0900)]
Add focus API for getting a stream type of the current acquired focus(playback/recording)
Add DBUS interface for this API.
Modify codes to keep and update the additional info. for each focus node when acquiring/releasing/trigerring callback.
[Version] Release 0.9.276
[Profile] Common
[Issue Type] Add feature
Change-Id: I3cba21eab259d284d81fc7532eb8bd5ced31a9df
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Mok Jeongho [Mon, 2 Nov 2015 11:06:40 +0000 (20:06 +0900)]
Get allocated device list and add deallocate interface
Previously when we get device list,
it is maintained on global variable.
We fixed that not to use global variable then allocate memory for device list.
And now it needs deallocate interface also, so we added it.
[Version] Release 0.9.275
[Profile] Common
[Issue Type] Add Interface
Change-Id: Ie4d8c63590b6b6b3affdc8b9ea5f947a3410157e
inhyeok [Wed, 25 Nov 2015 08:21:31 +0000 (17:21 +0900)]
Improve focus auto reacquisition
[Version] Release 0.2.274
[Profile] Common
[Issue Type] Add feature
Append its "taken info" to victim node when focus auto reacqusition is disabled.
Change-Id: I50790937efb0463999d9949b934f3750937933d2
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Thu, 5 Nov 2015 11:11:46 +0000 (20:11 +0900)]
Add focus auto reacquirement option setting api
[Version] Release 0.2.273
[Profile] Common
[Issue Type] Add feature
Change-Id: I13d411f9f54ae1cc407290ddc392a0ce0b7d3d81
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Mon, 9 Nov 2015 05:13:58 +0000 (14:13 +0900)]
Remove checking return value of vconf set API due to the permission (vconf API does not support it anymore)
[Version] Release 0.9.271
[Profile] Common
[Issue Type] Code clean-up
Change-Id: Ia076d28bde73463bdb363a1b7aba4bf12061fea4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Wed, 4 Nov 2015 08:37:02 +0000 (17:37 +0900)]
Add to check if a focus API is called in the same thread with focus callback's
[Version] Release 0.9.270
[Profile] Common
[Issue Type] Code enhancement
Change-Id: I994d66580957bb7c7aa22bd80f7b38c9d3f3fe62
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
inhyeok [Wed, 4 Nov 2015 08:30:42 +0000 (17:30 +0900)]
Fix focus signal handling bug
[Version] Release 0.9.270
[Profile] Common
[Issue Type] Fix bug
Change-Id: I617f14707c37d7b714072b5c6f6580f0947351b9
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Tue, 3 Nov 2015 10:23:56 +0000 (19:23 +0900)]
Modify codes to find a proper index for the handle of the focus watch
[Version] Release 0.9.269
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ia4bfb993a974e3b31c976bf89673d73196ce02c8
Sangchul Lee [Wed, 21 Oct 2015 05:52:43 +0000 (14:52 +0900)]
Get unique id from focus server instead of client library itself (mm_sound_focus_get_id)
[Version] Release 0.9.268
[Profile] Common
[Issue Type] Policy Modification
Change-Id: I2895c8f545513e69babf27313657e78514ef6183
Sangchul Lee [Tue, 13 Oct 2015 12:40:57 +0000 (21:40 +0900)]
Remove codes that will be deprecated soon (2)
- remove enumerators from ext-policy.h
[Version] Release 0.9.267
[Profile] Common
[Issue Type] Code clean-up
Change-Id: Ibcb61317cdebe4836f44c5e32c631d69a127325a
Sangchul Lee [Tue, 13 Oct 2015 11:42:31 +0000 (20:42 +0900)]
Remove codes that will be deprecated soon
[Version] Release 0.9.266
[Profile] Common
[Issue Type] Code clean-up
Change-Id: I5c73fddf09a42c5e6923b49dac4b757c1c091c71
inhyeok [Tue, 6 Oct 2015 02:57:14 +0000 (11:57 +0900)]
Add mm_sound_device.h to library
[Version] Release 0.9.265
[Profile] Common
[Issue Type] Script
Change-Id: I908ee2ccb2eb1662090aaf70274bde9a6dc04be1
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Tue, 22 Sep 2015 07:47:57 +0000 (16:47 +0900)]
Minor modifications for focus
[Version] Release 0.9.264
[Profile] Common
[Issue Type] Improvement
Improve focus emergent exit
Improve type converting
Specify temporariness of is_for_session in focus related structs.
Improve device connected callback reliaablility
Change-Id: I531d1d1a2ba276f455f3228bf7cfaae03a2df8de
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Fri, 18 Sep 2015 07:36:05 +0000 (16:36 +0900)]
Apply device connected callback for codec players
[Version] Release 0.9.263
[Profile] Common
[Issue Type] Refactoring
Change-Id: I743b304d433f00d92ae5556b4175cc0791929ad8
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Mok Jeongho [Tue, 15 Sep 2015 11:22:42 +0000 (20:22 +0900)]
Move out dbus unrelated logic code from client_dbus.c
mm_sound_client_dbus.c is for dbus ipc logic,
but other client logic codes are mixed to there.
So moved out dbus not related code from client_dbus.c
* Breif Account
1. Move focus logics from client_dbus.c to client.c
(logics in register, unregister, acquire, release, set_focus, unset_focus ..)
2. With 1, move functions using in focus APIs to client.c
(_focus_thread_func, _focus_fd_check, _focus_fd_prepare, _focus_find_index_by_handle, _focus_callback_handler, _focus_watch_callback_handler ..)
3. Move codes which are using dbus directly to client_dbus.c
(ex. emergent exit)
4. Make wrapper callback when add callback,
so if there are needs for client-logic( like volume, device, focus..) do it in there.
(So when dbus signal occured,
first, callback in client_dbus.c be called and it just parse parameters,
second, callback in client.c will be called and do cliet job,
third, real user callback is called)
5. Some minor fixes
[Version] Release 0.9.262
[Profile] Common
[Issue Type] Improvement
Change-Id: I8d1e95ffc5c5896517fec638705dd6280a990f62
inhyeok [Fri, 11 Sep 2015 06:51:35 +0000 (15:51 +0900)]
Improve appending focus taken infomation
[Version] Release 0.9.261
[Profile] Common
[Issue Type] Improvement
Change-Id: I1e427b7d13fd0c6a10a17b7a6fb120cccbdcee99
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Thu, 10 Sep 2015 11:21:19 +0000 (20:21 +0900)]
Apply focus for session interfaces to codec playing
[Version] Release 0.9.260
[Profile] Common
[Issue Type] Refactoring
Change-Id: I9cf9b96b91d3fce2e8217dc5f9162879b6d47bd3
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Tue, 8 Sep 2015 05:03:17 +0000 (14:03 +0900)]
Get pid from the client for session related focus interface
[Version] Release 0.9.259
[Profile] Common
[Issue Type] Add feature
Change-Id: I9b7ede6dc054e40f94e99e3d953da40259aec794
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Tue, 8 Sep 2015 05:03:17 +0000 (14:03 +0900)]
Unsubscribe play file end callback after calling user callback
[Version] Release 0.9.258
[Profile] Common
[Issue Type] Fix bugs
Change-Id: I08d4d1e7def9b50ded221dc5ead334400da53a17
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Seungbae Shin [Mon, 31 Aug 2015 09:14:25 +0000 (18:14 +0900)]
Fix crash when focus emergency
[Version] Release 0.9.257
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I5879aae62a512c53d309ea9abff9d3ff95ac3e57
inhyeok [Wed, 19 Aug 2015 12:28:49 +0000 (21:28 +0900)]
Implement register focus for session
[Version] Release 0.9.256
[Profile] Common
[Issue Type] Add features
Change-Id: Id71954e2a79f37334a08109d37ccf7a7258e2c29
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
inhyeok [Wed, 26 Aug 2015 07:17:05 +0000 (16:17 +0900)]
Clear focus pipe when removing focus node
[Version] Release 0.9.255
[Profile] Common
[Issue Type] Improvement
Change-Id: Id6b6a761b44bc0c6120e35fa1752213943d919a9
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Fri, 21 Aug 2015 02:21:22 +0000 (11:21 +0900)]
Remove useless codes for making pipe and reading pipe in keytone plugin
[Version] Release 0.9.254
[Profile] Common
[Issue Type] Fix bug
Change-Id: I6d1dcb9ba93ef31addf74515eaa22fad824e8d2a
inhyeok [Mon, 10 Aug 2015 08:14:13 +0000 (17:14 +0900)]
Implement focus signal handler & modify focus cb handler to return when user cb is null
[Version] Release 0.9.253
[Profile] Common
[Issue Type] Add features & Fix bugs
Change-Id: I4a32293fa5d07608b58d777febae37facb7aecac
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Thu, 13 Aug 2015 07:20:42 +0000 (16:20 +0900)]
Change IPC for keysound to DBUS
[Version] Release 0.9.252
[Profile] Common
[Issue Type] N/A
Change-Id: I74bf54b1cc53b7e8026a5425bc899daf1cd671e1
inhyeok [Thu, 30 Jul 2015 10:52:32 +0000 (19:52 +0900)]
Adapt session interrupt callback to focus callback
a[Version] Release 0.9.251
[Profile] Common
[Issue Type] Refactoring
[Dependency module] sound-manager
Modify session interrupt callback to be invoked when focus callback is called.
Change-Id: I78cc864ed4065c43cd397b9bc1e578fe6fc404b5
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Seungbae Shin [Tue, 11 Aug 2015 11:59:34 +0000 (20:59 +0900)]
Remove system user/group from sound-server/focus-server service
[Version] Release 0.9.250
[Profile] Common
[Issue Type] Security
Change-Id: I589660c16b3778d981dc6ec618ea2a654ccfb9b3
Sangchul Lee [Tue, 11 Aug 2015 02:32:50 +0000 (11:32 +0900)]
Remove useless policy code
[Version] Release 0.9.249
[Profile] Common
[Issue Type] Remove useless code
Change-Id: Idbbfba550de2d1cfdefb6fc5649bd593d10db01d
Mok Jeongho [Mon, 27 Jul 2015 07:49:47 +0000 (16:49 +0900)]
New add/remove callback functions which give subscription id
Existing add/remove callback functions only can handle just one callback.
With these new interfaces and subscription id,
app can reference their multiple callbacks with subscription id.
[Version] Release 0.9.244
[Profile] Common
[Issue Type] Add interface
Change-Id: I6f59701811c9b9e034542f141d2fc800bddc6f99
Signed-off-by: Mok Jeongho <jho.mok@samsung.com>
Seungbae Shin [Thu, 30 Jul 2015 05:42:08 +0000 (14:42 +0900)]
Fix mm_sound_testsuite input error and remove focus client warnings remained
[Version] Release 0.9.248
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I8514b6783f896381b4ef426084ba674041f1f61f
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
Seungbae Shin [Wed, 29 Jul 2015 06:41:07 +0000 (15:41 +0900)]
Revise deprecated functions
1. remove g_type_init()
2. replace g_thread_create() with g_thread_new()
3. replace g_mutex_new()/g_mutex_free() with g_mutex_init()/g_mutex_clear()
[Version] Release 0.9.247
[Profile] Common
[Issue Type] Code Clean
Change-Id: I97f92b5d90674e2db28960aa1799258496b2e5bc
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
Seungbae Shin [Tue, 28 Jul 2015 13:55:04 +0000 (22:55 +0900)]
Remove warnings
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
Change-Id: I5fe54b03c37bdb116555961b261ff535b96f6588
inhyeok [Tue, 28 Jul 2015 10:48:59 +0000 (19:48 +0900)]
Modify warnings in focus module
[Version] Release 0.9.247
[Profile] Common
[Issue Type] Fix bugs
Change-Id: I5fe86dab243176f68c883bf59f76b975ab783269
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Seungbae Shin [Tue, 28 Jul 2015 08:15:55 +0000 (17:15 +0900)]
Remove unused files
Change-Id: I9e2b9a0b89ec07674ff00d4504ad53ad2c0be723
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
Seungbae Shin [Mon, 27 Jul 2015 14:10:13 +0000 (23:10 +0900)]
Fix 64 bit runtime error (wav parsing)
[Version] Release 0.9.246
[Profile] Common
[Issue Type] Bug Fix
Change-Id: Iabd72f02877ee795e44b85021d6e01ac2916ab04
Seungbae Shin [Mon, 27 Jul 2015 12:22:02 +0000 (21:22 +0900)]
Fix 64 bit runtime error (plugin dir)
[Version] Release 0.9.245
[Profile] Common
[Issue Type] Bug Fix
Change-Id: I1f4177a581f4f1fcaa375c1867211d76dd1f9f3c
Seungbae Shin [Tue, 21 Jul 2015 10:58:25 +0000 (19:58 +0900)]
Remove ASMReady / FMRadioRecording / Vconf initialization
[Version] Release 0.9.244
[Profile] Common
[Issue Type] Code Clean
Change-Id: I0364af15d69bab779b8714d413e51ac1f8d14b5e
inhyeok [Thu, 16 Jul 2015 12:10:26 +0000 (21:10 +0900)]
apply focus for playing tone/wav
[Version] Release 0.9.243
[Profile] Common
[Issue Type] Refactoring
As ASM deprecated in 3.0, focus concept is applied for playing tone/wav internally.
Change-Id: I88e28ace7819526c3ee38c82c7550636a224f597
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
Sangchul Lee [Tue, 21 Jul 2015 10:09:53 +0000 (19:09 +0900)]
Skip waiting asm ready vconf key due to the vconf issue temporarily
[Version] Release 0.9.242
[Profile] Common
[Issue Type] Temporary measures
Change-Id: I747606d52f370c84d8de9992972efcd635580441
Sangchul Lee [Tue, 21 Jul 2015 08:31:56 +0000 (17:31 +0900)]
Correct spec file to create vconf key properly regarding primary volume
[Version] Release 0.9.241
[Profile] Common
[Issue Type] Fix bug
Change-Id: If12535ad7d15d3c459c0c926fdb3478009d2a2ac
Jeongho Mok [Mon, 20 Jul 2015 11:14:17 +0000 (20:14 +0900)]
Remove unused variable for play sound
Change-Id: Ia11197e7f134264e73bb653da3ff844ea8134f04
inhyeok [Wed, 15 Jul 2015 07:20:12 +0000 (16:20 +0900)]
Launch a new daemon for Audio Stream Focus
[Version] Release 0.9.240
[Profile] Common
[Issue Type] Refactoring
Separage Focus Server from Sound Server
Change-Id: I9d1f57eb3ce0e0451c437e787fc8d7d36cbf5388
Jeongho Mok [Thu, 9 Jul 2015 08:29:33 +0000 (17:29 +0900)]
3.0 security
[Version] 0.9.239
[Profile] Common
[Issue Type] Security
Change-Id: I69506199dc786520cbf228de6bce3a91f704138f
Sangchul Lee [Tue, 7 Jul 2015 09:53:50 +0000 (18:53 +0900)]
Add sound-server.conf D-bus service configuration file
Change dbus path for stream-manager in pulseaudio
[Version] 0.9.238
[Profile] Common
[Issue Type] Add features
Change-Id: I1815724dfbc2254529fdb9217709c5ccabb99712
Seonmi Jin [Tue, 27 Jan 2015 06:08:07 +0000 (15:08 +0900)]
Let's start tizen audio 3.0
- Big Changes
Change IPC from msgq to dbus between client and sound-server
Adopt focus and Stream-based routing
Move device managing code to pulseaudio
- Others
Support container
Fix bugs
Some refactoring
Remove accessibility related code
Remove vconf code for product
change sound-server to system permission
- Commits
Bug Fix : Remove not matching endif
Remove audio-balance/muteall/mono-audio related code
Remove accessibility related code
Change smack execution label("none") for dump script
remove muteall check when volume set
Add MMSoundMgrPulseSetDefaultSink() to load proper sink for a2dp
Remove code accessing to call related vonfkey
Remove unused vconf code
Remove vconf-key related to product feature
Remove voicerecoder vconf-keys usage
Remove recoder vconf-keys usage on TV profile
Seperate code and build require for bluetooth operation
Fix clear_dead_cb_list invalid operation
Remove voice control vconf-key usage
Update device direction in bt sco callback
Remove device-volume
Fix bug, invalid parameter to pa_usec_to_bytes, play sound endcallback
[Keytone Plugin] Remove unused code
Add and modify tone/wav player related APIs for stream_info
Revise primary volume feature
Send error just with string on dbus (not use quark)
Fix bug, print device id,state correctly
Modify signal send/subscribe API(change dest/sender bus name to NULL)
Set volume to pulseaudio through dbus
Fix index bug regarding focus watch cb
Fix invalid header include
add libmmsoundcommon dependency in plugin tone makefile
Add libpulse, libmmfsound depndency in plugin Makefiles
Start id of focus watch callback from 1, modify FOCUS_HANDLE_MAX
Add signal API set(subscribe/unsubscribe/send)
modify focus apis param for container support
SIGSEGV fixed when call sound_manager_destroy_stream_information()
enable new focus watch callback
disable new focus watch callback
Revise focus watch callback, add focus API to get uniq id
Revert device-type to enum
Disable mgr_device,pulse,session, and ask device to pulseaudio
Count device id from 1
[Wav] Fix route selection timing
add handle check for mm_sound_client_stop_sound
1.Change mm_sound_boot_play_sound() to use pipe IPC rather than vconf-to-pa-operation(remove vconfkey for url of power_on sound) 2.Apply stream role, volume_gain to keysound/bootsound/run_keytone
Remove mm_sound_pa_get_volume_max (rather use dbus interface in pulseaudio)
Fix strcat memory bug
Remove updating volume when an active device is changed (no need to do it in SPIN)
[security] remove kill() for removing cap_kill / cap_ptrace
change sound-server to system permission
Remove defines for stream types(no used now)
Support container for focus
Remove deprecated functions
Replace muteall vconf to dbus
Replace mono-audio vconf to dbus
Remove unsupported-format error type in dbus error entry
Get stream list including priority from pulseaudio stream-manager via DBUS
Fix bug regarding focus state that is sending to user callback
Replace audio balance vconf to dbus
Refactoring
modify focus victim node update logic & some typos
applying pipe to focus callback
Revise code (mgr_focus)
Use security-server to get container name (disabled yet)
Support container
Change emergent-exit method to signal
Replace bool with gboolean when using gdbus
Use glib type in play sound method handler
Fix bug when get connected device list
remove the null check of callback function
Replace IPC(msgq) with Dbus for communication between server and client.
1.change the prototype of focus callback 2.reset information about nodes which took the focus when unregistering the focus node
Remove BT module dependency
include mm_sound_focus.h to devel package
fix script for change toolchain
Add API for watching focus status
Fix build script for change toolchain
Support Audio Focus Feature
testsuite: add test menu for mono audio
Change-Id: I29a4dceacc9575bff2dffb65ccc3a4ee9f920fa0
Signed-off-by: Seonmi Jin <seonmi.jin@samsung.com>
Seungbae Shin [Wed, 1 Jul 2015 11:05:32 +0000 (20:05 +0900)]
Remove deprecated vconfkeys for vconf-internal package update
Change-Id: I560b8a983197316337af9607d92982d1a8383857
KimJeongYeon [Tue, 2 Jun 2015 05:49:22 +0000 (14:49 +0900)]
libmm-sound add drain/flush APIs
[Version] 0.9.184
[Profile] Common
[Issue Type] Add features
[Dependency module] NA
[Dependency commit] NA
[Comment]
+ mm_sound_pcm_capture_flush_async()
+ mm_sound_pcm_capture_flush()
+ mm_sound_pcm_play_drain_async()
+ mm_sound_pcm_play_drain()
+ mm_sound_pcm_play_flush_async()
+ mm_sound_pcm_play_flush()
Signed-off-by: KimJeongYeon <jeongyeon.kim@samsung.com>
Change-Id: I2a85893ffe800d3ec1c7d63ce702523e9b6ff6ab
Seungbae Shin [Tue, 12 May 2015 10:34:14 +0000 (19:34 +0900)]
Fix systemd service file install location for 64bit
Change-Id: I37253f3594f3fe90ca2d0091792d5a009a51e054
Seungbae Shin [Wed, 8 Apr 2015 09:38:41 +0000 (18:38 +0900)]
Rebase code with tizen 2.3 with following additional changes
1. enable _TIZEN_PUBLIC_
2. disable SUPPORT_BT_SCO
3. fix build error (%.pc -> .pc, -lrt, PULSE_CFLAGS/LIBS -> PA_CFLAGS/LIBS, PASIMPLE_CFLAGS/LIBS)
4. fix build error (add m4_pattern_allow([AM_PROG_AR]), AM_PROG_AR, AM_PROG_CC_C_O in configure.ac)
5. disable code related to VCONFKEY_RECORDER_STATE, VCONFKEY_SETAPPL_ACCESSORY_DOCK_SOUND
6. [vconf-buxton] no smack labels for vconf key initialization (memory), set smack label as User for file backend vconfs
Change-Id: I610a527852e9871bfe5cd74bc36e4b2783adfbc4
Jeongho Mok [Mon, 6 Apr 2015 12:03:15 +0000 (21:03 +0900)]
disable security
Change-Id: I31d5679c9cb4a234d802f008b17ceb42a1d7bb69
Signed-off-by: Jeongho Mok <jho.mok@samsung.com>
Sangchul Lee [Fri, 9 Jan 2015 03:31:52 +0000 (12:31 +0900)]
Fix build error due to change of libmm-log
Change-Id: I223aa7804f464cfaaabf5dfe4179ee439e152406
Jaska Uimonen [Wed, 3 Dec 2014 13:00:01 +0000 (15:00 +0200)]
pumped version number and updated changelog
Change-Id: Ia0d520b88368dc5f89e5cefcb30c5cff40110146
Jaska Uimonen [Wed, 3 Dec 2014 12:45:35 +0000 (04:45 -0800)]
Merge "Removed redundant initializations as they are being overwritten immediately" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:44:59 +0000 (04:44 -0800)]
Merge "Fix bug of unexpected crash" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:44:19 +0000 (04:44 -0800)]
Merge "Move sound-server to a subpackage" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:43:55 +0000 (04:43 -0800)]
Merge "Remove legacy sysVinit scripts" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:43:07 +0000 (04:43 -0800)]
Merge "Removed unused variable stop_size in _runing function" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:42:27 +0000 (04:42 -0800)]
Merge "Removed redundant condition in __MMIpcRecvMsg. (errno == ENOMSG) is already checked, not required in elseif" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:41:45 +0000 (04:41 -0800)]
Merge "Removed unused result variable from sound_codec_asm_callback" into tizen
Jaska Uimonen [Wed, 3 Dec 2014 12:40:46 +0000 (04:40 -0800)]
Merge "out variable was not initialized. Initialized this variable." into tizen
Sanjay NM [Wed, 3 Dec 2014 10:01:35 +0000 (15:31 +0530)]
Removed redundant initializations as they are being overwritten immediately
Change-Id: I1fa93bf1022af789faae0dc7fd7a11d992c20cc4
Signed-off-by: Sanjay NM <sanjay.nm@samsung.com>
José Bollo [Mon, 1 Dec 2014 09:13:47 +0000 (10:13 +0100)]
Fix bug of unexpected crash
Bug-tizen: TC-2182
Change-Id: I04470dec605b58afa5d5bed56502f5ab459de97c
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Mikko Ylinen [Fri, 28 Nov 2014 12:49:34 +0000 (14:49 +0200)]
Move sound-server to a subpackage
Bug-Tizen: TC-2144
Change-Id: Ide75862250f116998ec84d9f46814809ec41efb7
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Mikko Ylinen [Fri, 28 Nov 2014 12:20:24 +0000 (14:20 +0200)]
Remove legacy sysVinit scripts
Change-Id: I063518bd2f6ac2af9741f47e54490e2e866a3966
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Sanjay NM [Tue, 25 Nov 2014 06:45:59 +0000 (12:15 +0530)]
Removed unused variable stop_size in _runing function
Change-Id: I3b1e1985618f3766bb1c4cf0f832933e4de49d4d
Sanjay NM [Tue, 25 Nov 2014 06:35:30 +0000 (12:05 +0530)]
Removed redundant condition in __MMIpcRecvMsg. (errno == ENOMSG) is already checked, not required in elseif
Change-Id: I6878ff1931f7ad83f4b0759fbed31eb56336f7e4
Sanjay NM [Tue, 25 Nov 2014 05:58:32 +0000 (11:28 +0530)]
Removed unused result variable from sound_codec_asm_callback
Change-Id: Icfde26b3b57c9e81fc37a95f81285a83fe80f4f1
Sanjay NM [Tue, 25 Nov 2014 05:10:46 +0000 (10:40 +0530)]
out variable was not initialized. Initialized this variable.
Change-Id: Iaa0bb89a5f0492fa533d65fb6e53bdad727f0d79
Signed-off-by: Sanjay NM <sanjay.nm@samsung.com>
Ravi Kiran K N [Fri, 21 Nov 2014 06:06:02 +0000 (11:36 +0530)]
Return correct error code in mm_sound
when mm_sound_volume_get_step() returns error,
same error is not returned to the caller.
Return the correct error code.
Change-Id: I0a2743c9a642e63516578cc6f5dd7e766436b716
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
Ronan Le Martret [Mon, 15 Sep 2014 11:59:26 +0000 (13:59 +0200)]
Clean spec file for Yocto compatibility
Also remove generated configure file.
Change-Id: I4482871449b6795bbcc17c04a8b4b282475fa920
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Jaska Uimonen [Thu, 13 Feb 2014 13:11:16 +0000 (15:11 +0200)]
pumped version number and updated changelog
Change-Id: I36bbf247054a1bbb382c763d78ae33395e1b480b
Jaska Uimonen [Thu, 13 Feb 2014 11:46:17 +0000 (13:46 +0200)]
make samsung pulseaudio policy optional
Change-Id: I20db190d6de8683eb7c68d7de60a062cdc3f1979
Jaska Uimonen [Fri, 27 Sep 2013 10:35:52 +0000 (13:35 +0300)]
pumped version number and updated changelog
Change-Id: I1188ebff056111d93fdd33cfcb81d3379e7ff703
Jaska Uimonen [Fri, 27 Sep 2013 10:32:51 +0000 (13:32 +0300)]
more shell-safe CFLAGS setting when compiling with murphy support.
Change-Id: Ia8782ddd7fd9030a41b35fcc4becef27b1fbc362
Jaska Uimonen [Fri, 27 Sep 2013 09:30:33 +0000 (12:30 +0300)]
add changelog entry and pump the version number
Change-Id: I9cddf8c98fb6cf8ae9dc520b30a6202aeb42a047