lullaby/contrib/word_art/word_art_system.cc
// Returns the desired audio playback type based on the provided play_audio
// settings.
Returns the desired audio playback type based on the provided play_audio
settings.
Returns the desired audio playback type based on the provided play_audio settings .
AudioPlaybackType GetPlaybackType(const WordArtPlayAudioDefT& play_audio) {
  if (play_audio.stream || play_audio.loop) {
    return AudioPlaybackType::AudioPlaybackType_PlayWhenReady;
  }
  return AudioPlaybackType::AudioPlaybackType_PlayIfReady;
}
AudioPlaybackType GetPlaybackType ( const WordArtPlayAudioDefT & play_audio ) { if ( play_audio . stream || play_audio . loop ) { return AudioPlaybackType :: AudioPlaybackType_PlayWhenReady ; } return AudioPlaybackType :: AudioPlaybackType_PlayIfReady ; }
Returns the desired audio playback type based on the provided play_audio
settings.
Returns the desired audio playback type based on the provided play_audio settings .