[alsa-devel] ALSA Fireworks driver

Clemens Ladisch clemens at ladisch.de
Tue Jun 21 13:38:14 CEST 2011

Doug McLain wrote:
> It looks like 44.1Khz is the default setting the AF12 powers up at, and
> the alsa driver doesn't know how to change SR yet, is this the case?

Actually, the driver knows quite well how to change SR, and does this to
initialize the device to 44.1 kHz.  However, this driver was intended as
a prototype, so I didn't bother to implement making the other SRs
available to ALSA applications.

> FYI I tried #define FIXED_RATE 48000 just to see if I could use the
> driver at 48K for soem recording sessions today.

This should work if you also change FIXED_RATE_SFC (0...6 = 32/44.1/48/
88.2/96/176.4/192 kHz).

> Aplay plays wav files using plughw, but not hw.

This is to be expected if your .wav doesn't have twelve channels of
32-bit samples.

> I also wonder if you can explain to me how to clone just that driver so
> I can keep up with it correctly using git pull.  I'm a little weak on
> git.  I just grabbed the .c and .h files manually and made my own
> Makefile for standalone module building.

The driver is in a kernel repository because it is part of the kernel;
using it with other kernel versions would require back-porting any
changes in the kernel API (as you did this with the CSR_ symbols).

Current development is in the firewire-kernel-streaming branch, where
the drivers are composed of more files and depend on some changes in
the core kernel.  There is no easy way of using these with another


More information about the Alsa-devel mailing list