Home
last modified time | relevance | path

Searched refs:isMono (Results 1 – 21 of 21) sorted by relevance

/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidAudioDevice.java36 private final boolean isMono; field in AndroidAudioDevice
41 AndroidAudioDevice (int samplingRate, boolean isMono) { in AndroidAudioDevice() argument
42 this.isMono = isMono; in AndroidAudioDevice()
43 int minSize = AudioTrack.getMinBufferSize(samplingRate, isMono ? AudioFormat.CHANNEL_OUT_MONO in AndroidAudioDevice()
45 …track = new AudioTrack(AudioManager.STREAM_MUSIC, samplingRate, isMono ? AudioFormat.CHANNEL_OUT_M… in AndroidAudioDevice()
48 latency = minSize / (isMono ? 1 : 2); in AndroidAudioDevice()
58 public boolean isMono () { in isMono() method in AndroidAudioDevice
59 return isMono; in isMono()
DAndroidAudio.java91 public AudioDevice newAudioDevice (int samplingRate, boolean isMono) { in newAudioDevice() argument
95 return new AndroidAudioDevice(samplingRate, isMono); in newAudioDevice()
195 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) { in newAudioRecorder() argument
199 return new AndroidAudioRecorder(samplingRate, isMono); in newAudioRecorder()
DAndroidAudioRecorder.java32 public AndroidAudioRecorder (int samplingRate, boolean isMono) { in AndroidAudioRecorder() argument
33 int channelConfig = isMono ? AudioFormat.CHANNEL_IN_MONO : AudioFormat.CHANNEL_IN_STEREO; in AndroidAudioRecorder()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
DJavaSoundAudioRecorder.java32 public JavaSoundAudioRecorder (int samplingRate, boolean isMono) { in JavaSoundAudioRecorder() argument
34 …mat format = new AudioFormat(Encoding.PCM_SIGNED, samplingRate, 16, isMono ? 1 : 2, isMono ? 2 : 4, in JavaSoundAudioRecorder()
DOpenALAudio.java320 public AudioDevice newAudioDevice (int sampleRate, final boolean isMono) { in newAudioDevice() argument
335 public boolean isMono () { in newAudioDevice()
336 return isMono; in newAudioDevice()
348 return new OpenALAudioDevice(this, sampleRate, isMono, deviceBufferSize, deviceBufferCount); in newAudioDevice()
351 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) {
361 return new JavaSoundAudioRecorder(samplingRate, isMono);
DOpenALAudioDevice.java48 …public OpenALAudioDevice (OpenALAudio audio, int sampleRate, boolean isMono, int bufferSize, int b… in OpenALAudioDevice() argument
50 channels = isMono ? 1 : 2; in OpenALAudioDevice()
207 public boolean isMono () { in isMono() method in OpenALAudioDevice
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
DJavaSoundAudioRecorder.java32 public JavaSoundAudioRecorder (int samplingRate, boolean isMono) { in JavaSoundAudioRecorder() argument
34 …mat format = new AudioFormat(Encoding.PCM_SIGNED, samplingRate, 16, isMono ? 1 : 2, isMono ? 2 : 4, in JavaSoundAudioRecorder()
DOpenALAudio.java302 public AudioDevice newAudioDevice (int sampleRate, final boolean isMono) { in newAudioDevice() argument
317 public boolean isMono () { in newAudioDevice()
318 return isMono; in newAudioDevice()
330 return new OpenALAudioDevice(this, sampleRate, isMono, deviceBufferSize, deviceBufferCount); in newAudioDevice()
333 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) {
343 return new JavaSoundAudioRecorder(samplingRate, isMono);
DOpenALAudioDevice.java48 …public OpenALAudioDevice (OpenALAudio audio, int sampleRate, boolean isMono, int bufferSize, int b… in OpenALAudioDevice() argument
50 channels = isMono ? 1 : 2; in OpenALAudioDevice()
207 public boolean isMono () { in isMono() method in OpenALAudioDevice
/external/libgdx/gdx/src/com/badlogic/gdx/
DAudio.java49 public AudioDevice newAudioDevice (int samplingRate, boolean isMono); in newAudioDevice() argument
58 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono); in newAudioRecorder() argument
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/mock/
DMockAudio.java32 public AudioDevice newAudioDevice(int samplingRate, boolean isMono) { in newAudioDevice() argument
37 public AudioRecorder newAudioRecorder(int samplingRate, boolean isMono) { in newAudioRecorder() argument
DMockAudioDevice.java27 public boolean isMono() { in isMono() method in MockAudioDevice
/external/libgdx/backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/mock/audio/
DMockAudio.java32 public AudioDevice newAudioDevice(int samplingRate, boolean isMono) { in newAudioDevice() argument
37 public AudioRecorder newAudioRecorder(int samplingRate, boolean isMono) { in newAudioRecorder() argument
DMockAudioDevice.java27 public boolean isMono() { in isMono() method in MockAudioDevice
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
DGwtAudio.java29 public AudioDevice newAudioDevice (int samplingRate, boolean isMono) { in newAudioDevice() argument
34 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) { in newAudioRecorder() argument
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/
DIOSAudio.java42 public AudioDevice newAudioDevice (int samplingRate, boolean isMono) { in newAudioDevice() argument
48 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) { in newAudioRecorder() argument
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSAudio.java42 public AudioDevice newAudioDevice (int samplingRate, boolean isMono) { in newAudioDevice() argument
48 public AudioRecorder newAudioRecorder (int samplingRate, boolean isMono) { in newAudioRecorder() argument
/external/libgdx/gdx/src/com/badlogic/gdx/audio/
DAudioDevice.java29 public boolean isMono (); in isMono() method
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/
DHieroSettings.java295 public boolean isMono () { in isMono() method in HieroSettings
DHiero.java374 monoCheckBox.setSelected(settings.isMono());
/external/skia/src/core/
DSkPath.cpp2908 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic() local
2909 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
2910 if (!isMono) { in winding_conic()