audio
ret = hdmi_audio_infoframe_unpack(&frame->audio, buffer);
length = hdmi_audio_infoframe_pack(&frame->audio, buffer, size);
hdmi_audio_infoframe_log(&frame->audio);
struct hdmi_audio_infoframe audio;
page->audio.flags &= ~CD_PA_SOTC;
page->audio.flags |= CD_PA_IMMED;
page->audio.flags &= ~CD_PA_SOTC;
page->audio.flags |= CD_PA_IMMED;
page->audio.flags &= ~CD_PA_SOTC;
page->audio.flags |= CD_PA_IMMED;
page->audio.port[LEFT_PORT].channels =
page->audio.port[RIGHT_PORT].channels =
page->audio.port[2].channels = arg->patch[2];
page->audio.port[3].channels = arg->patch[3];
page->audio.port[LEFT_PORT].volume;
page->audio.port[RIGHT_PORT].volume;
arg->vol[2] = page->audio.port[2].volume;
arg->vol[3] = page->audio.port[3].volume;
page->audio.port[LEFT_PORT].channels = CHANNEL_0;
page->audio.port[LEFT_PORT].volume =
page->audio.port[RIGHT_PORT].channels = CHANNEL_1;
page->audio.port[RIGHT_PORT].volume =
page->audio.port[2].volume = arg->vol[2];
page->audio.port[3].volume = arg->vol[3];
page->audio.port[LEFT_PORT].channels =
page->audio.port[RIGHT_PORT].channels =
page->audio.port[2].channels = 0;
page->audio.port[3].channels = 0;
page->audio.port[LEFT_PORT].channels =
page->audio.port[RIGHT_PORT].channels =
page->audio.port[2].channels = 0;
page->audio.port[3].channels = 0;
page->audio.port[LEFT_PORT].channels = 0;
page->audio.port[RIGHT_PORT].channels = 0;
page->audio.port[2].channels = 0;
page->audio.port[3].channels = 0;
page->audio.port[LEFT_PORT].channels = LEFT_CHANNEL;
page->audio.port[RIGHT_PORT].channels = LEFT_CHANNEL;
page->audio.port[2].channels = 0;
page->audio.port[3].channels = 0;
page->audio.port[LEFT_PORT].channels = RIGHT_CHANNEL;
page->audio.port[RIGHT_PORT].channels = RIGHT_CHANNEL;
page->audio.port[2].channels = 0;
page->audio.port[3].channels = 0;
struct cd_audio_page audio;
struct hdmi_audio_infoframe audio;
length = hdmi_audio_infoframe_pack(&frame->audio, buffer, size);
hdmi_audio_infoframe_log(level, dev, &frame->audio);
ret = hdmi_audio_infoframe_unpack(&frame->audio, buffer, size);
return hdmi_audio_infoframe_check(&frame->audio);
length = hdmi_audio_infoframe_pack_only(&frame->audio,
audio_set_params(struct audio *aud, struct audio_params *params)
audio_playback(struct audio *aud, const uint8_t *buf, size_t count)
audio_record(struct audio *aud, uint8_t *buf, size_t count)
struct audio *
struct audio *aud = NULL;
struct audio;
struct audio *audio_init(const char *dev_name, uint8_t dir);
int audio_set_params(struct audio *aud, struct audio_params *params);
int audio_playback(struct audio *aud, const uint8_t *buf, size_t count);
int audio_record(struct audio *aud, uint8_t *buf, size_t count);
struct audio *aud;
struct audio *aud = NULL;
struct audio *aud = NULL;
struct audio *aud = NULL;
struct audio *aud = NULL;