[Alsa-user] Speaker assignment problem

2010-10-26 Thread Selim Hendrickson
Hello, I have managed to get my Zotac IONITX NVidia ION board to produce sound over HDMI finally. When I run speaker-test -Dhdmi:NVidia -c8 twav I see that my amp correctly identifies the sound as 7.1. The problem is the speaker channel assignments are wrong. Main problem seems to be the right s

Re: [Alsa-user] Basic S/PDIF Recording

2010-10-26 Thread Paul Braman
Clemens Ladish wrote: > > Almost all sound cards decode the S/PDIF stream; what you get are > plain samples (or compressed data pretending to be samples in case > of AC-3 or DTS).  The information in the other bits is usually > available with the control "IEC958 Capture Default". Hrmmm ... well, t

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Sergei Steshenko
On Tue, 26 Oct 2010 12:26:28 +0100 Wojciech Bober wrote: [snip] > Correct me if I'm wrong, but from the output of aplay it looks like it > isn't compatible. See below. [snip] You appear to be correct. Then I would try the following try to use 'SoX' (sox.sf.net) - it has built-in format conversi

[Alsa-user] Fwd: Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Wojciech Bober
-- Wojtek -- Forwarded message -- From: Wojciech Bober Date: 2010/10/26 Subject: Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works To: Sergei Steshenko 2010/10/26 Sergei Steshenko : > aplay -v -d plughw:0,0 > > works, then the WAV file number of bits is co

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Sergei Steshenko
On Tue, 26 Oct 2010 12:04:25 +0100 Wojciech Bober wrote: > 2010/10/26 Sergei Steshenko : > > IIRC ("I got to the stage where I'm able to play a wav file using aplay"), > > you did manage to play WAV file(s) using 'aplay', so if 'aplay' works, ALSA > > is > > clean/kosher, and the issue(s) are w

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Wojciech Bober
2010/10/26 Sergei Steshenko : > IIRC ("I got to the stage where I'm able to play a wav file using aplay"), > you did manage to play WAV file(s) using 'aplay', so if 'aplay' works, ALSA is > clean/kosher, and the issue(s) are with other applications, with their ALSA > interface. > > According to my

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Sergei Steshenko
On Tue, 26 Oct 2010 11:17:31 +0100 Wojciech Bober wrote: > Hi Sergei, > [snip] > > I'm quite convinced that it is ALSA configuration issue. Is there a > way to debug the driver, so I can see why the output freezes? > > -- > Wojtek > > IIRC ("I got to the stage where I'm able to play a wav f

Re: [Alsa-user] ALSA -18 infinite loop

2010-10-26 Thread Amit Nagal
Hi , Before doing any modification , i tried as suggested : 1) i tried these 3 patches : a) ALSA: usb - Release capture substream URBs properly . b) ALSA: usb-audio - Avoid Oops after disconnect . c) ALSA: usb - Fix Oops after usb-midi disconnection . end result : problem remains same . 2)

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Wojciech Bober
Hi Sergei, Thanks for your reply. I already did this kind of verification. I used the WAV output of mpg123 to create a WAV file. It works fine. I can play that file using aplay. I also have another WAV file created with Audacity and this one works fine too. I also tried cmus and alsaplayer to pl

Re: [Alsa-user] Can't play mp3 with mpg123, but wav with aplay works

2010-10-26 Thread Sergei Steshenko
On Tue, 26 Oct 2010 00:00:07 +0100 Wojciech Bober wrote: > Hi all, > > I'm trying to build mp3 jukebox out of Efika, which is an embedded > MPC5200 based board. I got to the stage where I'm able to play a wav > file using aplay. But when I try to play an mp3 using mpg123 it > freezes after decod

Re: [Alsa-user] Basic S/PDIF Recording

2010-10-26 Thread Clemens Ladisch
Paul Braman wrote: > Data is broken up on an S/PDIF stream into 64-bit frames grouped into > 192-frame blocks (1536-byte blocks). Assuming I can properly decode > all of the status bits in each frame, blah blah blah, I can end up > with either a PCM stream or, let's say, a compressed-audio stream >

Re: [Alsa-user] ALSA -18 infinite loop

2010-10-26 Thread Clemens Ladisch
Amit Nagal wrote: > We are able to do usb audio disconnect with some change in > retire_capture_urb() function . > but we are not sure whether our way to handle this is right or not . Is there a reason why you didn't try the patch that I pointed out to you? Regards, Clemens

Re: [Alsa-user] ALSA -18 infinite loop

2010-10-26 Thread Amit Nagal
Hi , We are able to do usb audio disconnect with some change in retire_capture_urb() function . but we are not sure whether our way to handle this is right or not . kindly review as i find the error code in retire_capture_urb and snd_complete() almost same till 2.6.36 kernel . we checked for err