Bug 49876
Summary: | sndconfig and sox return errors and do no function | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Daniel Powell <djpowell> |
Component: | kernel | Assignee: | Doug Ledford <dledford> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | dledford, john_hull, mark_rusk, notting, rogelio_noriega |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-08-23 21:25:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Powell
2001-07-24 18:59:57 UTC
This defect is considered SHOULD-FIX for Fairfax. Looking at this, this seems more like a kernel problem. The code in question in sox does: tmp = dsp_stereo; if (ioctl(fileno(ft->fp), SNDCTL_DSP_STEREO, &tmp) < 0) { st_warn("Couldn't set to %s", dsp_stereo? "stereo":"mono"); dsp_stereo = 0; } if (tmp != dsp_stereo) { st_warn("Sound card appears to only support %d channels. Overriding fo$ ft->info.channels = tmp + 1; } So, it's getting -22 (EINVAL) returned *in tmp*, which doesn't seem right. I thought the OSS semantics was that tmp would contain the number of channels actually used. *** Bug 51743 has been marked as a duplicate of this bug. *** Doug: would this be fixed in your latest patch ? I think this is fixed in the latest ac patches. It's fixed in ac and also will be in my next patch (I'm currently syncing with Alan at the moment). |