Displaying 1 result from an estimated 1 matches for "max_wavedrv".
Did you mean:
max_waveindrv
2010 Nov 14
0
freebsd oss sound dsp scheme
...nDev[0].ossdev.dev_name = StrDup("/dev/dsp",NULL);
+ WOutDev[0].ossdev.dev_name = WInDev[0].ossdev.dev_name = StrDup("/dev/dsp0.0",NULL);
WOutDev[0].ossdev.mixer_name = WInDev[0].ossdev.mixer_name = StrDup("/dev/mixer",NULL);
for (i = 1; i < MAX_WAVEDRV; ++i)
{
WOutDev[i].ossdev.dev_name = WInDev[i].ossdev.dev_name = HeapAlloc(GetProcessHeap(),0,11);
- sprintf(WOutDev[i].ossdev.dev_name, "/dev/dsp%u", i);
+ sprintf(WOutDev[i].ossdev.dev_name, "/dev/dsp0.%u", i);
WOutDev[i...