mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 02:05:19 +00:00
Yet Another Sound Patch (YASP :-). This should fix the problems with
the cs4231, soundblaster, and pas-16 that people have been reporting. Submitted by: james
This commit is contained in:
parent
a06a8a9829
commit
c734076e9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10564
@ -474,11 +474,7 @@ static struct audio_operations ad1848_pcm_operations[MAX_AUDIO_DEV] =
|
|||||||
{
|
{
|
||||||
{
|
{
|
||||||
"Generic AD1848 codec",
|
"Generic AD1848 codec",
|
||||||
#if defined(__FreeBSD__)
|
|
||||||
NEEDS_RESTART,/* disable automode for now until we get this working right */
|
|
||||||
#else
|
|
||||||
DMA_AUTOMODE,
|
DMA_AUTOMODE,
|
||||||
#endif
|
|
||||||
AFMT_U8, /* Will be set later */
|
AFMT_U8, /* Will be set later */
|
||||||
NULL,
|
NULL,
|
||||||
ad1848_open,
|
ad1848_open,
|
||||||
|
@ -373,11 +373,7 @@ pas_pcm_prepare_for_output (int dev, int bsize, int bcount)
|
|||||||
static struct audio_operations pas_pcm_operations =
|
static struct audio_operations pas_pcm_operations =
|
||||||
{
|
{
|
||||||
"Pro Audio Spectrum",
|
"Pro Audio Spectrum",
|
||||||
#if defined(__FreeBSD__)
|
|
||||||
0, /* disable automode for now until we get this working right */
|
|
||||||
#else
|
|
||||||
DMA_AUTOMODE,
|
DMA_AUTOMODE,
|
||||||
#endif
|
|
||||||
AFMT_U8 | AFMT_S16_LE,
|
AFMT_U8 | AFMT_S16_LE,
|
||||||
NULL,
|
NULL,
|
||||||
pas_pcm_open,
|
pas_pcm_open,
|
||||||
|
@ -84,11 +84,7 @@ static void dsp_cleanup (void);
|
|||||||
static struct audio_operations sb16_dsp_operations =
|
static struct audio_operations sb16_dsp_operations =
|
||||||
{
|
{
|
||||||
"SoundBlaster 16",
|
"SoundBlaster 16",
|
||||||
#if defined(__FreeBSD__)
|
|
||||||
0, /* disable automode for now until we get this working right */
|
|
||||||
#else
|
|
||||||
DMA_AUTOMODE,
|
DMA_AUTOMODE,
|
||||||
#endif
|
|
||||||
AFMT_U8 | AFMT_S16_LE,
|
AFMT_U8 | AFMT_S16_LE,
|
||||||
NULL,
|
NULL,
|
||||||
sb16_dsp_open,
|
sb16_dsp_open,
|
||||||
|
Loading…
Reference in New Issue
Block a user