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

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

Merge "ALSA: compress: Add APTX format support in ALSA"

parents 0566217c 3aeaf95e
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -103,7 +103,8 @@
#define SND_AUDIOCODEC_ALAC                  ((__u32) 0x00000020)
#define SND_AUDIOCODEC_APE                   ((__u32) 0x00000021)
#define SND_AUDIOCODEC_DSD                   ((__u32) 0x00000022)
#define SND_AUDIOCODEC_MAX                   SND_AUDIOCODEC_DSD
#define SND_AUDIOCODEC_APTX                  ((__u32) 0x00000023)
#define SND_AUDIOCODEC_MAX                   SND_AUDIOCODEC_APTX

/*
 * Profile and modes are listed with bit masks. This allows for a
@@ -394,6 +395,12 @@ struct snd_dec_ape {
	__u32 seek_table_present;
};

struct snd_dec_aptx {
	__u32 lap;
	__u32 uap;
	__u32 nap;
};

union snd_codec_options {
	struct snd_enc_wma wma;
	struct snd_enc_vorbis vorbis;
@@ -404,6 +411,7 @@ union snd_codec_options {
	struct snd_dec_vorbis vorbis_dec;
	struct snd_dec_alac alac;
	struct snd_dec_ape ape;
	struct snd_dec_aptx aptx_dec;
};

/** struct snd_codec_desc - description of codec capabilities