mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "ASoc: msm: qdspv2: Clock recovery support in compress driver"
This commit is contained in:
commit
69b0c1b3d6
2 changed files with 9 additions and 1 deletions
|
|
@ -157,6 +157,8 @@ struct snd_compr_audio_info {
|
|||
* @SNDRV_COMPRESS_CLK_REC_MODE: clock recovery mode ( none or auto)
|
||||
* @SNDRV_COMPRESS_RENDER_WINDOW: render window
|
||||
* @SNDRV_COMPRESS_START_DELAY: start delay
|
||||
* @SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK: enable dsp drift correction
|
||||
* @SNDRV_COMPRESS_ADJUST_SESSION_CLOCK: set drift correction value
|
||||
*/
|
||||
enum sndrv_compress_encoder {
|
||||
SNDRV_COMPRESS_ENCODER_PADDING = 1,
|
||||
|
|
@ -167,6 +169,8 @@ enum sndrv_compress_encoder {
|
|||
SNDRV_COMPRESS_CLK_REC_MODE = 5,
|
||||
SNDRV_COMPRESS_RENDER_WINDOW = 6,
|
||||
SNDRV_COMPRESS_START_DELAY = 7,
|
||||
SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK = 8,
|
||||
SNDRV_COMPRESS_ADJUST_SESSION_CLOCK = 9,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
@ -176,6 +180,9 @@ enum sndrv_compress_encoder {
|
|||
#define SNDRV_COMPRESS_CLK_REC_MODE SNDRV_COMPRESS_CLK_REC_MODE
|
||||
#define SNDRV_COMPRESS_RENDER_WINDOW SNDRV_COMPRESS_RENDER_WINDOW
|
||||
#define SNDRV_COMPRESS_START_DELAY SNDRV_COMPRESS_START_DELAY
|
||||
#define SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK \
|
||||
SNDRV_COMPRESS_ENABLE_ADJUST_SESSION_CLOCK
|
||||
#define SNDRV_COMPRESS_ADJUST_SESSION_CLOCK SNDRV_COMPRESS_ADJUST_SESSION_CLOCK
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -87,7 +87,8 @@
|
|||
#define SND_AUDIOCODEC_APE ((__u32) 0x00000011)
|
||||
#define SND_AUDIOCODEC_DSD ((__u32) 0x00000012)
|
||||
#define SND_AUDIOCODEC_APTX ((__u32) 0x00000013)
|
||||
#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APTX
|
||||
#define SND_AUDIOCODEC_TRUEHD ((__u32) 0x00000014)
|
||||
#define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_TRUEHD
|
||||
|
||||
/*
|
||||
* Profile and modes are listed with bit masks. This allows for a
|
||||
|
|
|
|||
Loading…
Reference in a new issue