Home
last modified time | relevance | path

Searched refs:sst_params (Results 1 – 1 of 1) sorted by relevance

/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c445 struct snd_sst_params sst_params = {0}; in mix_audio_SST_SET_PARAMS() local
447 gboolean converted = mix_sst_params_convert(params, &sst_params); in mix_audio_SST_SET_PARAMS()
454 sst_params.stream_id = mix->streamID; in mix_audio_SST_SET_PARAMS()
458 sst_params.ops = STREAM_OPS_CAPTURE; in mix_audio_SST_SET_PARAMS()
459 else sst_params.ops = STREAM_OPS_PLAYBACK; in mix_audio_SST_SET_PARAMS()
462 sst_params.stream_type = 0x0; // stream_type 0x00 is STREAM_TYPE_MUSIC per SST doc. in mix_audio_SST_SET_PARAMS()
471 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_SET_PARAMS, &sst_params); in mix_audio_SST_SET_PARAMS()
478 switch (sst_params.result) in mix_audio_SST_SET_PARAMS()
488 mix->streamID = sst_params.stream_id; in mix_audio_SST_SET_PARAMS()
520 g_critical("SET_PARAMS failed unexpectedly. Result code: %u\n", sst_params.result); in mix_audio_SST_SET_PARAMS()