Lines Matching refs:name
77 SAMPLE_RATE = 0x4100, // Configure sample rate conversion on this track name;
86 REMOVE = 0x4102, // Remove the sample rate converter on this track name;
94 PLAYBACK_RATE = 0x4300, // Configure timestretch on this track name;
106 // \param name a unique user-provided integer associated with the track.
107 // If name already exists, the function will abort.
117 int name, audio_channel_mask_t channelMask, audio_format_t format, int sessionId);
119 bool exists(int name) const {
120 return mTracks.count(name) > 0;
123 // Free an allocated track by name.
124 void destroy(int name);
126 // Enable or disable an allocated track by name
127 void enable(int name);
128 void disable(int name);
130 void setParameter(int name, int target, int param, void *value);
132 void setBufferProvider(int name, AudioBufferProvider* bufferProvider);
138 size_t getUnreleasedFrames(int name) const;
358 bool setChannelMasks(int name,
398 std::unordered_map<void * /* mainBuffer */, std::vector<int /* name */>> mGroups;
401 std::vector<int /* name */> mEnabled;
403 // track smart pointers, by name, in increasing order of name.
404 std::map<int /* name */, std::shared_ptr<Track>> mTracks;