summaryrefslogtreecommitdiff
path: root/modules/mda/util.cpp
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-06-15 23:41:49 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-06-15 23:41:49 +0200
commit0ae450a912a16c2649c3d7e903828f2013af081c (patch)
tree3700ba0998d28755a4417c8b1f91a2d55a15cb52 /modules/mda/util.cpp
parent23833983d2f5c15e5896bf3b883270ad70ef7793 (diff)
remove support for Symbian OS
R.I.P. Symbian it was nice to know you, too bad the people at Nokia did not take better care of you ..
Diffstat (limited to 'modules/mda/util.cpp')
-rw-r--r--modules/mda/util.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/mda/util.cpp b/modules/mda/util.cpp
deleted file mode 100644
index b879c7f..0000000
--- a/modules/mda/util.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * @file util.cpp Symbian MDA audio driver -- utilities
- *
- * Copyright (C) 2010 Creytiv.com
- */
-#include <e32def.h>
-#include <e32std.h>
-#include <mda/common/audio.h>
-
-extern "C" {
-#include <re.h>
-#include <baresip.h>
-#include "mda.h"
-}
-
-
-int convert_srate(uint32_t srate)
-{
- switch (srate) {
-
- case 8000: return TMdaAudioDataSettings::ESampleRate8000Hz;
- case 12000: return TMdaAudioDataSettings::ESampleRate12000Hz;
- case 16000: return TMdaAudioDataSettings::ESampleRate16000Hz;
- case 24000: return TMdaAudioDataSettings::ESampleRate24000Hz;
- case 32000: return TMdaAudioDataSettings::ESampleRate32000Hz;
- default: return -1;
- }
-}
-
-
-int convert_channels(uint8_t ch)
-{
- switch (ch) {
-
- case 1: return TMdaAudioDataSettings::EChannelsMono;
- case 2: return TMdaAudioDataSettings::EChannelsStereo;
- default: return -1;
- }
-}