Lines Matching refs:audioconfigparams

107 MIX_RESULT mix_audio_configure_default(MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixD…
126 …ix_audio_get_output_configuration_default(MixAudio *mix, MixAudioConfigParams **audioconfigparams);
129 MIX_RESULT mix_audio_am_unregister(MixAudio *mix, MixAudioConfigParams *audioconfigparams);
130 MIX_RESULT mix_audio_am_register(MixAudio *mix, MixAudioConfigParams *audioconfigparams);
172 self->audioconfigparams = NULL; in mix_audio_init()
310 if (mix->audioconfigparams) in mix_audio_finalize()
312 mix_acp_unref(mix->audioconfigparams); in mix_audio_finalize()
313 mix->audioconfigparams = NULL; in mix_audio_finalize()
490 if (MIX_IS_AUDIOCONFIGPARAMS(mix->audioconfigparams)) in mix_audio_SST_SET_PARAMS()
492 mix_acp_unref(mix->audioconfigparams); in mix_audio_SST_SET_PARAMS()
493 mix->audioconfigparams=NULL; in mix_audio_SST_SET_PARAMS()
496 mix->audioconfigparams = MIX_AUDIOCONFIGPARAMS(mix_params_dup(MIX_PARAMS(params))); in mix_audio_SST_SET_PARAMS()
562 if (MIX_ACP_DECODEMODE(mix->audioconfigparams) == MIX_DECODE_DIRECTRENDER) in mix_audio_decode_default()
756 if (MIX_ACP_DECODEMODE(mix->audioconfigparams) == MIX_DECODE_DECODERETURN) in mix_audio_start_default()
824 MIX_RESULT mix_audio_configure_default(MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixD… in mix_audio_configure_default() argument
831 if (!MIX_IS_AUDIOCONFIGPARAMS(audioconfigparams)) return MIX_RESULT_NOT_ACP; in mix_audio_configure_default()
832 …if (MIX_ACP_DECODEMODE(audioconfigparams) >= MIX_DECODE_LAST) return MIX_RESULT_INVALID_DECODE_MOD… in mix_audio_configure_default()
833 if (!mix_acp_is_streamname_valid(audioconfigparams)) return MIX_RESULT_INVALID_STREAM_NAME; in mix_audio_configure_default()
856 if (audioconfigparams->audio_manager == MIX_AUDIOMANAGER_INTELAUDIOMANAGER) { in mix_audio_configure_default()
861 ret = mix_audio_am_unregister(mix, audioconfigparams); in mix_audio_configure_default()
865 ret = mix_audio_SST_SET_PARAMS(mix, audioconfigparams); in mix_audio_configure_default()
870 ret = mix_audio_am_register(mix, audioconfigparams); in mix_audio_configure_default()
900 …if ((mix->codecMode == MIX_CODING_DECODE) && (MIX_ACP_DECODEMODE(mix->audioconfigparams) == MIX_DE… in mix_audio_get_timestamp_default()
911 if (MIX_ACP_BITRATE(mix->audioconfigparams) > 0) in mix_audio_get_timestamp_default()
915 ts = mix->bytes_written * 8000 / MIX_ACP_BITRATE(mix->audioconfigparams); in mix_audio_get_timestamp_default()
965 MIX_RESULT mix_audio_am_unregister(MixAudio *mix, MixAudioConfigParams *audioconfigparams) in mix_audio_am_unregister() argument
971 …registered && MIX_IS_AUDIOCONFIGPARAMS(mix->audioconfigparams) && MIX_IS_AUDIOCONFIGPARAMS(audioco… in mix_audio_am_unregister()
974 if ((MIX_ACP_DECODEMODE(mix->audioconfigparams) != MIX_ACP_DECODEMODE(audioconfigparams)) || in mix_audio_am_unregister()
975 …mix_audio_AM_Change(mix->audioconfigparams, audioconfigparams)) //TODO: add checking for SST change in mix_audio_am_unregister()
990 MIX_RESULT mix_audio_am_register(MixAudio *mix, MixAudioConfigParams *audioconfigparams) in mix_audio_am_register() argument
1006 if (audioconfigparams->stream_name == NULL) in mix_audio_am_register()
1011 …gint32 amStreamID = lpe_stream_register(mix->streamID, "music", audioconfigparams->stream_name, co… in mix_audio_am_register()
1497 if (MIX_ACP_BITRATE(mix->audioconfigparams) > 0) in mix_audio_SST_writev()
1499 wait_time = total_bytes*8*1000*1000/MIX_ACP_BITRATE(mix->audioconfigparams); in mix_audio_SST_writev()
1515 if ((MIX_ACP_BITRATE(mix->audioconfigparams) > 0) && (wait_time > elapsed)) in mix_audio_SST_writev()
1682 MIX_RESULT mix_audio_configure(MixAudio *mix, MixAudioConfigParams *audioconfigparams, MixDrmParams… in mix_audio_configure() argument
1691 return klass->configure(mix, audioconfigparams, drmparams); in mix_audio_configure()
2021 if (MIX_IS_AUDIOCONFIGPARAMS(mix->audioconfigparams)) in mix_audio_debug_dump()
2039 …_RESULT mix_audio_get_output_configuration(MixAudio *mix, MixAudioConfigParams **audioconfigparams) in mix_audio_get_output_configuration() argument
2048 return klass->get_output_configuration(mix, audioconfigparams); in mix_audio_get_output_configuration()
2051 …mix_audio_get_output_configuration_default(MixAudio *mix, MixAudioConfigParams **audioconfigparams) in mix_audio_get_output_configuration_default() argument
2058 if (G_UNLIKELY(!mix || !audioconfigparams)) return MIX_RESULT_NULL_PTR; in mix_audio_get_output_configuration_default()
2082 *audioconfigparams = p; in mix_audio_get_output_configuration_default()