#ifndef CHROMECAST_MEDIA_AUDIO_NET_CONVERSIONS_H_
#define CHROMECAST_MEDIA_AUDIO_NET_CONVERSIONS_H_
#include "chromecast/media/audio/net/common.pb.h"
#include "chromecast/public/media/decoder_config.h"
#include "chromecast/public/volume_control.h"
namespace chromecast {
namespace media {
namespace audio_service {
media::SampleFormat ConvertSampleFormat(SampleFormat format);
SampleFormat ConvertSampleFormat(media::SampleFormat format);
int GetSampleSizeBytes(SampleFormat format);
ContentType ConvertContentType(media::AudioContentType content_type);
media::AudioContentType ConvertContentType(ContentType type);
ChannelLayout ConvertChannelLayout(media::ChannelLayout channel_layout);
media::ChannelLayout ConvertChannelLayout(ChannelLayout channel_layout);
media::AudioCodec ConvertAudioCodec(AudioCodec codec);
AudioCodec ConvertAudioCodec(media::AudioCodec codec);
}
}
}
#endif