Lines Matching defs:open
930 struct asm_stream_cmd_open_write_v3 *open;
935 pkt_size = APR_HDR_SIZE + sizeof(*open);
942 open = p + APR_HDR_SIZE;
946 open->mode_flags = 0x00;
947 open->mode_flags |= ASM_LEGACY_STREAM_SESSION;
949 open->mode_flags |= BIT(ASM_SHIFT_GAPLESS_MODE_FLAG);
952 open->sink_endpointype = ASM_END_POINT_DEVICE_MATRIX;
953 open->bits_per_sample = bits_per_sample;
954 open->postprocopo_id = ASM_NULL_POPP_TOPOLOGY;
958 open->dec_fmt_id = ASM_MEDIA_FMT_MP3;
961 open->dec_fmt_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2;
964 open->dec_fmt_id = ASM_MEDIA_FMT_FLAC;
969 open->dec_fmt_id = ASM_MEDIA_FMT_WMA_V9;
975 open->dec_fmt_id = ASM_MEDIA_FMT_WMA_V10;
985 open->dec_fmt_id = ASM_MEDIA_FMT_ALAC;
988 open->dec_fmt_id = ASM_MEDIA_FMT_APE;
1503 struct asm_stream_cmd_open_read_v3 *open;
1508 pkt_size = APR_HDR_SIZE + sizeof(*open);
1514 open = p + APR_HDR_SIZE;
1519 open->src_endpointype = ASM_END_POINT_DEVICE_MATRIX;
1521 open->preprocopo_id = ASM_STREAM_POSTPROC_TOPO_ID_NONE;
1522 open->bits_per_sample = bits_per_sample;
1523 open->mode_flags = 0x0;
1525 open->mode_flags |= ASM_LEGACY_STREAM_SESSION <<
1530 open->mode_flags |= 0x00;
1531 open->enc_cfg_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2;