[Bug 7597] No sound with OSS driver in C&C3

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 2 02:48:58 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=7597

--- Comment #10 from Raymond <superquad.vortex2 at gmail.com> 2010-09-02 02:48:55 CDT ---
err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.
(In reply to comment #1)
> Created an attachment (id=5183)
 --> (http://bugs.winehq.org/attachment.cgi?id=5183) [details]
> Console output

err:dscapture:widDsCreate DirectSoundCapture flag not set
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.

you have to enable it manually since it is disabled by default in wineoss.drv



    if (ioctl(ossdev->fd, SNDCTL_DSP_GETCAPS, &arg) == 0) {
        if (arg & DSP_CAP_TRIGGER)
            ossdev->bTriggerSupport = TRUE;
        if ((arg & DSP_CAP_TRIGGER) && (arg & DSP_CAP_MMAP) &&
            !(arg & DSP_CAP_BATCH)) {
        /* FIXME: enable the next statement if you want to work on the driver
*/
#if 0
            ossdev->in_caps_support |= WAVECAPS_DIRECTSOUND;
#endif
    }

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list