Hi Jan,
Thank you for asking me to refer to the link. I went through the link. I
ran the java program of playing an audio file. When I run three or four
instances of the java program simultaneously, I could hear only the audio
clips being played sequentially. I could not hear them playing
simultan
Hello all,
Thank you very much for your replies.
But, even with java version 1.6.0_45 there still exists the problem of
playing multiple audio clips. I'm using ALSA which comes as default with
ubuntu. When I play multiple audio clips, I'm not able to hear any audio.
Might be because there should b
> Does this help?
>
> http://docs.oracle.com/javase/tutorial/sound/accessing.html
>
See the JavaSound chapter of my LinuxSound ebook for programs using
these classes at http://jan.newmarch.name/LinuxSound/Sampled/JavaSound/
Jan
--
Dr Jan Newmarch
Head of Higher Education (ICT)
P 61 3 9286 9
On Fri, Nov 29, 2013 at 7:49 AM, Clemens Ladisch wrote:
> sai wrote:
> > I think from 1.6.0_30, OSS is dropped and I thought ALSA is the default
> audio framework for java.
>
> Nobody mentioned OSS.
>
> > I do not know how the java program selects the output device.
>
> Neither do I.
>
> It appear
sai wrote:
> I think from 1.6.0_30, OSS is dropped and I thought ALSA is the default audio
> framework for java.
Nobody mentioned OSS.
> I do not know how the java program selects the output device.
Neither do I.
It appears the first device listed by OpenJDK is "default", which is what
you wan
Sorry Clemens, I think from 1.6.0_30, OSS is dropped and I thought ALSA is
the default audio framework for java. Correct me if I'm wrong. Also,
frankly speaking, I do not know how the java program selects the output
device.
Kindly help me come out of this.
Regards,
Sai Krishna.
On Fri, Nov 29, 2
sai wrote:
> OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
In theory, the "default" device should be available:
http://mail.openjdk.java.net/pipermail/sound-dev/2011-May/000115.html
How does your Java program select the output device?
Regards,
Clemens
Hi,
I'm using oracle's Java 6(1.6.0_27)
*[sai@sai ~]# java -version*
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.4)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
Thanks,
Sai
On Fri, Nov 29, 2013 at 1:56 PM, Clemens Ladisch wrote:
sai wrote:
> I'm able to play multiple audio files being played simultaneously with aplay
> command. But this is not the case with java in picture(with the jar file).
aplay uses the "default" device, which allows software mixing. Apparently,
your JVM bypasses this.
> So, as you said may be I nee
I did not configure any JVM's audio output. If it is required, how should I
do? Doing so, will it help? Pardon me, I'm quite new to all this. Please
help me in doing that.
I'm able to play multiple audio files being played simultaneously with
aplay command. But this is not the case with java in pi
sai wrote:
> I have some problem playing multiple audio files using ALSA on my
> ubuntu machine through java.
How did you configure the JVM's audio output?
Regards,
Clemens
--
Rapidly troubleshoot problems before they a
Hello all,
I have some problem playing multiple audio files using ALSA on my
ubuntu machine through java. I have a jar file that takes an audio
clip as an argument and plays the audio clip continuously in a loop.
In the java code, continuously different instances of the audio clip
passed as an arg
12 matches
Mail list logo