All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work
Date: Wed, 28 Sep 2005 13:21:06 +0200	[thread overview]
Message-ID: <dd876eecf841312bc0d8edccba089944@bugtrack.alsa-project.org> (raw)


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1251> 
======================================================================
Reported By:                Robert_Schulze
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1251
Category:                   aplay/arecord
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-11-2005 14:39 CEST
Last Modified:              09-28-2005 13:21 CEST
======================================================================
Summary:                    emagic a62m: maybe bug: arecord doesn't record
anything, jack+jackrec work
Description: 
When I want to record something from my emi a62m audiointerface, arecord
doesn't work:

"arecord -D emi -f cd > test.wav"
when issuing "aplay -vvv test.wav", the histogram shows up a permanent
peak of 36% during the whole file, no sound hearable.

Starting "jackd -d alsa -D emi" and issuing "jackrec -f test.wav -d 5
alsa_pcm:capture_1 alsa_pcm:capture_2" does record a valid file.

.asoundrc:

pcm.emi 
 {
 type hw
 card 1 
 }

ctl.emi
 {
 type hw
 card 1
 }

Card 0 is a solo1.
======================================================================

----------------------------------------------------------------------
 Robert_Schulze - 07-19-05 17:32 
----------------------------------------------------------------------
xxd -g1 test_2_24_98.wav:

0000000: 52 49 46 46 a0 3b 48 00 57 41 56 45 66 6d 74 20  RIFF.;H.WAVEfmt
0000010: 10 00 00 00 01 00 02 00 00 77 01 00 00 ca 08 00 
.........w......
0000020: 06 00 18 00 64 61 74 61 7c 3b 48 00 5f 5f 5f 5f 
....data|;H.____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_16_48.wav:

0000000: 52 49 46 46 1c 7f 10 00 57 41 56 45 66 6d 74 20  RIFF....WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 ca 08 00 
................
0000020: 0c 00 10 00 64 61 74 61 f8 7e 10 00 5f 5f 5f 5f 
....data.~..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

xxd -g1 test_6_24_48.wav:
0000000: 52 49 46 46 20 38 80 00 57 41 56 45 66 6d 74 20  RIFF 8..WAVEfmt
0000010: 10 00 00 00 01 00 06 00 80 bb 00 00 00 2f 0d 00 
............./..
0000020: 12 00 18 00 64 61 74 61 fc 37 80 00 5f 5f 5f 5f 
....data.7..____
0000030: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000040: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000050: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000060: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000070: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000080: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________
0000090: 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 
________________

The other two don't also work:

xxd -g1 test_2_16_48.wav:

0000000: 52 49 46 46 24 00 13 00 57 41 56 45 66 6d 74 20  RIFF$...WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 ee 02 00 
................
0000020: 04 00 10 00 64 61 74 61 00 00 13 00 2f 2f 2f 2f 
....data....////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////

xxd -g1 test_2_24_48.wav:

0000000: 52 49 46 46 ac 7e 17 00 57 41 56 45 66 6d 74 20  RIFF.~..WAVEfmt
0000010: 10 00 00 00 01 00 02 00 80 bb 00 00 00 65 04 00 
.............e..
0000020: 06 00 18 00 64 61 74 61 88 7e 17 00 2f 2f 2f 2f 
....data.~..////
0000030: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000040: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000050: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000060: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000070: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000080: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////
0000090: 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 
////////////////


I noticed one more thing:

If I call:
> arecord -D emi -f cd | tee test.wav | aplay -D emi
the file "test.wav" contains valid recording data!

----------------------------------------------------------------------
 Robert_Schulze - 09-28-05 13:21 
----------------------------------------------------------------------
Could you already figure out, what's going wrong?
It seems to be a reasonable easy solution to open the device reading _and_
writing (capture + playback), while recording. Is it possible to simulate
that via a .asoundrc-file?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-11-05 14:39 Robert_Schulze New Issue                                    
07-11-05 16:20 Clemens LadischNote Added: 0005448                          
07-12-05 11:57 Robert_Schulze Note Added: 0005452                          
07-12-05 12:52 Clemens LadischNote Added: 0005453                          
07-12-05 17:29 Robert_Schulze Note Added: 0005456                          
07-14-05 11:02 Clemens LadischNote Added: 0005469                          
07-14-05 11:06 Robert_Schulze Note Added: 0005470                          
07-14-05 17:06 Robert_Schulze Note Added: 0005476                          
07-14-05 18:04 Clemens LadischNote Added: 0005478                          
07-19-05 17:32 Robert_Schulze Note Added: 0005529                          
09-28-05 13:21 Robert_Schulze Note Added: 0006410                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

             reply	other threads:[~2005-09-28 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28 11:21 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-19 15:32 [ALSA - utils 0001251]: emagic a62m: maybe bug: arecord doesn't record anything, jack+jackrec work bugtrack
2005-07-14 16:04 bugtrack
2005-07-14 15:06 bugtrack
2005-07-14  9:06 bugtrack
2005-07-14  9:02 bugtrack
2005-07-12 15:29 bugtrack
2005-07-12 10:52 bugtrack
2005-07-12  9:57 bugtrack
2005-07-11 14:20 bugtrack
2005-07-11 12:40 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=dd876eecf841312bc0d8edccba089944@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.