mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
Add prefix path for sound files.
This commit is contained in:
parent
3813302552
commit
c0bed3eac9
1 changed files with 8 additions and 3 deletions
|
|
@ -69,11 +69,16 @@ static void linphone_core_free_hooks(LinphoneCore *lc);
|
|||
const char *linphone_core_get_nat_address_resolved(LinphoneCore *lc);
|
||||
static void toggle_video_preview(LinphoneCore *lc, bool_t val);
|
||||
|
||||
#ifdef WINAPI_FAMILY_PHONE_APP
|
||||
#define SOUNDS_PREFIX "Assets/Sounds/"
|
||||
#else
|
||||
#define SOUNDS_PREFIX
|
||||
#endif
|
||||
/* relative path where is stored local ring*/
|
||||
#define LOCAL_RING "rings/oldphone.wav"
|
||||
#define LOCAL_RING SOUNDS_PREFIX "rings/oldphone.wav"
|
||||
/* same for remote ring (ringback)*/
|
||||
#define REMOTE_RING "ringback.wav"
|
||||
#define HOLD_MUSIC "rings/toy-mono.wav"
|
||||
#define REMOTE_RING SOUNDS_PREFIX "ringback.wav"
|
||||
#define HOLD_MUSIC SOUNDS_PREFIX "rings/toy-mono.wav"
|
||||
|
||||
|
||||
extern SalCallbacks linphone_sal_callbacks;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue