[Alsa-devel] Broken pipe error es1371

2002-07-10 Thread Amar
Hi.  I hope this is the right place to send this, considering the dearth of messages in the archive for 2002.   I have been getting the following error from my newly-ALSA-aware application:   ALSA lib pcm_hw.c:384:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe I am using alsa dr

[Alsa-devel] SBlive Bus mastering question

2002-07-10 Thread vikram
Hello ALSA mailing list, I have following questions about SBlive card. 1. Does the driver for Sound blaster live card (SBlive card) only allow playback through bus mastering? Can the data be moved by CPU as well? 2. If the driver does only bus mastering, then can anyone please tell me whether

Re: [Alsa-devel] [PATCH] plugin_ops.h fixes

2002-07-10 Thread Abramo Bagnara
Jaroslav Kysela wrote: > > On Tue, 9 Jul 2002, Abramo Bagnara wrote: > > > > > > > And the summing/normalization code in pcm_route.c treats the sample as > > > > > > if it were unsigned. > > > > > > > > Be careful here. Use of signed vs. unsigned was an hard decision. > > > > Can you point me ex

[Alsa-devel] [Fwd: ALSA programming example fix]

2002-07-10 Thread Patrick Shirkey
This has been sent to me as a fix for one of the doxygen docs. --- Begin Message --- Patrick -- Here is a fix for the test/rawmidi.c file that comes with the 0.9 RawMidi API docs. On line 18 the usage example erroneously suggests that the '-o' flag will work with a file descriptor. There's t

Re: [Alsa-devel] different nperiods for capture and playback when opening a device in duplex mode ?

2002-07-10 Thread Paul Davis
>is it possible with alsa to use different settings for capture and >playback, either periods or buffer size or both ? >if yes, i might try and add that to jack, but since this is my first >undertaking with alsa programming, i thought i'd ask first :) > >i got this idea from glame, which uses 2 an

Re: [Alsa-devel] another problems with signed arithmeticsnd_pcm_mmap_playback_avail

2002-07-10 Thread tomasz motylewski
> I have to use at the moment: > > static inline int snd_pcm_gethwpos(snd_pcm_t *pcm) { > snd_pcm_sframes_t ret = snd_pcm_avail_update(pcm); > ret += snd_pcm_commited; > if(ret<0) { > ret = ((unsigned long) > ret)%buffer_size; > } > return snd_pcm_a

[Alsa-devel] recording: where to write?

2002-07-10 Thread Guilhem Tardy
Hi, I wonder if I am right to write audio packets to substream->dma_addr ??? Should I define copy() and silence() functions as well (like for playback)? Thanks, Guilhem. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.

[Alsa-devel] different nperiods for capture and playback when opening a device induplex mode ?

2002-07-10 Thread Joern Nettingsmeier
hello alsa people ! i have a problem with jack on a sblive giving dropouts. i found this might be due to too few periods per buffergla. unfortunately, the sblive only seems to support two periods for capturing, and jack sets both play and capture to the same number of periods. is it possible wit

[Alsa-devel] audiowerk2

2002-07-10 Thread Martijn Sipkema
> > I have an AudiowerksII from Emagic. I was wondering what steps I could > > take to get this supported by Alsa. I have some programming experience > > but have never worked on device drivers before. I have contacted > Emagic. > > What Next? Have Emagic supplied you with the specifications? Y

[Alsa-devel] another problems with signed arithmetic snd_pcm_mmap_playback_avail

2002-07-10 Thread tomasz motylewski
> You cannot use unsigned values, because we need to sum samples (it means: > add positive and substract negative ones). If we are in positive range, we > can only add samples, so the final sum result is wrong. Since the bug database at sourceforge seems to be completely forgotten I am repostin

Re: [Alsa-devel] [PATCH] plugin_ops.h fixes

2002-07-10 Thread Jaroslav Kysela
On Tue, 9 Jul 2002, Abramo Bagnara wrote: > > > > > And the summing/normalization code in pcm_route.c treats the sample as > > > > > if it were unsigned. > > > > > > Be careful here. Use of signed vs. unsigned was an hard decision. > > > Can you point me exactly where you see a problem? > > > >