wine does not like my config of ALSA - wants master control and PCM Playback Volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to run Adobe Audition 3.0 in WINE.  I realize this is not a WINE forum, but I am hoping that some expert ALSA users or developers may be able to help me decipher the WINE error message, so I can correctly configure ALSA to make WINE happy.

When I configure WINE (winecfg), in the "Audio" panel, the ALSA option only shows:  Wave In, Midi Out, and Midi In - no Wave Out.

If I select ALSA anyway and run Audition, I get the following error message:
$ wine .wine/drive_c/Program\ Files\ \(x86\)/Adobe/Adobe\ Audition\ 3.0/Audition.exe
fixme:font:WineEngAddFontResourceEx Ignoring flags 10
fixme:mountmgr:harddisk_ioctl unsupported ioctl 74080
fixme:mountmgr:harddisk_ioctl unsupported ioctl 4100c
fixme:gdiplus:GdipDrawString not implemented for given parameters
fixme:gdiplus:GdipDrawString not implemented for given parameters
fixme:gdiplus:GdipDrawString not implemented for given parameters
fixme:thread:SetThreadIdealProcessor (0x1cc): stub
fixme:thread:SetThreadIdealProcessor (0x1d4): stub
fixme:msrle32:MSRLE32_DriverProc ICM_CONFIGURE (-1)
fixme:msvidc32:CRAM_DriverProc compression not implemented
fixme:msvidc32:CRAM_DriverProc compression not implemented
fixme:msvidc32:CRAM_DriverProc compression not implemented
fixme:msvidc32:CRAM_DriverProc compression not implemented
fixme:iccvid:ICCVID_DriverProc compression not implemented
fixme:iccvid:ICCVID_DriverProc compression not implemented
fixme:iccvid:ICCVID_DriverProc compression not implemented
fixme:iccvid:ICCVID_DriverProc compression not implemented
err:module:import_dll Library WMVCore.DLL (which is needed by L"Z:\\home\\m27315\\.wine\\drive_c\\Program Files (x86)\\Adobe\\Adobe Audition 3.0\\en_US\\ImporterWindowsMedia.prm") not found
fixme:win:EnumDisplayDevicesW ((null),0,0x33d978,0x00000000), stub!
fixme:mixer:ALSA_MixerInit No master control found on Mia, disabling mixer
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1920x1080x32 @0! (XRandR)
Incidentally, winecfg shows the same error message, when I view the "Audio" tab:
$ winecfg
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on Mia, disabling mixer
Is there anything I can do in my .asoundrc file to present a palatable "master control" and "PCM Playback Volume element" to WINE?  (I have tried virtually every combination of options in winecfg to no avail.)  My .asoundrc file is included below.

I am using an Echo Audio Mia card (24-bit/96 kHz), media-libs/alsa-lib 1.0.24.1, media-plugins/alsa-plugins 1.0.24, media-sound/alsa-firmware 1.0.24.1, media-sound/alsa-headers 1.0.24, media-sound/alsa-tools 1.0.24.1, and media-sound/alsa-utils 1.0.24.2, on a current Gentoo AMD64 Linux workstation.

Many thanks!

Trevor

$ cat ~/.asoundrc
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.mia_out {
     type hw
     card 0
     device 0
     subdevice 0
     #rate 96000
     #format S32_LE
     #channels 2
}
pcm.mia_in {
     type hw
     card 0
     device 0
     subdevice 0
     #rate 96000
     #format S32_LE
     #channels 2
}
pcm.dmixer {
     type dmix
     ipc_key 1024
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          pcm mia_out
          period_time 0
          period_size 1024
          buffer_size 8192
          rate 96000
          format S32_LE
          channels 2
     }

     bindings {
          0 0
          1 1
     }
}
# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnooper {
     type dsnoop
     ipc_key 2048
     #slave.pcm mia_in
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          pcm mia_in
          period_time 0
          period_size 1024
          buffer_size 8192
          rate 96000
          format S32_LE
          channels 2
     }
     bindings {
          0 0
          1 1
     }
}

# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
     type asym
     playback.pcm "dmixer"
     capture.pcm "dsnooper"
}

###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).

pcm.!default {
     type plug
     slave.pcm "duplex"
}
########
# AOSS #
########
# OSS dsp0 device (OSS needs only output support, duplex will break some stuff)
pcm.dsp0 {
     type plug
     slave.pcm "dmixer"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "mia_out"
}
# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "mia_out"

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux