Lines Matching refs:profile
48 sp<IOProfile> profile = new OutputProfile(name);
50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask,
55 profile->addSupportedDevice(devDesc);
57 return addOutputProfile(profile);
60 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile)
62 profile->attach(this);
63 mOutputProfiles.add(profile);
64 mPorts.add(profile);
68 status_t HwModule::addInputProfile(const sp<IOProfile> &profile)
70 profile->attach(this);
71 mInputProfiles.add(profile);
72 mPorts.add(profile);
76 status_t HwModule::addProfile(const sp<IOProfile> &profile)
78 switch (profile->getRole()) {
80 return addOutputProfile(profile);
82 return addInputProfile(profile);
111 sp<IOProfile> profile = new InputProfile(name);
112 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask,
117 profile->addSupportedDevice(devDesc);
122 return addInputProfile(profile);