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

Commit 4e1105e2 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "uapi: sound: latency mode support for transcode loopback"

parents 914842cb d219b293
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -140,6 +140,11 @@ struct snd_compr_audio_info {
#define SNDRV_COMPRESS_CLK_REC_MODE_NONE 0
#define SNDRV_COMPRESS_CLK_REC_MODE_NONE 0
#define SNDRV_COMPRESS_CLK_REC_MODE_AUTO 1
#define SNDRV_COMPRESS_CLK_REC_MODE_AUTO 1


enum sndrv_compress_latency_mode {
	SNDRV_COMPRESS_LEGACY_LATENCY_MODE = 0,
	SNDRV_COMPRESS_LOW_LATENCY_MODE = 1,
};

/**
/**
 * enum sndrv_compress_encoder
 * enum sndrv_compress_encoder
 * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the
 * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the
@@ -166,6 +171,7 @@ enum sndrv_compress_encoder {
	SNDRV_COMPRESS_START_DELAY = 9,
	SNDRV_COMPRESS_START_DELAY = 9,
	SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK = 10,
	SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK = 10,
	SNDRV_COMPRESS_ADJUST_SESSION_CLOCK = 11,
	SNDRV_COMPRESS_ADJUST_SESSION_CLOCK = 11,
	SNDRV_COMPRESS_LATENCY_MODE = 12,
};
};


#define SNDRV_COMPRESS_MIN_BLK_SIZE SNDRV_COMPRESS_MIN_BLK_SIZE
#define SNDRV_COMPRESS_MIN_BLK_SIZE SNDRV_COMPRESS_MIN_BLK_SIZE
@@ -178,6 +184,7 @@ enum sndrv_compress_encoder {
#define SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK \
#define SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK \
		SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK
		SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK
#define SNDRV_COMPRESS_ADJUST_SESSION_CLOCK SNDRV_COMPRESS_ADJUST_SESSION_CLOCK
#define SNDRV_COMPRESS_ADJUST_SESSION_CLOCK SNDRV_COMPRESS_ADJUST_SESSION_CLOCK
#define SNDRV_COMPRESS_LATENCY_MODE SNDRV_COMPRESS_LATENCY_MODE


/**
/**
 * struct snd_compr_metadata - compressed stream metadata
 * struct snd_compr_metadata - compressed stream metadata