/* *CEAspeakerplacement: * *FLFLCFCFRCFR * *LFE * *RLRLCRCRRCRR * *TheLeft/RightSurroundchannel_notions_LS/RSinSMPTE320M *correspondstoCEARL/RR;TheSMPTEchannel_assignment_C/LFEis *swappedtoCEALFE/FC.
*/ enum cea_speaker_placement {
FL = (1 << 0), /* Front Left */
FC = (1 << 1), /* Front Center */
FR = (1 << 2), /* Front Right */
FLC = (1 << 3), /* Front Left Center */
FRC = (1 << 4), /* Front Right Center */
RL = (1 << 5), /* Rear Left */
RC = (1 << 6), /* Rear Center */
RR = (1 << 7), /* Rear Right */
RLC = (1 << 8), /* Rear Left Center */
RRC = (1 << 9), /* Rear Right Center */
LFE = (1 << 10), /* Low Frequency Effect */
};
struct cea_channel_speaker_allocation { int ca_index; int speakers[8];
/* derived values, just for convenience */ int channels; int spk_mask;
};
struct channel_map_table { unsignedchar map; /* ALSA API channel map position */ unsignedchar cea_slot; /* CEA slot value */ int spk_mask; /* speaker position bit mask */
};
struct pcm_stream_info { struct snd_pcm_substream *substream; int substream_refcount;
};
/* ring buffer (BD) position index */ unsignedint bd_head; /* PCM buffer position indices */ unsignedint pcmbuf_head; /* being processed */ unsignedint pcmbuf_filled; /* to be filled */
unsignedint num_bds; /* number of BDs */ unsignedint period_bytes; /* PCM period size in bytes */
/* internal stuff */ union aud_cfg aud_config; /* AUD_CONFIG reg value cache */ struct work_struct hdmi_audio_wq; struct mutex mutex; /* for protecting chmap and eld */ struct snd_jack *jack;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.