Home | History | Annotate | Download | only in base

Lines Matching defs:frames

36   // Reads a maximum of |frames| frames into |dest| from the current position.
37 // Returns the number of frames read. The current position will advance by the
38 // amount of frames read. |dest_frame_offset| specifies a starting offset into
39 // |dest|. On each call, the frames are converted from their source format
41 int ReadFrames(int frames, int dest_frame_offset, AudioBus* dest);
43 // Copies up to |frames| frames from current position to |dest|. Returns
44 // number of frames copied. Doesn't advance current position. Starts at
46 // a starting offset into |dest|. On each call, the frames are converted from
48 int PeekFrames(int frames,
53 // Moves the current position forward by |frames| frames. If |frames| exceeds
54 // frames available, the seek operation will fail.
55 void SeekFrames(int frames);
57 // Returns the number of frames buffered beyond the current position.
58 int frames() const { return frames_; }
72 // does reading. It reads a maximum of |frames| frames into |dest|. Returns
73 // the number of frames read. The current position will be moved forward by
74 // the number of frames read if |advance_position| is set. If |dest| is NULL,
76 // |source_frame_offset| can be used to skip frames before reading.
78 int InternalRead(int frames,
92 // Number of frames available to be read in the buffer.