Package | Description |
---|---|
uk.co.caprica.vlcj.component |
Provides higher-level components used to create basic media players with the
minimum of application code.
|
uk.co.caprica.vlcj.player |
This is the main package for vlcj client applications, providing the classes
necessary to create and control native media players and associated
resources.
|
uk.co.caprica.vlcj.player.directaudio |
Provides the classes necessary to support direct access to the native audio
samples buffer.
|
Modifier and Type | Method and Description |
---|---|
DirectAudioPlayer |
DirectAudioPlayerComponent.getMediaPlayer()
Get the direct audio player reference.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectAudioPlayerComponent.drain(DirectAudioPlayer mediaPlayer) |
void |
DirectAudioPlayerComponent.flush(DirectAudioPlayer mediaPlayer,
long pts) |
void |
DirectAudioPlayerComponent.pause(DirectAudioPlayer mediaPlayer,
long pts) |
void |
DirectAudioPlayerComponent.play(DirectAudioPlayer mediaPlayer,
com.sun.jna.Pointer samples,
int sampleCount,
long pts) |
void |
DirectAudioPlayerComponent.resume(DirectAudioPlayer mediaPlayer,
long pts) |
Modifier and Type | Method and Description |
---|---|
DirectAudioPlayer |
MediaPlayerFactory.newDirectAudioPlayer(String format,
int rate,
int channels,
AudioCallback audioCallback)
Create a new direct audio media player.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDirectAudioPlayer
Media player implementation that provides direct access to the audio buffer data.
|
Modifier and Type | Method and Description |
---|---|
void |
AudioCallback.drain(DirectAudioPlayer mediaPlayer)
Audio buffer was drained.
|
void |
AudioCallbackAdapter.drain(DirectAudioPlayer mediaPlayer) |
void |
AudioCallback.flush(DirectAudioPlayer mediaPlayer,
long pts)
Audio buffer was flushed.
|
void |
AudioCallbackAdapter.flush(DirectAudioPlayer mediaPlayer,
long pts) |
void |
AudioCallback.pause(DirectAudioPlayer mediaPlayer,
long pts)
Audio was paused.
|
void |
AudioCallbackAdapter.pause(DirectAudioPlayer mediaPlayer,
long pts) |
void |
AudioCallback.play(DirectAudioPlayer mediaPlayer,
com.sun.jna.Pointer samples,
int sampleCount,
long pts)
Play samples.
|
void |
AudioCallbackAdapter.play(DirectAudioPlayer mediaPlayer,
com.sun.jna.Pointer samples,
int sampleCount,
long pts) |
void |
DefaultAudioCallbackAdapter.play(DirectAudioPlayer mediaPlayer,
com.sun.jna.Pointer samples,
int sampleCount,
long pts) |
void |
AudioCallback.resume(DirectAudioPlayer mediaPlayer,
long pts)
Audio was resumed.
|
void |
AudioCallbackAdapter.resume(DirectAudioPlayer mediaPlayer,
long pts) |
Copyright © 2009–2014 Caprica Software Limited. All rights reserved.