Lines Matching refs:open
931 struct asm_stream_cmd_open_write_v3 *open;
936 pkt_size = APR_HDR_SIZE + sizeof(*open);
943 open = p + APR_HDR_SIZE;
947 open->mode_flags = 0x00;
948 open->mode_flags |= ASM_LEGACY_STREAM_SESSION;
950 open->mode_flags |= BIT(ASM_SHIFT_GAPLESS_MODE_FLAG);
953 open->sink_endpointype = ASM_END_POINT_DEVICE_MATRIX;
954 open->bits_per_sample = bits_per_sample;
955 open->postprocopo_id = ASM_NULL_POPP_TOPOLOGY;
959 open->dec_fmt_id = ASM_MEDIA_FMT_MP3;
962 open->dec_fmt_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2;
965 open->dec_fmt_id = ASM_MEDIA_FMT_FLAC;
970 open->dec_fmt_id = ASM_MEDIA_FMT_WMA_V9;
976 open->dec_fmt_id = ASM_MEDIA_FMT_WMA_V10;
986 open->dec_fmt_id = ASM_MEDIA_FMT_ALAC;
989 open->dec_fmt_id = ASM_MEDIA_FMT_APE;
1504 struct asm_stream_cmd_open_read_v3 *open;
1509 pkt_size = APR_HDR_SIZE + sizeof(*open);
1515 open = p + APR_HDR_SIZE;
1520 open->src_endpointype = ASM_END_POINT_DEVICE_MATRIX;
1522 open->preprocopo_id = ASM_STREAM_POSTPROC_TOPO_ID_NONE;
1523 open->bits_per_sample = bits_per_sample;
1524 open->mode_flags = 0x0;
1526 open->mode_flags |= ASM_LEGACY_STREAM_SESSION <<
1531 open->mode_flags |= 0x00;
1532 open->enc_cfg_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2;