Let's start tizen audio 3.0 54/41654/5
authorSeonmi Jin <seonmi.jin@samsung.com>
Tue, 27 Jan 2015 06:08:07 +0000 (15:08 +0900)
committerinhyeok <i_bc.kim@samsung.com>
Tue, 7 Jul 2015 04:11:40 +0000 (13:11 +0900)
commita06bc3beb6eb3e30d7f51c07fda097dd6be1b458
tree701bf54bbe816a10d490e54d111d0b22be086f06
parent4cf5ac0f4aa3198eeed073dcf4bd58be21ee4946
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>
68 files changed:
Makefile.am
common/mm_sound_utils.c
configure.ac
include/mm_ipc.h
include/mm_sound.h
include/mm_sound_client.h
include/mm_sound_client_dbus.h [new file with mode: 0644]
include/mm_sound_client_msgq.h [new file with mode: 0644]
include/mm_sound_common.h
include/mm_sound_device.h
include/mm_sound_focus.h [new file with mode: 0644]
include/mm_sound_msg.h
include/mm_sound_pa_client.h
include/mm_sound_private.h
include/mm_sound_stream.h [new file with mode: 0644]
include/mm_sound_utils.h
libmm-sound.manifest
mm_sound.c
mm_sound_bootsound.c
mm_sound_client.c
mm_sound_client_dbus.c [new file with mode: 0644]
mm_sound_client_msgq.c [new file with mode: 0644]
mm_sound_device.c
mm_sound_focus.c [new file with mode: 0644]
mm_sound_keysound.c
mm_sound_pa_client.c
mm_sound_pcm.c
mm_sound_pcm_async.c
packaging/libmm-sound.spec
packaging/sound-server.service
server/Makefile.am
server/include/mm_sound_mgr_asm.h
server/include/mm_sound_mgr_codec.h
server/include/mm_sound_mgr_device.h
server/include/mm_sound_mgr_device_dock.h
server/include/mm_sound_mgr_device_hdmi.h
server/include/mm_sound_mgr_device_headset.h
server/include/mm_sound_mgr_device_wfd.h
server/include/mm_sound_mgr_focus.h [new file with mode: 0644]
server/include/mm_sound_mgr_ipc.h
server/include/mm_sound_mgr_ipc_dbus.h [new file with mode: 0644]
server/include/mm_sound_mgr_ipc_msgq.h [new file with mode: 0644]
server/include/mm_sound_mgr_pulse.h
server/include/mm_sound_mgr_session.h
server/include/mm_sound_plugin_codec.h
server/mm_sound_mgr_asm.c
server/mm_sound_mgr_codec.c
server/mm_sound_mgr_device.c
server/mm_sound_mgr_device_dock.c
server/mm_sound_mgr_device_hdmi.c
server/mm_sound_mgr_device_headset.c
server/mm_sound_mgr_device_wfd.c
server/mm_sound_mgr_focus.c [new file with mode: 0644]
server/mm_sound_mgr_ipc.c
server/mm_sound_mgr_ipc_dbus.c [new file with mode: 0644]
server/mm_sound_mgr_pulse.c
server/mm_sound_mgr_session.c
server/mm_sound_plugin.c
server/mm_sound_server.c
server/plugin/keytone/Makefile.am
server/plugin/keytone/mm_sound_plugin_run_key_tone.c
server/plugin/ogg/Makefile.am
server/plugin/ogg/mm_sound_plugin_codec_ogg.c
server/plugin/tone/Makefile.am
server/plugin/tone/mm_sound_plugin_codec_tone.c
server/plugin/wav/Makefile.am
server/plugin/wav/mm_sound_plugin_codec_wave.c
testsuite/mm_sound_testsuite_simple.c [changed mode: 0644->0755]