com.buglabs.bug.module.audio.pub
Interface IAudioEventProvider
- All Superinterfaces:
- IButtonEventProvider
- All Known Implementing Classes:
- AudioEventProvider
public interface IAudioEventProvider
- extends IButtonEventProvider
An input event provider for the Audio Module. The audio module is different from
others in that the same device node used for button events is used also for events
related to jack insertion/removal.
The events upon removal are rather difficult to discern though. The button release
event for either VOL_UP or VOL_DOWN identical in getSource(), getAction(), getButton(), and
getRawValue(). The same is true for the removal events for jacks. Jack removal and button release
events are identical. Need to rework the driver to more easily discern these events.
- See Also:
com.buglabs.device.ButtonEvent, linux-bug_2.6.27.2/drivers/bmi/pims/bmi_audio.c
for more information.
HEADPHONE_INSERTED_ACTION
static final int HEADPHONE_INSERTED_ACTION
- See Also:
- Constant Field Values
MIC_INSERTED_ACTION
static final int MIC_INSERTED_ACTION
- See Also:
- Constant Field Values
LINEOUT_INSERTED_ACTION
static final int LINEOUT_INSERTED_ACTION
- See Also:
- Constant Field Values
LINEIN_INSERTED_ACTION
static final int LINEIN_INSERTED_ACTION
- See Also:
- Constant Field Values
BUTTON_AUDIO_VOLDOWN_PRESSED_ACTION
static final int BUTTON_AUDIO_VOLDOWN_PRESSED_ACTION
- See Also:
- Constant Field Values
BUTTON_AUDIO_VOLUP_PRESSED_ACTION
static final int BUTTON_AUDIO_VOLUP_PRESSED_ACTION
- See Also:
- Constant Field Values
BUTTON_AUDIO
static final int BUTTON_AUDIO
- See Also:
- Constant Field Values
BUTTON_RELEASED_ACTION
static final int BUTTON_RELEASED_ACTION
- See Also:
- Constant Field Values
JACK_REMOVED_ACTION
static final int JACK_REMOVED_ACTION
- See Also:
- Constant Field Values