[oss-devel] OSS API
Alex Ivasyuv
siegerstein at pochta.ru
Thu Nov 1 15:10:52 EET 2007
Hi! I have some question about new OSS API.
In old API version it was possible to use SOUND_MIXER_*, but now in new API is
obsolete.
How to get for example all devices from my mixer, name of device by id and the
contrary?
// example
ioctl(mixer_fd, MIXER_READ(i), &level);
// list of all dev
for (int i = 0; i < SOUND_MIXER_NRDEVICES; i++) {
ALL_MIX_DEV[sound_device_names[i]] = i;
}
In http://manuals.opensound.com/developer/ and soundcard.h I don't find.
I found some in ossmix.c:
printf ("\t%s <both/leftvol>[:<rightvol>]", extrec[i].extname);
but I not found extname method in API describe.
http://manuals.opensound.com/developer/SNDCTL_MIX_EXTINFO.html
Can you help me?
Bests,
---
Alex Ivasyuv aka SIEGERSTEIN
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.opensound.com/pipermail/oss-devel/attachments/20071101/58263020/attachment.bin
More information about the oss-devel
mailing list