From: Olivier Langlois <olivier@trillion01.com>
To: alsa-devel@alsa-project.org
Subject: Re: Only stereo output possible with ATI Tahiti XT HDMI Audio [Radeon HD 7970 Series] [1002:aaa0]
Date: Thu, 16 May 2013 09:30:21 -0400 [thread overview]
Message-ID: <1368711021.1131.36.camel@Wailaba2> (raw)
In-Reply-To: <1368625619.1131.11.camel@Wailaba2>
On Wed, 2013-05-15 at 09:46 -0400, Olivier Langlois wrote:
>
> In the meantime, I have tried to setup an alternative with my given
> wcaps:
>
> lano1106@whippet2 ~ :( $ cat /etc/asound.conf
> pcm.mypcm {
> type plug
> slave {
> pcm "hdmi:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2}"
> }
> }
>
> pcm.a52encode {
> type a52
> slavepcm mypcm
> }
>
> pcm.!default pcm.a52encode
>
> lano1106@whippet2 ~ $ speaker-test -c6
>
> speaker-test 1.0.27
>
> Playback device is default
> Stream parameters are 48000Hz, S16_LE, 6 channels
> Using 16 octaves of pink noise
> Access type not available for playback: Invalid argument
> Setting of hwparams failed: Invalid argument
>
> Apparently, SND_PCM_ACCESS_RW_INTERLEAVED is not supported with my
> setup.
>
I am grateful that noone has replied as it has allowed me to dig alsa
and appreciate further its design.
For completeness and help the next user stumbling on the same problem, I
am autoreplying to myself
Trivia quiz: What kind of access mode does the a52 plugin accept?
A: It depends...INTERLEAVED if libavcodec is old or NONINTERLEAVED if
you have a recent ffmpeg setup, in anycase, a plug shield you from
surprises....:
pcm.a52encode {
type a52
card 0
}
pcm.a52accessadapter {
type plug
slave {
pcm a52encode
}
}
pcm.!default pcm.a52accessadapter
Concerning ATI Tahiti 7.1 HDMI output. Looking into patch_hdmi.c and by
seeing the special secret magic handshake to enable 7.1 output for a nvidia
device made me thinking about a slight hope to do something similar for
my card. I'll report back if I find the ATI magic incantation to reach
7.1 nirvana.
prev parent reply other threads:[~2013-05-16 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 3:15 Only stereo output possible with ATI Tahiti XT HDMI Audio [Radeon HD 7970 Series] [1002:aaa0] Olivier Langlois
2013-05-15 13:46 ` Olivier Langlois
2013-05-16 13:30 ` Olivier Langlois [this message]
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=1368711021.1131.36.camel@Wailaba2 \
--to=olivier@trillion01.com \
--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