AudioDevicePortConfigpublic class AudioDevicePortConfig extends AudioPortConfig An AudioDevicePortConfig describes a possible configuration of an output or input device
(speaker, headphone, microphone ...).
It is used to specify a sink or source when creating a connection with
AudioManager.connectAudioPatch().
An AudioDevicePortConfig is obtained from AudioDevicePort.buildConfig(). |
Constructors Summary |
---|
AudioDevicePortConfig(AudioDevicePort devicePort, int samplingRate, int channelMask, int format, AudioGainConfig gain)
super((AudioPort)devicePort, samplingRate, channelMask, format, gain);
| AudioDevicePortConfig(AudioDevicePortConfig config)
this(config.port(), config.samplingRate(), config.channelMask(), config.format(),
config.gain());
|
Methods Summary |
---|
public AudioDevicePort | port()Returns the audio device port this AudioDevicePortConfig is issued from.
return (AudioDevicePort)mPort;
|
|