Searched refs:encoded_packet (Results 1 – 2 of 2) sorted by relevance
153 scoped_ptr<AudioPacket> encoded_packet(new AudioPacket()); in Encode() local154 encoded_packet->set_encoding(AudioPacket::ENCODING_OPUS); in Encode()155 encoded_packet->set_sampling_rate(kOpusSamplingRate); in Encode()156 encoded_packet->set_channels(channels_); in Encode()193 std::string* data = encoded_packet->add_data(); in Encode()232 if (encoded_packet->data_size() == 0) in Encode()235 return encoded_packet.Pass(); in Encode()
89 scoped_ptr<AudioPacket> encoded_packet = in EncodeAudioPacket() local93 if (encoded_packet.get()) { in EncodeAudioPacket()96 this, base::Passed(&encoded_packet))); in EncodeAudioPacket()