Skip to contentSkip to conversation

alsa opl3 api

DISCUSSION Ryan Underwood 2 participants 2 messages Jul 4, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I'm curious, how the OPL3 userspace API in ALSA is operated. I see that in the "Writing an ALSA driver":
http://www.alsa-project.org/~iwai/writing-an-alsa-driver/c1207.htm

Is the only OPL3 API presented through OSS /dev/dmfm in userspace, or is there an alsa-lib interface that I am overlooking?

Thanks!

Signature · 8 lines
Ryan Underwood, <nemesis at icequake.net>, icq=10317253


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
#1 lore raw
Quoted 5 lines · Ryan Underwood

I'm curious, how the OPL3 userspace API in ALSA is operated. I see that in the "Writing an ALSA driver":
http://www.alsa-project.org/~iwai/writing-an-alsa-driver/c1207.htm
Is the only OPL3 API presented through OSS /dev/dmfm in userspace, or is there an alsa-lib interface that I am overlooking?

You can use the "hardware dependent" API (snd_hwdep_open, snd_hwdep_ioctl) to issue SNDRV_DM_FM_IOCTL_xxx ioctls to the device.

HTH
Clemens

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01