public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0000758]: Full duplex is not working in OSS emulation.
Date: Fri, 30 Dec 2005 23:08:30 +0100	[thread overview]
Message-ID: <0adc44420819067e445f46f53d80f6c4@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=758> 
======================================================================
Reported By:                croiset
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   758
Category:                   PCI - RME 96
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Redhat 7.2
Kernel Version:             2.4.7
======================================================================
Date Submitted:             12-29-2004 10:15 CET
Last Modified:              12-30-2005 23:08 CET
======================================================================
Summary:                    Full duplex is not working in OSS emulation.
Description: 
If I play something with one player, I am unable to record something on the
same device.
The same thing ispossible with the other cards I have.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000521 Jack + Alsa not working in full duplex,...
======================================================================

----------------------------------------------------------------------
 croiset - 01-03-05 16:30 
----------------------------------------------------------------------
I made some more tests and the error after an ioctl.

line_fd = open(_opt->device, O_RDONLY|O_NONBLOCK )
-> ok
fcntl(line_fd,F_SETFD,FD_CLOEXEC)
-> ok
ioctl(line_fd, SNDCTL_DSP_SETFRAGMENT, &frag)
-> ok
ioctl(line_fd, SNDCTL_DSP_SETFMT, &afmt)
-> return -1 errno = 16 (Device or resource busy)
ioctl(line_fd, SNDCTL_DSP_CHANNELS,    &channels)
-> return -1 errno = 16 (Device or resource busy)
ioctl(line_fd, SNDCTL_DSP_SPEED,       &rate)
-> return -1 errno = 16 (Device or resource busy)
read(line_fd, audio_data, size)
-> return -1 errno = 16 (Device or resource busy)

----------------------------------------------------------------------
 rlrevell - 12-30-05 23:08 
----------------------------------------------------------------------
This really seems like an application bug.

Any improvement in later ALSA release or with newer apps?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-29-04 10:15 croiset        New Issue                                    
12-29-04 10:15 croiset        Distribution              => Redhat 7.2      
12-29-04 10:15 croiset        Kernel Version            => 2.4.7           
12-29-04 14:17 tiwai          Note Added: 0002998                          
12-29-04 14:54 croiset        Note Added: 0003000                          
12-29-04 17:39 tiwai          Note Added: 0003004                          
12-29-04 17:56 croiset        Note Added: 0003005                          
12-29-04 17:59 croiset        Note Added: 0003006                          
12-29-04 18:05 croiset        Note Edited: 0003006                         
12-29-04 18:18 croiset        Note Edited: 0003006                         
01-03-05 16:30 croiset        Note Added: 0003067                          
09-14-05 16:16 jdthood        Relationship added       related to 0000521  
12-30-05 23:08 rlrevell       Note Added: 0007278                          
======================================================================




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

             reply	other threads:[~2005-12-30 22:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 22:08 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-10 14:25 [ALSA - driver 0000758]: Full duplex is not working in OSS emulation bugtrack
2006-05-10 14:22 bugtrack
2006-05-10 14:00 bugtrack
2006-05-10 13:48 bugtrack
2006-05-10 12:56 bugtrack
2006-05-09 13:49 bugtrack
2006-05-09 12:09 bugtrack
2006-01-02  8:12 bugtrack
2005-09-14 14:16 bugtrack
2005-01-03 15:30 bugtrack
2004-12-29 16:59 bugtrack
2004-12-29 16:56 bugtrack
2004-12-29 16:39 bugtrack
2004-12-29 13:54 bugtrack
2004-12-29 13:17 bugtrack
2004-12-29  9:15 bugtrack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0adc44420819067e445f46f53d80f6c4@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox