Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2020 21:32:26 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Ronald Klop <ronald-lists@klop.ws>, Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>, freebsd-java@freebsd.org
Subject:   Re: Allowing remote java app to access local sound system
Message-ID:  <ec56f249-5b89-565a-7adf-4b7b1a5aa03a@eyesbeyond.com>
In-Reply-To: <2139766963.7.1593608177098@localhost>
References:  <CAGBxaXm6%2BpSv3_F2kPsDqZe1ixY348=dg8TPstCA9F04yr3qXQ@mail.gmail.com> <2139766963.7.1593608177098@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-07-01 05:56, Ronald Klop wrote:

>
> Van: Aryeh Friedman <aryeh.friedman@gmail.com>
> Datum: woensdag, 1 juli 2020 14:43
> Aan: FreeBSD Mailing List <freebsd-questions@freebsd.org>,
> freebsd-java@freebsd.org
> Onderwerp: Allowing remote java app to access local sound system
>>
>> I have a (java) app that works fine on a remote host and displays
>> it's GUI
>> by setting the DISPLAY environment variable.   The app also requires a
>> working microphone (and other audio output devices). Is there any way to
>> make it use the microphone/audio output on my local machine?   Note I
>> suspect I would need to do this transparently to Java.  I am pretty sure
>> Java has no idea how to do this on its own.
>>
>> -- 
>> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>> _______________________________________________
>> freebsd-java@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-java
>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>>
>>
>>
>
> Maybe something like https://www.freshports.org/audio/nas might help.
>
> Regards,
> Ronald.


Java uses the ALSA sound system, so I'm not sure how NAS would help
unless you can configure ALSA to talk to it.  You could maybe look at
the alsa-sndio port and then configure it to connect to an sndiod
running locally on your machine.  I've never attempted this and I'll
note that alsa-sndio warns it only supports output not input, so that
likely won't help if you need the microphone to actually work.


-- Greg

*|/||/|*




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec56f249-5b89-565a-7adf-4b7b1a5aa03a>