Lines Matching refs:streamState

123 MIX_RESULT mix_audio_get_stream_state_default(MixAudio *mix, MixStreamState *streamState);
161 self->streamState = MIX_STREAM_NULL; in mix_audio_init()
487 mix->streamState = MIX_STREAM_STOPPED; in mix_audio_SST_SET_PARAMS()
590 else if ((mix->streamState != MIX_STREAM_STOPPED) && (mix->streamState != MIX_STREAM_NULL)) in mix_audio_deinitialize_default()
640 mix->streamState = MIX_STREAM_STOPPED; in mix_audio_stop_drop_default()
673 if (mix->streamState == MIX_STREAM_STOPPED) in mix_audio_stop_drain_default()
675 …else if ((mix->streamState == MIX_STREAM_DRAINING) || mix->streamState == MIX_STREAM_PAUSED_DRAINI… in mix_audio_stop_drain_default()
681 mix->streamState = MIX_STREAM_DRAINING; in mix_audio_stop_drain_default()
705 if (mix->streamState != MIX_STREAM_STOPPED) in mix_audio_stop_drain_default()
717 if ((mix->streamState != MIX_STREAM_DRAINING) && in mix_audio_stop_drain_default()
718 (mix->streamState != MIX_STREAM_STOPPED)) in mix_audio_stop_drain_default()
721 g_warning("MIX Internal state error! DRAIN state(%u) changed!",mix->streamState); in mix_audio_stop_drain_default()
726 mix->streamState = MIX_STREAM_STOPPED; in mix_audio_stop_drain_default()
760 switch (mix->streamState) in mix_audio_start_default()
785 mix->streamState = MIX_STREAM_PLAYING; in mix_audio_start_default()
845 else if ((mix->streamState != MIX_STREAM_STOPPED) && (mix->streamState != MIX_STREAM_NULL)) in mix_audio_configure_default()
1123 MIX_RESULT mix_audio_get_stream_state_default(MixAudio *mix, MixStreamState *streamState) in mix_audio_get_stream_state_default() argument
1127 if (!streamState) return MIX_RESULT_NULL_PTR; in mix_audio_get_stream_state_default()
1134 if (mix->streamState == MIX_STREAM_PAUSED_DRAINING) in mix_audio_get_stream_state_default()
1135 *streamState = MIX_STREAM_PAUSED; in mix_audio_get_stream_state_default()
1137 *streamState = mix->streamState; in mix_audio_get_stream_state_default()
1251 if (mix->streamState == MIX_STREAM_PAUSED) _UNLOCK_RETURN(&mix->controllock, MIX_RESULT_SUCCESS); in mix_audio_pause_default()
1253 if ((mix->streamState != MIX_STREAM_PLAYING) && (mix->streamState != MIX_STREAM_DRAINING)) in mix_audio_pause_default()
1268 if (mix->streamState == MIX_STREAM_DRAINING) in mix_audio_pause_default()
1288 if (mix->streamState == MIX_STREAM_DRAINING) in mix_audio_pause_default()
1290 mix->streamState = MIX_STREAM_PAUSED_DRAINING; in mix_audio_pause_default()
1294 mix->streamState = MIX_STREAM_PAUSED; in mix_audio_pause_default()
1323 if ((mix->streamState == MIX_STREAM_PLAYING) || (mix->streamState == MIX_STREAM_DRAINING)) in mix_audio_resume_default()
1326 if ((mix->streamState != MIX_STREAM_PAUSED_DRAINING) && (mix->streamState != MIX_STREAM_PAUSED)) in mix_audio_resume_default()
1346 if (mix->streamState == MIX_STREAM_PAUSED_DRAINING) in mix_audio_resume_default()
1347 mix->streamState = MIX_STREAM_DRAINING; in mix_audio_resume_default()
1349 mix->streamState = MIX_STREAM_PLAYING; in mix_audio_resume_default()
1874 MIX_RESULT mix_audio_get_stream_state(MixAudio *mix, MixStreamState *streamState) in mix_audio_get_stream_state() argument
1883 return klass->get_stream_state(mix, streamState); in mix_audio_get_stream_state()
2011 g_debug("%s streamState(%s)", prefix, _mix_stream_state_get_name(mix->streamState)); in mix_audio_debug_dump()