snd_pcm_hardware_t of the sound cards will need to support

1) Hardware Mixing ( spatializing mono audio stream into 2, 4, 5.1, .. speakers

.channels_min  = 1
.formats =  SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U8

2) Doppler Effect ( Frequency shift by pitch )

.rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000 or SNDRV_PCM_RATE_8000_44100

3) Recording API ( full duplex )

4) Mono/Stero Hint ( Playing stereo background music )

.channels_max >= 2

Do anyone have a list of the sound cards ( alsa driver ) which support the above features ?


Dino Puller wrote:


Hi all,
here http://dino.e4a.it/openal-alsa you can find an implementation of OpenAL library that can mix sources in HW. It's based on C.J.Purnell openal-alsa-emu10k1 but in this one i've replaced all code relative to emu10k1 processor, with a more compatible one, so now it's should works with every sound card that supports multiple sub streams. It's not based on OpenAL official tree because it's play too much with conversions to a canonical format of samples witch slow down any trial to mix in hardware. Don't expect too much it's only a first release but it's seems to works.


bye,
   Dino Puller



_______________________________________________
Openvortex-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openvortex-dev

Reply via email to