From 740df0d5f44f6768bb4d65aebfa98e92564db000 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Thu, 1 Dec 2011 16:40:03 +0100 Subject: [PATCH] Fix name of holding sound. --- res/raw/{toy-mono.wav => toy_mono.wav} | Bin src/org/linphone/LinphoneManager.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename res/raw/{toy-mono.wav => toy_mono.wav} (100%) diff --git a/res/raw/toy-mono.wav b/res/raw/toy_mono.wav similarity index 100% rename from res/raw/toy-mono.wav rename to res/raw/toy_mono.wav diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java index ec3b81e30..123acbcd0 100644 --- a/src/org/linphone/LinphoneManager.java +++ b/src/org/linphone/LinphoneManager.java @@ -158,7 +158,7 @@ public final class LinphoneManager implements LinphoneCoreListener { mLinphoneRootCaFile = basePath + "/rootca.pem"; mRingSoundFile = basePath + "/oldphone_mono.wav"; mRingbackSoundFile = basePath + "/ringback.wav"; - mPauseSoundFile = basePath + "/toy-mono.wav"; + mPauseSoundFile = basePath + "/toy_mono.wav"; sLPref = LinphonePreferenceManager.getInstance(c); mAudioManager = ((AudioManager) c.getSystemService(Context.AUDIO_SERVICE)); @@ -445,7 +445,7 @@ public final class LinphoneManager implements LinphoneCoreListener { private void copyAssetsFromPackage() throws IOException { copyIfNotExist(R.raw.oldphone_mono,mRingSoundFile); copyIfNotExist(R.raw.ringback,mRingbackSoundFile); - copyIfNotExist(R.raw.toy,mPauseSoundFile); + copyIfNotExist(R.raw.toy_mono,mPauseSoundFile); copyFromPackage(R.raw.linphonerc, new File(mLinphoneInitialConfigFile).getName()); copyIfNotExist(R.raw.rootca, new File(mLinphoneRootCaFile).getName()); }