OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MIX_STREAM_STOPPED
(Results
1 - 2
of
2
) sorted by null
/hardware/intel/common/libmix/mix_audio/src/
mixaudio.c
487
mix->streamState =
MIX_STREAM_STOPPED
;
590
else if ((mix->streamState !=
MIX_STREAM_STOPPED
) && (mix->streamState != MIX_STREAM_NULL))
640
mix->streamState =
MIX_STREAM_STOPPED
;
673
if (mix->streamState ==
MIX_STREAM_STOPPED
)
705
if (mix->streamState !=
MIX_STREAM_STOPPED
)
718
(mix->streamState !=
MIX_STREAM_STOPPED
))
726
mix->streamState =
MIX_STREAM_STOPPED
;
767
case
MIX_STREAM_STOPPED
:
845
else if ((mix->streamState !=
MIX_STREAM_STOPPED
) && (mix->streamState != MIX_STREAM_NULL))
[
all
...]
mixaudio.h
35
* @
MIX_STREAM_STOPPED
: Stream is at STOP state. This is the only state DNR is allowed.
38
* @MIX_STREAM_DRAINING: Stream is draining -- remaining of the buffer in the device are playing. This state is special due to the limitation that no other control operations are allowed at this state. Stream will become @
MIX_STREAM_STOPPED
automatically when this data draining has completed.
45
MIX_STREAM_STOPPED
,
300
* This method can be called multiple times if reconfiguration of the stream is needed. However, this method must be called when the stream is in #
MIX_STREAM_STOPPED
state.
330
* Note: If the stream is configured as #MIX_DECODE_DIRECTRENDER, and whenever the stream in #
MIX_STREAM_STOPPED
state, the call to mix_audio_decode() will not start the playback until mix_audio_start() is called. This behavior would allow application to queue up data but delay the playback until appropriate time.
355
* If the stream is configured to #MIX_DECODE_DIRECTRENDER, application use this call to change the stream out of the #
MIX_STREAM_STOPPED
state. If mix_audio_decode() is called and blocking in a seperate thread prior to this call. This method causes the device to start rendering data.
364
* @returns: #MIX_RESULT_SUCCESS if the resulting state has successfully reached #
MIX_STREAM_STOPPED
. Fail code otherwise.
370
* If #MIX_STOP_DRAIN is requested, the call will block with stream state set to #MIX_STREAM_DRAINING, and return only until all remaining frame in previously submitted buffers are decoded and rendered. When #MIX_STOP_DRAIN returns successfully, the stream would have reached #
MIX_STREAM_STOPPED
successfully.
382
* @returns: #MIX_RESULT_SUCCESS if the resulting state has successfully reached #
MIX_STREAM_STOPPED
. Fail code otherwise.
388
* Note that this method blocks until #
MIX_STREAM_STOPPED
is reached if it is called when the stream is already in #MIX_STREAM_DRAINING state
[
all
...]
Completed in 43 milliseconds