Summary: | ASTERISK-03324: [patch] add playbackonly mode for half-duplex OSS | ||
Reporter: | cmaj (cmaj) | Labels: | |
Date Opened: | 2005-01-21 12:30:09.000-0600 | Date Closed: | 2008-01-15 15:22:53.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) playback_only_on_oss.patch1 | |
Description: | I couldn't use ParkAndAnnounce with a mobo-integrated Yamaha sound chipset that only does half-duplex and requires an OSS driver. I never plan to use a microphone with this device, but chan_oss still wants to switch between read and write modes. Unfortunately, that switch fails on my sound card, causing the console to hangup. ****** ADDITIONAL INFORMATION ****** The attached patch adds a 'playbackonly' variable to the oss.conf, default is 'no' (current behaviour before patch.) Setting 'playbackonly' to 'yes' will force *only* half-duplex sound cards to stay in write mode and never switch to read mode. | ||
Comments: | By: cmaj (cmaj) 2005-01-21 12:37:54.000-0600 Disclaimer is on file. By: Mark Spencer (markster) 2005-01-21 15:24:47.000-0600 Added to CVS, thanks! By: Russell Bryant (russell) 2005-01-21 19:31:57.000-0600 not in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:22:53.000-0600 Repository: asterisk Revision: 4871 U trunk/channels/chan_oss.c U trunk/configs/oss.conf.sample ------------------------------------------------------------------------ r4871 | markster | 2008-01-15 15:22:52 -0600 (Tue, 15 Jan 2008) | 2 lines Add optional one way playback (bug ASTERISK-3324) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4871 |