Home | History | Annotate | Download | only in ios

Lines Matching defs:memory

103 // Reads audio samples from a PCM file where the file is stored in memory at
129 // Read samples from file stored in memory (at construction) and copy
174 // Allocate new memory, copy |num_frames| samples from |source| into memory
175 // and add pointer to the memory location to end of the list.
183 int16_t* memory = new int16_t[frames_per_buffer_];
184 memcpy(static_cast<int16_t*>(&memory[0]), source, bytes_per_buffer_);
186 fifo_->push_back(memory);
196 // data into |destination| and delete the utilized memory allocation.
205 int16_t* memory = fifo_->front();
207 memcpy(destination, static_cast<int16_t*>(&memory[0]), bytes_per_buffer_);
208 delete memory;