Home
last modified time | relevance | path

Searched refs:sync_stream (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dinitial_delay_manager_unittest.cc91 InitialDelayManager::SyncStream sync_stream; in TEST_F() local
94 manager_->LatePackets(0x6789ABCD, &sync_stream); // Arbitrary but large in TEST_F()
96 EXPECT_EQ(0, sync_stream.num_sync_packets); in TEST_F()
102 kSamplingRateHz, &sync_stream); in TEST_F()
103 EXPECT_EQ(0, sync_stream.num_sync_packets); in TEST_F()
108 kSamplingRateHz, &sync_stream); in TEST_F()
110 EXPECT_EQ(0, sync_stream.num_sync_packets); in TEST_F()
111 manager_->LatePackets(0x45678987, &sync_stream); // Large arbitrary receive in TEST_F()
115 EXPECT_EQ(0, sync_stream.num_sync_packets); in TEST_F()
123 kSamplingRateHz, &sync_stream); in TEST_F()
[all …]
Dinitial_delay_manager.cc40 SyncStream* sync_stream) { in UpdateLastReceivedPacket() argument
41 assert(sync_stream); in UpdateLastReceivedPacket()
59 sync_stream->num_sync_packets = 0; in UpdateLastReceivedPacket()
73 sync_stream->num_sync_packets = 0; in UpdateLastReceivedPacket()
108 sync_stream->num_sync_packets = 0; in UpdateLastReceivedPacket()
116 sync_stream->num_sync_packets = last_packet_type_ == kSyncPacket ? in UpdateLastReceivedPacket()
120 if (sync_stream->num_sync_packets > 0 && in UpdateLastReceivedPacket()
127 sync_stream->timestamp_step = timestamp_step_; in UpdateLastReceivedPacket()
130 memcpy(&sync_stream->rtp_info, &rtp_info, sizeof(rtp_info)); in UpdateLastReceivedPacket()
131 sync_stream->rtp_info.header.payloadType = audio_payload_type_; in UpdateLastReceivedPacket()
[all …]
Dacm_receiver.cc829 InitialDelayManager::SyncStream* sync_stream) { in InsertStreamOfSyncPackets() argument
830 assert(sync_stream); in InsertStreamOfSyncPackets()
832 for (int n = 0; n < sync_stream->num_sync_packets; ++n) { in InsertStreamOfSyncPackets()
833 neteq_->InsertSyncPacket(sync_stream->rtp_info, in InsertStreamOfSyncPackets()
834 sync_stream->receive_timestamp); in InsertStreamOfSyncPackets()
835 ++sync_stream->rtp_info.header.sequenceNumber; in InsertStreamOfSyncPackets()
836 sync_stream->rtp_info.header.timestamp += sync_stream->timestamp_step; in InsertStreamOfSyncPackets()
837 sync_stream->receive_timestamp += sync_stream->timestamp_step; in InsertStreamOfSyncPackets()
Dinitial_delay_manager.h62 SyncStream* sync_stream);
66 void LatePackets(uint32_t timestamp_now, SyncStream* sync_stream);
Dacm_receiver.h327 void InsertStreamOfSyncPackets(InitialDelayManager::SyncStream* sync_stream);
/external/chromium_org/media/audio/pulse/
Dpulse.sigs33 …st pa_buffer_attr* attr, pa_stream_flags_t flags, const pa_cvolume* volume,pa_stream* sync_stream);
/external/qemu/distrib/sdl-1.2.15/src/audio/pulse/
DSDL_pulseaudio.c109 pa_cvolume *volume, pa_stream *sync_stream);
/external/libpng/contrib/tools/
Dpngfix.c2958 sync_stream(struct file *file) in sync_stream() function
3156 sync_stream(file); in read_chunk()