Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Arve Knudsen
James, I don't know if this is of any help, but you could always have a peek at the PortAudio (www.portaudio.com) code (pa_linux_alsa.c). We don't use snd_pcm_async_handler though, but implement async and blocking IO ourselves. Hope this helps Arve Knudsen On Thu, 06 May 200

Re: [Alsa-devel] Problem deducing buffer time with non-integer samplerate?

2004-03-05 Thread Arve Knudsen
e value which can be returned? Regards Arve Knudsen On Thu, 04 Mar 2004 14:30:08 +0100, Arve Knudsen <[EMAIL PROTECTED]> wrote: Hi A PortAudio user has been experiencing a problem with his SB128 (Ensoniq AudioPCI driver), which we tracked down to a call to snd_pcm_hw_params_get_bu

[Alsa-devel] Problem deducing buffer time with non-integer samplerate?

2004-03-04 Thread Arve Knudsen
;s also a "bug" in the documentation for snd_pcm_hw_params_set_buffer_size, which mentions "dir", although its not part of the function signature. Thanks Arve Knudsen --- This SF.Net email is sponsored by: IBM Linux Tutorials

Re: [Alsa-devel] Trying to make gkrellm work with ALSA.

2004-02-05 Thread Arve Knudsen
this helps Arve Knudsen On Wed, 04 Feb 2004 18:29:46 -0600, Nathan Morell <[EMAIL PROTECTED]> wrote: Hi guys, this is my first note to the list so I'm going to try and get some background information to start on this task. After talking with Bill, the author of gkrellm, I need to f

Re: [Alsa-devel] problem with versioned symbols and shared libraries

2004-01-17 Thread Arve Knudsen
Ah, thanks. That did the trick indeed. Arve Knudsen On Sat, 17 Jan 2004 12:18:07 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Fri, 16 Jan 2004, Rene Rebe wrote: Let's link a normal object and a shared obeject of the ALSAHelper: [EMAIL PROTECTED]:~/develop/trunk/lowl

Re: [Alsa-devel] Problem with __OLD_GET

2004-01-16 Thread Arve Knudsen
similar problem and who does not appear to be using libtool (correct me here if I'm mistaken). Regards Arve Knudsen On Fri, 16 Jan 2004 19:57:23 +0100, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Thu, 15 Jan 2004 15:23:06 +0100, Arve Knudsen wrote: Hi Like I explained in a post som

Re: [Alsa-devel] problem with versioned symbols and shared libraries

2004-01-16 Thread Arve Knudsen
d as to what was going on .. :) Regards Arve Knudsen On Fri, 16 Jan 2004 20:02:00 +0100 (CET), Rene Rebe <[EMAIL PROTECTED]> wrote: Hi all, we experience a fairly strange problem with the versioned symbols in the libasound.so. We have a C++ wrapper library which is normally linked as s

[Alsa-devel] Problem with __OLD_GET

2004-01-15 Thread Arve Knudsen
0.1, and drivers compiled into 2.6.1-mm2. Thanks Arve Knudsen --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic c

Re: [Alsa-devel] nForce2 (intel8x0) playback doesn't accept 44khz

2004-01-14 Thread Arve Knudsen
= 8003 0:7a = 57c3 0:7c = 414c 0:7e = 4720 On Wed, 14 Jan 2004 15:02:44 +0100, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Wed, 14 Jan 2004 14:57:03 +0100, Arve Knudsen wrote: On Wed, 14 Jan 2004 14:43:03 +0100, Takashi Iwai <[EMAIL PROTECTED]> wrote: > At Wed, 14 Jan 2004 13:27:25 +0100,

Re: [Alsa-devel] nForce2 (intel8x0) playback doesn't accept 44khz

2004-01-14 Thread Arve Knudsen
On Wed, 14 Jan 2004 14:43:03 +0100, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Wed, 14 Jan 2004 13:27:25 +0100, Arve Knudsen wrote: I'm sorry i wasn't being more specific, but from browsing the archive (http://www.mail-archive.com/[EMAIL PROTECTED]/msg10257.html) no, it was a

Re: [Alsa-devel] nForce2 (intel8x0) playback doesn't accept 44khz

2004-01-14 Thread Arve Knudsen
. ALSA-lib is v1.0.1, while ALSA-driver is compiled into kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across programs it seems, specifically my own code and aplay (sets rate to 48000 if I open hw). Regards Arve Knudsen On Wed, 14 Jan 2004 13:09:05 +0100, Takashi Iwai <[EMAIL PROT

[Alsa-devel] nForce2 (intel8x0) playback doesn't accept 44khz

2004-01-14 Thread Arve Knudsen
work? Thanks Arve Knudsen --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval!

Re: [Alsa-devel] Re: weird thing: sound will skip sometimes with OSS in xmms but not if I use esound

2004-01-08 Thread Arve Knudsen
It could have to do with how the particular output plugin is written, or the (in my opinion) somewhat retarded plugin model of xmms with sleeps between writes to output. Regards Arve Knudsen On Thu, 08 Jan 2004 15:47:13 +0100, Måns Rullgård <[EMAIL PROTECTED]> wrote: Kristof vansant &

[Alsa-devel] Re: [Alsa-devel][OT] Which API to use for simple clients?

2004-01-05 Thread Arve Knudsen
On Mon, 05 Jan 2004 15:55:46 +, <[EMAIL PROTECTED]> wrote: Arve Knudsen <[EMAIL PROTECTED]> writes: My ALSA card is quite capable of doing 44100 Can you verify that the ALSA API is in use, after configuring out OSS and JACK? I cannot see why this test should fail, granted your ca

Re: [Alsa-devel] Which API to use for simple clients?

2004-01-05 Thread Arve Knudsen
quot;plughw:0,0"; outputParameters.device = paUseHostApiSpecificDeviceSpecification; outputParameters.hostApiSpecificStreamInfo = &alsaStreamInfo; It's device string will then be used when opening the output device. Hope this helps Arve Knudsen ---

Re: [Alsa-devel] Which API to use for simple clients?

2004-01-05 Thread Arve Knudsen
quot;plughw:0,0"; outputParameters.device = paUseHostApiSpecificDeviceSpecification; outputParameters.hostApiSpecificStreamInfo = &alsaStreamInfo; It's device string will then be used when opening the output device. Hope this helps Arve Knudsen ---

[Alsa-devel] ALSA-lib reports zero channels for devices

2004-01-05 Thread Arve Knudsen
mode could be nonblocking), followed by snd_pcm_hw_params_any and then snd_pcm_hw_params_get_channels_max. Has anyone experienced similar behaviour? Thanks in advance Arve Knudsen --- This SF.net email is sponsored by: IBM Linux Tutorials. Become a

Re: [Alsa-devel] Which API to use for simple clients?

2004-01-05 Thread Arve Knudsen
On Mon, 05 Jan 2004 09:26:21 +, Nick Ing-Simmons <[EMAIL PROTECTED]> wrote: Arve Knudsen <[EMAIL PROTECTED]> writes: patest_write_sine produces a noise but it isn't a sine wave (by ear there are some "sharp edges" in the waveform). That is the potential killer ..

Re: [Alsa-devel] Which API to use for simple clients?

2004-01-04 Thread Arve Knudsen
helps If nothing else it serves as example code for oss/alsa/jack setup. Will not rule it out. Appreciate the feedback Arve Knudsen --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your

Re: [Alsa-devel] Which API to use for simple clients?

2004-01-03 Thread Arve Knudsen
ld you wish to write cross-platform programs, PortAudio supports different platforms. I don't know the current state of all the implementations, but Windows MME and ASIO should be well functional and SGI IRIX seems to be coming along. Hope this helps Arve Knudsen On Fri, 02 Jan 2004 18:1

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-15 Thread Arve Knudsen
On Mon, 15 Dec 2003 09:59:16 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Sun, 14 Dec 2003, Arve Knudsen wrote: On Mon, 15 Dec 2003 01:17:26 +0900, Patrick Shirkey <[EMAIL PROTECTED]> wrote: > If we have a DB of info how would we define the abilities of each devic

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-14 Thread Arve Knudsen
y exclusive access if it is to be modified. Hope some of this makes sense Arve Knudsen --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHA

Re: [Alsa-devel] Understanding JACK's inner loop?

2003-12-10 Thread Arve Knudsen
ib I would think alsa_driver.c would be the place to look. Hope this helps Arve Knudsen On Wed, 10 Dec 2003 00:38:50 -0800, Ryan Cassidy <[EMAIL PROTECTED]> wrote: Hello all, I am trying to understand the specifics of the mechanism that JACK uses to perform audio duplexing (simultaneous play

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-08 Thread Arve Knudsen
On Mon, 8 Dec 2003 17:57:03 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Mon, 8 Dec 2003, Arve Knudsen wrote: Wether its done via the control or pcm interface, it'd be good to have a loose coupling between configuration and streams, so one could could access configur

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-08 Thread Arve Knudsen
in use. Shouldn't we at least aim for the same flexibility with ALSA? Regards Arve Knudsen --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better

[Alsa-devel] Re: [Alsa-devel][OT]Was: Query devices in a non-blocking fashion

2003-12-08 Thread Arve Knudsen
On Mon, 8 Dec 2003 12:39:25 +0100, Frank Barknecht <[EMAIL PROTECTED]> wrote: Hallo, Arve Knudsen hat gesagt: // Arve Knudsen wrote: On Mon, 8 Dec 2003 11:49:45 +0100, Frank Barknecht <[EMAIL PROTECTED]> wrote: >Which reminds me to ask: how does Portaudio currently cope with >

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-08 Thread Arve Knudsen
On Mon, 8 Dec 2003 11:49:45 +0100, Frank Barknecht <[EMAIL PROTECTED]> wrote: Hallo, Arve Knudsen hat gesagt: // Arve Knudsen wrote: I'm one of the developers responsible for the ALSA implementation of a cross platform audio wrapper called PortAudio (www.portaudio.com), which gathers

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
On Sun, 7 Dec 2003 21:44:16 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Sun, 7 Dec 2003, Arve Knudsen wrote: On Sun, 7 Dec 2003 21:00:13 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > On Sun, 7 Dec 2003, Arve Knudsen wrote: > >> > We all

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
On Sun, 7 Dec 2003 21:00:13 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Sun, 7 Dec 2003, Arve Knudsen wrote: > We all think in the same way, but there's no simple solution for this > problem. I prefer to have such configuration information in an user-space &g

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
On Sun, 7 Dec 2003 20:38:48 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Sun, 7 Dec 2003, Arve Knudsen wrote: On Sun, 07 Dec 2003 14:19:28 -0500, Paul Davis <[EMAIL PROTECTED]> wrote: >>>> I'd like to be able to query the capabilities (number of chann

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
self as clearly. I am aware of the Hammerfall problem, as its also somewhat painful in Windows. Logic Audio never quite coped with it, from what I remember. But there seems to be a separation between obtaining information about a card, and actually acquiring it. Perhaps this could

Re: [Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
On Sun, 7 Dec 2003 19:40:23 +0100 (CET), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Sun, 7 Dec 2003, Arve Knudsen wrote: I'd like to be able to query the capabilities (number of channels, buffer size etc.) of ALSA devices in the system, even if they should be in use by some ot

[Alsa-devel] Query devices in a non-blocking fashion

2003-12-07 Thread Arve Knudsen
is my current approach, but I'd like to query the devices without first acquiring exclusive access. If there is currently no way around acquiring a device for querying, maybe this requirement could be loosened in a future version of ALSA? Regards Ar

Re: [Alsa-devel] Can't set 88.2/96kHz samplerate with Hammerfall

2003-12-05 Thread Arve Knudsen
a 'Device or resource busy' message. This is with the number of channels set to 10, since the number of ADAT channels is halved. Is this a known defect of the Hammerfall driver? Thanks Arve Knudsen From the Hammerfall Light Alsa sound card page: Known bugs - 96kHz and 88.2kHz not accessibl

Re: [Alsa-devel] Can't set 88.2/96kHz samplerate with Hammerfall

2003-12-05 Thread Arve Knudsen
bad, I would like to see this card working as well as under Windows. Regards Arve Knudsen Me too. I own the same card in one of my systems. This is really the downside to Linux audio. Without dedicated developers that own the cards and continue working on improvements support stalls out. The best

Re: [Alsa-devel] Can't set 88.2/96kHz samplerate with Hammerfall

2003-12-04 Thread Arve Knudsen
to 10, since the number of ADAT channels is halved. Is this a known defect of the Hammerfall driver? Thanks Arve Knudsen From the Hammerfall Light Alsa sound card page: Known bugs - 96kHz and 88.2kHz not accessible via PCM interface Ok, thanks. I suppose I should've investigated a little bett

[Alsa-devel] Can't set 88.2/96kHz samplerate with Hammerfall

2003-12-04 Thread Arve Knudsen
ect of the Hammerfall driver? Thanks Arve Knudsen --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click

Re: [Alsa-devel] Broken pipe when starting pcm

2003-10-31 Thread Arve Knudsen
On Sat, 01 Nov 2003 01:10:27 +0100, Arve Knudsen <[EMAIL PROTECTED]> wrote: On Fri, 31 Oct 2003 18:27:16 +0100, Arve Knudsen <[EMAIL PROTECTED]> wrote: Hi Whenever I turn on xrun detection, setting stop_threshold to buffer size instead of -1, snd_pcm_start refuses to work. The

Re: [Alsa-devel] Broken pipe when starting pcm

2003-10-31 Thread Arve Knudsen
On Fri, 31 Oct 2003 18:27:16 +0100, Arve Knudsen <[EMAIL PROTECTED]> wrote: Hi Whenever I turn on xrun detection, setting stop_threshold to buffer size instead of -1, snd_pcm_start refuses to work. The exit message to do with broken pipe. I figured it might be caused by an empty buffer

[Alsa-devel] Broken pipe when starting pcm

2003-10-31 Thread Arve Knudsen
frames available), but it makes no difference. This happens with both my cards, nForce2 onboard and RME DIGI9636. If someone could point out the cause of this, I'd truly appreciate it. If it matters I am running a development kernel, 2.6.0 test9-mm1. Thanks Arve Kn

Re: [Alsa-devel] Priming buffer

2003-09-12 Thread Arve Knudsen
On Fri, 12 Sep 2003 16:51:26 +0200 (METDST), Clemens Ladisch <[EMAIL PROTECTED]> wrote: Arve Knudsen wrote: I did a little test where I set start threshold to buffer size, acquire memory using snd_pcm_mmap_begin (number of returned frames equals buffer size), fill the buffer an

Re: [Alsa-devel] Priming buffer

2003-09-11 Thread Arve Knudsen
On Thu, 11 Sep 2003 14:17:59 +0200 (METDST), Clemens Ladisch <[EMAIL PROTECTED]> wrote: Arve Knudsen wrote: What's the purpose of set_start_threshold? The stream will automatically start when the buffer has been filled up to the amount specified by start_threshold. Ok, obviou

[Alsa-devel] Priming buffer

2003-09-10 Thread Arve Knudsen
a bit brief regarding certain things. Thanks Arve Knudsen --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Alsa-devel mailing list [EMAIL PROTECTED]

[Alsa-devel] Safe to call snd_pcm_close after failed snd_pcm_open?

2003-09-09 Thread Arve Knudsen
Hi Is it safe to call snd_pcm_close for a pcm which failed to open (assuming the pcm handle is !NULL)? Not that important, but it might simplify my code somewhat. Regards Arve Knudsen --- This sf.net email is sponsored by:ThinkGeek Welcome

Re: [Alsa-devel] hw_params and approximate values

2003-08-27 Thread Arve Knudsen
On Fri, 22 Aug 2003 15:11:08 +0200 (CEST), Jaroslav Kysela <[EMAIL PROTECTED]> wrote: On Thu, 21 Aug 2003, Arve Knudsen wrote: Hi I'm not sure if I quite understand the alsa-lib docs regarding the snd_pcm_hw_params API; in addition to an approximate integer value, one might specify

[Alsa-devel] hw_params and approximate values

2003-08-22 Thread Arve Knudsen
the case, couldn't this be handled with floats directly? Regards Arve Knudsen --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows /

Re: [Alsa-devel] RME 9636 not recognized with 2.6 kernel?

2003-07-16 Thread Arve Knudsen
that I was not able to insert the standalone alsa modules. I decided to change the drivers in the kernel tree to be compiled as modules instead of static, and modprobing the snd-rme9652 now works. I would prefer static linking of this driver though. Regards Arve Knudsen

[Alsa-devel] RME 9636 not recognized with 2.6 kernel?

2003-07-16 Thread Arve Knudsen
I just installed the 2.6.0 beta kernel to play around a bit, but it seems my RME 9636 (Hammerfall Lite) isnt recognized. When I do aplay -l, my nForce2 integrated chip shows up however. I cannot modprobe Alsa kernel modules either (v0.95). Is this a known problem? Regards Arve Knudsen