openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] Re: Alsa mix in HW


From: Raymond
Subject: [Openvortex-dev] Re: Alsa mix in HW
Date: Wed, 17 Aug 2005 20:42:55 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.7.8) Gecko/20050603 Fedora/1.7.8-1.1.1.legacy


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]