Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12d507dc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: set initial value of stop_threshold for compress voip"

parents b95fb78f f6f7e12b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ struct pcm_config pcm_config_voip_nb = {
    .period_size = COMPRESS_VOIP_IO_BUF_SIZE_NB/2,
    .period_count = 10,
    .format = PCM_FORMAT_S16_LE,
    .stop_threshold = INT_MAX,
};

struct pcm_config pcm_config_voip_wb = {
@@ -61,6 +62,7 @@ struct pcm_config pcm_config_voip_wb = {
    .period_size = COMPRESS_VOIP_IO_BUF_SIZE_WB/2,
    .period_count = 10,
    .format = PCM_FORMAT_S16_LE,
    .stop_threshold = INT_MAX,
};

struct pcm_config pcm_config_voip_swb = {
@@ -69,6 +71,7 @@ struct pcm_config pcm_config_voip_swb = {
    .period_size = COMPRESS_VOIP_IO_BUF_SIZE_SWB/2,
    .period_count = 10,
    .format = PCM_FORMAT_S16_LE,
    .stop_threshold = INT_MAX,
};

struct pcm_config pcm_config_voip_fb = {
@@ -77,6 +80,7 @@ struct pcm_config pcm_config_voip_fb = {
    .period_size = COMPRESS_VOIP_IO_BUF_SIZE_FB/2,
    .period_count = 10,
    .format = PCM_FORMAT_S16_LE,
    .stop_threshold = INT_MAX,
};

struct voip_data {