blob: b05a6bd107d954e87cef347e526fc38de20f5cf7 [file] [log] [blame]
Alexandre Lision064e1e02013-10-01 16:18:42 -04001package org.sflphone.account;
alisiond295ec22013-05-17 10:12:13 -04002
3import java.util.ArrayList;
4
Alexandre Lision064e1e02013-10-01 16:18:42 -04005import org.sflphone.service.IntVect;
alisiond295ec22013-05-17 10:12:13 -04006
Alexandre Lision064e1e02013-10-01 16:18:42 -04007import android.util.Log;
alisiond295ec22013-05-17 10:12:13 -04008
9public class AudioHandler {
10
11 private static final String TAG = AudioHandler.class.getSimpleName();
12
13 public static ArrayList<Integer> convertSwigToNative(IntVect swigmap) {
14
15 ArrayList<Integer> nativemap = new ArrayList<Integer>();
16
17 Log.w(TAG, "size codecs list " + swigmap.size());
18
19 for (int i = 0; i < swigmap.size(); ++i) {
20
21 Integer t = swigmap.get(i);
22 nativemap.add(t);
23 }
24
25 return nativemap;
26 }
27
28}