From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Single process freeze when opening capture device Date: Mon, 02 Jun 2003 13:09:20 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3ED60767.6060502@libero.it> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3ED60767.6060502@libero.it> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Abramo Bagnara Cc: Jaroslav Kysela , Alsa dev List List-Id: alsa-devel@alsa-project.org At Thu, 29 May 2003 15:13:11 +0200, Abramo Bagnara wrote: > > Jaroslav Kysela ha scritto: > > On Thu, 29 May 2003, Abramo Bagnara wrote: > > > > > >>What about a "dir" field in common section of pcm configuration? > >> > >> dir STR # PCM allowed directions "playback", "capture", "both" (default) > > > > > > I'd like to solve the problem with same names, but different > > configurations for streams. > > > > I have an idea like: > > > > pcm.name { > > ... global configuration ... > > playback { > > ... playback configuration ... > > } > > capture { > > ... capture configuration ... > > } > > } > > I'm far from convinced that to have same name for different things is a > good idea, and in this case I'd propose to have: > > pcmc.name { > } > > pcmp.name { > } > > then specifying different namespaces for different things. > > This also permits to leave current > pcm.name { > } > > unmodified (although with lower priority wrt pcmc and pcmp). i would accept both ideas. IIRC, the pcm is looked up through the definition in /usr/share/alsa/alsa.conf, so if we have pcmc and pcmp definitions, we'll need to rewrite (add) these look-up, too? Takashi ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5