|
Re: lug-bg: Sample rate
- Subject: Re: lug-bg: Sample rate
- From: viktor@email.domain.hidden (viktor)
- Date: Wed, 26 Mar 2003 17:33:00 +0100
zdravo!
Damian Minkov wrote:
<em class="quotelev1">> Kak moga da smenia na sound device-a sampling rate -a .
<em class="quotelev1">> na Slack 9.
moje da probvash SOUND_PCM_WRITE_RATE ioctl na /dev/dsp
SOUND_PCM_WRITE_RATE
Sets the sampling rate in samples per second. Remember that all
sound cards have a limit on the range; the driver will round the rate to
the nearest speed supported by the hardware, returning the actual
(rounded) rate in the argument. Typical lower limits are 4 kHz; upper
limits are 13, 15, 22, or 44 kHz.
./soundcard.h:#define SNDCTL_DSP_SPEED _SIOWR('P', 2, int)
./soundcard.h:#define SOUND_PCM_WRITE_RATE SNDCTL_DSP_SPEED
http://www.oreilly.de/catalog/multilinux/excerpt/ch14-05.htm kato primer
moje da ti e polezen.
ycnex! :)
viktor
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|