Lines Matching full:channels
28 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
29 // channels() and frames_per_buffer() from AudioParameters if given.
30 static scoped_ptr<AudioBus> Create(int channels, int frames);
33 // Creates a new AudioBus with the given number of channels, but zero length.
36 static scoped_ptr<AudioBus> CreateWrapper(int channels);
47 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data);
52 // Calculates the required size for an AudioBus given the number of channels
54 static int CalculateMemorySize(int channels, int frames);
75 // AudioBus object must have the same frames() and channels().
79 // objects must have the same number of channels(). |source_start_frame| is
94 int channels() const { return static_cast<int>(channel_data_.size()); }
98 // Helper method for zeroing out all channels of audio data.
111 AudioBus(int channels, int frames);
112 AudioBus(int channels, int frames, float* data);
114 explicit AudioBus(int channels);
118 void BuildChannelData(int channels, int aligned_frame, float* data);