Skip to content

Commit

Permalink
use opensles on android
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 10, 2024
1 parent 58639e7 commit 6058bce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libsl/src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ static char conf_path[FS_PATH_MAX] = {0};
static char uuid[UUID_LEN];

static struct sl_config slconf = {
#ifdef ANDROID
.baresip = NULL, .play.mod = "opensles", .src.mod = "opensles"};
#else
.baresip = NULL, .play.mod = "portaudio", .src.mod = "portaudio"};
#endif


struct sl_config *sl_conf(void)
Expand Down

0 comments on commit 6058bce

Please sign in to comment.