[mythtv] PATCH: full duplex on Asus A7Nxx boards

Chris Derossi chrismyth at derossi.com
Wed Mar 19 00:39:58 EST 2003


I have an Asus A7N8X that uses the nForce audio. I'm running RH8.0 with
OSS sound; I did not install ALSA.

The driver reports, apparently incorrectly, that /dev/dsp does not
support full duplex. However, there is a problem with the driver
improperly making the /dev/dsp device unavailable for writing, which
breaks sound output.

The following one-line patch avoids this driver problem. With this
change to 0.8, everything worked great.

[Note: I don't have enough context with OSS to understand whether this
is a driver bug, an OSS API bug, an intentional choice, or a design
flaw, so I'm reluctant to change the driver. But I do know that this
change to MythTV avoids the problem.]

_chris


Index: NuppelVideoRecorder.cpp
===================================================================
RCS file: /var/lib/cvs/MC/libs/libmythtv/NuppelVideoRecorder.cpp,v
retrieving revision 1.88
diff -r1.88 NuppelVideoRecorder.cpp
1475c1475
<     trigger = ~PCM_ENABLE_INPUT;
---
>     trigger = 0;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20030319/cf4d1c96/attachment.htm


More information about the mythtv-dev mailing list