On Mon, Apr 01, 2019 at 07:49:15AM +0000, Alexander Pyhalov via 
openindiana-discuss wrote:

> I've looked through your patches, attached to
> https://www.illumos.org/issues/9732 and have one big question. We've
> switched from mod_solaris to mod_oss precisely for this reason -
> when mod_oss is used, pulseaudio presents user a list of devices to
> choose from and mate-volume-control provides GUI for this.

Did this actually work?  I have three systems with dual audio devices,
but I've never seen the GUI.  Pulseaudio just sent the audio to the
first device, /dev/sound/0, which happened to be the wrong one.

> When it
> is not used, it's unclear how user should select audio device. So
> I'm a bit surprised that you want to switch pulseaudio to
> mod_solaris (which, as I understand, your changes do). Please,
> explain your reasons for preferring this module.

I didn't do any switching, at least not intentionally.  I didn't know
that you had switched.  When was this?  The problem with mod_oss is
that it's only suitable for Linux.  I understand that Linux OSS was
based on Solaris OSS, but the two have since diverged and become
quite different.  The upshot is that Linux OSS is not compatible with
illumos OSS.

The way to select the audio device is to set AUDIODEV in your
environment.  For example, I have this in my .profile file:

    AUDIODEV=/dev/sound/1

The name is also exported in that file.  This technique also works for
the /bin/audio* commands.


-- 
-Gary Mills-            -refurb-                -Winnipeg, Manitoba, Canada-

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to