[Alsa-devel] hw_params and approximate values

2003-08-22 Thread Arve Knudsen
, 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 / Novell virtual

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 a direction

[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

[Alsa-devel] Priming buffer

2003-09-10 Thread Arve Knudsen
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] https://lists.sourceforge.net

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, obviously there's something

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 and do

[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 Knudsen

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, so I

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 exit message

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

2003-12-04 Thread Arve Knudsen
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 Here: http

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

2003-12-04 Thread Arve Knudsen
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 better. Too bad, I would

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

2003-12-05 Thread Arve Knudsen
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 I've been able to determine

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

2003-12-05 Thread Arve Knudsen
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 accessible via PCM interface Ok

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

2003-12-07 Thread Arve Knudsen
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 Arve Knudsen

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 other process

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

2003-12-07 Thread Arve Knudsen
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 be refined in a future design of ALSA? Regards Arve Knudsen

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 channels,=20 buffer size etc.) of ALSA

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 database accessed via

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 think in the same way, but there's

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 info about

[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 user-defined

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

2003-12-08 Thread Arve Knudsen
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 code? SHARE THE LOVE, and help us help YOU! Click Here

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

2003-12-10 Thread Arve Knudsen
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 playback and capture

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

2003-12-14 Thread Arve Knudsen
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? SHARE THE LOVE, and help us

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 device? I assume

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

2004-01-04 Thread Arve Knudsen
/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 skills. Sign up for IBM's Free Linux Tutorials. Learn

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 ... remember one advantage

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

2004-01-05 Thread Arve Knudsen
), 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 an expert in LINUX or just

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

2004-01-05 Thread Arve Knudsen
; outputParameters.hostApiSpecificStreamInfo = alsaStreamInfo; It's device string will then be used when opening the output device. Hope this helps Arve Knudsen --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign

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

2004-01-05 Thread Arve Knudsen
; outputParameters.hostApiSpecificStreamInfo = alsaStreamInfo; It's device string will then be used when opening the output device. Hope this helps Arve Knudsen --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign

[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 card supports

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 [EMAIL

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

2004-01-14 Thread Arve Knudsen
? 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! http

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 bug. I got

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, Arve Knudsen wrote

[Alsa-devel] Problem with __OLD_GET

2004-01-15 Thread Arve Knudsen
. 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! http

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

2004-01-16 Thread Arve Knudsen
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 shared obkect, too. But for some strange

Re: [Alsa-devel] Problem with __OLD_GET

2004-01-16 Thread Arve Knudsen
a 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 some time back

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/lowlevel/src$ g

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 find out if ALSA

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

2004-03-04 Thread Arve Knudsen
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 Free Linux tutorial presented

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

2004-03-05 Thread Arve Knudsen
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_buffer_time returning -EINVAL

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 2004 18:15:56