![]() |
2010-06-20
, 19:19
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#2
|
The Following User Says Thank You to fcrochik For This Useful Post: | ||
![]() |
2010-06-20
, 21:09
|
Posts: 94 |
Thanked: 253 times |
Joined on Jan 2010
@ Virginia
|
#3
|
I'm currently trying to come up with a solution for individual ringtones by caller following the ideas from this thread. I am, however, a bit stumped at the moment trying to find out how ringtone caching is handled on the N900. Since I haven't found any documentation on this, I had to experiment. This is what I have so far:
This leads to the following behaviour: If I set the ringtone to '/home/user/link', which in turn is a symlink to '/home/user/MyDocs/.sounds/sound.mp3', at first nothing happens. The first time the sound is played, a cached version '/home/user/.local/share/sounds/sound.mp3.wav' is created. This is the played on all subsequent calls, even if I change the symlink to point to another sound file, e.g. '/home/user/MyDocs/.sounds/other.mp3'.
I have the following questions:
An additional question would be what happens to ringtones that are originally in .wav format. I can probably fnd that out myself by experimenting, but haven't had the time yet, so if anybody already knows I'd be grateful for any hints.
Any help on this would be highly appreciated. Thanks a lot in advance!
P.S. I posted this in 'Development' rather than in 'N900' since the latter is for hardware-specific discussion and since I thought developers would be most likely to be able to shed some light on this. If anybody feels this belongs somewhere else, feel free to move this thread.