![]() |
2010-04-20
, 20:20
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#32
|
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2010-04-21
, 07:27
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#33
|
What are the properties? Well...
Event.id: http://0pointer.de/lennart/projects/...c10c01426a4fec
The reason why this one is special is because the Policy system will react to the event.id being set to "ringtone-preview":
So it sets the group to player:
The player group is special because it lets you play sounds in the Silent profile. The Media Player also uses this group (search "mafw-dbus-wrapper" in the policy conf).
The media-stream-restore one? NFI. It's not needed to play sounds in Silent mode as is evidenced by the policy config. I also suspect it's rather useless without pa_ext_stream_restore2_write ()
How did I find out about the playbin2 stuff?
It was libcanberra that introduced me to properties. I found out that hildon_play_system_sound () (http://maemo.org/api_refs/5.0/5.0-fi...y-system-sound) would play sounds in Silent mode. Grabbed the libhildon source and the libcanberra source and looked at libcanberra's set of Maemo patches.
Heh, all that said, it finally came down to: strings, IDA Pro, http://meego.gitorious.org/maemo-mul...ode=sidebyside and /usr/lib/hildon-control-panel/libcpprofiles.so
https://bugs.maemo.org/show_bug.cgi?id=6694 is a fun read with me adding some entertainment by getting pissed off at Nokia's lack of communication
The Following 4 Users Say Thank You to nicolai For This Useful Post: | ||
![]() |
2010-04-23
, 20:18
|
Posts: 49 |
Thanked: 41 times |
Joined on Apr 2010
|
#34
|
![]() |
2010-04-25
, 11:36
|
Posts: 101 |
Thanked: 18 times |
Joined on Dec 2009
@ Sweden
|
#35
|
![]() |
2010-04-25
, 11:42
|
Posts: 18 |
Thanked: 1 time |
Joined on Apr 2010
@ Romania
|
#36
|
@foxer: Now you should be able to select aac files as well.
Afaik mid files aren't supported at all.
![]() |
2010-04-25
, 11:48
|
Posts: 18 |
Thanked: 1 time |
Joined on Apr 2010
@ Romania
|
#37
|
![]() |
2010-04-25
, 12:20
|
Posts: 18 |
Thanked: 1 time |
Joined on Apr 2010
@ Romania
|
#38
|
Now I only miss one major thing, and my N900 would be more or less complete:
ability to set ringtones to individual contacts ( or group would do just fine)
![]() |
2010-05-12
, 18:03
|
Posts: 306 |
Thanked: 106 times |
Joined on Feb 2010
|
#39
|
![]() |
2010-05-13
, 06:18
|
Posts: 1 |
Thanked: 0 times |
Joined on May 2010
|
#40
|
I have the 0.4 version installed but the status icon do not show up in the status area. This probably because I am able to select the icon in the control panel, but the icon settings are not saved. The profiles reverts back to blank icon.
any idea what could be wrong:
What I want to know is where the profiles are stored.
Fred