public class PulseAudioRenderer extends AbstractAudioRenderer<PulseAudioSystem>
audioSystem, dataFlow, JAVA_AUDIO_FORMAT_ENDIAN, NATIVE_AUDIO_FORMAT_ENDIANinputFormatEMPTY_CONTROLS| Constructor and Description |
|---|
PulseAudioRenderer()
Initializes a new PulseAudioRenderer instance with a default
PulseAudio media role.
|
PulseAudioRenderer(String mediaRole)
Initializes a new PulseAudioRenderer instance with a specific
PulseAudio media role.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getName() |
javax.media.Format[] |
getSupportedInputFormats() |
void |
open() |
protected void |
playbackDevicePropertyChange(PropertyChangeEvent ev)
Notifies this instance that the value of the
PROP_PLAYBACK_DEVICE property of its associated
AudioSystem has changed.
|
int |
process(javax.media.Buffer buffer) |
void |
start() |
void |
stop() |
getControls, getGainControl, getLocator, setLocator, setVolumeControl, useAudioThreadPriorityreset, setInputFormat, useThreadPrioritygetControl, getControl, queryInterface, queryInterfacepublic PulseAudioRenderer()
public PulseAudioRenderer(String mediaRole)
mediaRole - the PulseAudio media role to initialize the new instance
withpublic void close()
close in interface javax.media.PlugInclose in class AbstractAudioRenderer<PulseAudioSystem>public String getName()
public javax.media.Format[] getSupportedInputFormats()
getSupportedInputFormats in interface javax.media.RenderergetSupportedInputFormats in class AbstractAudioRenderer<PulseAudioSystem>public void open()
throws javax.media.ResourceUnavailableException
open in interface javax.media.PlugInopen in class AbstractAudioRenderer<PulseAudioSystem>javax.media.ResourceUnavailableExceptionprotected void playbackDevicePropertyChange(PropertyChangeEvent ev)
playbackDevicePropertyChange in class AbstractAudioRenderer<PulseAudioSystem>ev - a PropertyChangeEvent which specifies details about
the change such as the name of the property and its old and new valuespublic int process(javax.media.Buffer buffer)
public void start()
public void stop()
Copyright © 2022 jitsi.org. All rights reserved.