Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091667

allow release of sound device when MediaPlayer is not active

XMLWordPrintable

      For Linux systems that can't handle multiple audio streams (e.g. Debian Wheezy 7.7 with stock ALSA install using an external sound card configured in .asoundrc) it is not possible to instantiate more than one MediaPlayer as they hold on to the audio device throughout their life cycle.

      It would be nice if the MediaPlayer only claimed the audio device when it actually attempted to play the file, or it it could be told programmatically to release/claim the device.

      Apparently dmix can be configured for such cards, but it is difficult and dependent on end-users.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: