#include "media/mojo/mojom/audio_output_stream.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "media/mojo/mojom/audio_output_stream.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* AudioOutputStreamObserver_DisconnectReasonToStringHelper(AudioOutputStreamObserver_DisconnectReason value) { … }
std::string AudioOutputStreamObserver_DisconnectReasonToString(AudioOutputStreamObserver_DisconnectReason value) { … }
std::ostream& operator<<(std::ostream& os, AudioOutputStreamObserver_DisconnectReason value) { … }
namespace internal {
bool AudioOutputStream_Play_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStream_Play_Params_Data::AudioOutputStream_Play_Params_Data()
: … { … }
bool AudioOutputStream_Pause_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStream_Pause_Params_Data::AudioOutputStream_Pause_Params_Data()
: … { … }
bool AudioOutputStream_Flush_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStream_Flush_Params_Data::AudioOutputStream_Flush_Params_Data()
: … { … }
bool AudioOutputStream_SetVolume_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStream_SetVolume_Params_Data::AudioOutputStream_SetVolume_Params_Data()
: … { … }
bool AudioOutputStreamObserver_DidStartPlaying_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStreamObserver_DidStartPlaying_Params_Data::AudioOutputStreamObserver_DidStartPlaying_Params_Data()
: … { … }
bool AudioOutputStreamObserver_DidStopPlaying_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStreamObserver_DidStopPlaying_Params_Data::AudioOutputStreamObserver_DidStopPlaying_Params_Data()
: … { … }
bool AudioOutputStreamObserver_DidChangeAudibleState_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStreamObserver_DidChangeAudibleState_Params_Data::AudioOutputStreamObserver_DidChangeAudibleState_Params_Data()
: … { … }
bool AudioOutputStreamProvider_Acquire_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStreamProvider_Acquire_Params_Data::AudioOutputStreamProvider_Acquire_Params_Data()
: … { … }
bool AudioOutputStreamProviderClient_Created_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioOutputStreamProviderClient_Created_Params_Data::AudioOutputStreamProviderClient_Created_Params_Data()
: … { … }
bool DeviceSwitchInterface_SwitchAudioOutputDeviceId_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceSwitchInterface_SwitchAudioOutputDeviceId_Params_Data::DeviceSwitchInterface_SwitchAudioOutputDeviceId_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::AudioOutputStreamObserver_DisconnectReason>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::AudioOutputStreamObserver_DisconnectReason value) { … }
}