Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:tools-software:linux-drivers:sound:hdl-axi-spidf [01 Aug 2012 14:09] – Approved Lars-Peter Clausenresources:tools-software:linux-drivers:sound:hdl-axi-spidf [19 Jan 2018 10:22] (current) – rename xcomm_zynq -> master Alexandru Ardelean
Line 9: Line 9:
 ==== Status ==== ==== Status ====
  
- Source   Mainlined?  +^ Source ^ Mainlined? ^ 
-| [[https://github.com/lclausen-adi/linux-2.6/blob/adv7511_zynq/sound/soc/xlnx/axi-spdif.c|git]] | [[git.linux.org>sound/soc/xlnx/axi-spdif.c|In progress]] |+| [[git.linux.org>sound/soc/adi/axi-spdif.c|git]] | [[git.linux.org>sound/soc/adi/axi-spdif.c|Yes]] | 
 ==== Files ==== ==== Files ====
  
 ^ Function ^ File ^ ^ Function ^ File ^
-| driver  | [[https://github.com/lclausen-adi/linux-2.6/blob/adv7511_zynq/sound/soc/xlnx/axi-spdif.c|sound/soc/xlnx/axi-spdif.c]] |+| driver  | [[git.linux.org>sound/soc/adi/axi-spdif.c|sound/soc/adi/axi-spdif.c]] |
  
  
Line 42: Line 43:
  
 ^ Name ^ Supported by driver ^ Description ^ ^ Name ^ Supported by driver ^ Description ^
-| SND_SOC_DAIFMT_I2S     | no  | I2S Justified mode |+| SND_SOC_DAIFMT_I2S     | no  | I2S mode |
 | SND_SOC_DAIFMT_RIGHT_J | no  | Right Justified mode | | SND_SOC_DAIFMT_RIGHT_J | no  | Right Justified mode |
 | SND_SOC_DAIFMT_LEFT_J  | no  | Left Justified mode  | | SND_SOC_DAIFMT_LEFT_J  | no  | Left Justified mode  |
Line 92: Line 93:
  
 ^  Source  ^  Mainlined?  ^ ^  Source  ^  Mainlined?  ^
-| [[https://github.com/lclausen-adi/linux-2.6/blob/adv7511_zynq/sound/soc/xlnx/adv7511_hdmi.c|In progress]] | [[git.linux.org>sound/soc/xlnx/adv7511_hdmi.c|In progress]] |+| [[linux.github>master?sound/soc/adi/adv7511_hdmi.c|In progress]] | [[git.linux.org>sound/soc/adi/adv7511_hdmi.c|In progress]] |
  
 ==== Files ==== ==== Files ====
  
 ^ Function ^ File ^ ^ Function ^ File ^
-| driver  | [[https://github.com/lclausen-adi/linux-2.6/blob/adv7511_zynq/sound/soc/xlnx/adv7511_hdmi.c|sound/soc/xlnx/adv7511_hdmi.c]] |+| driver  | [[linux.github>master?sound/soc/adi/adv7511_hdmi.c|sound/soc/adi/adv7511_hdmi.c]] |
  
 ===== Kernel configuration ===== ===== Kernel configuration =====
Line 165: Line 166:
 Make sure the sound card is properly instantiated. Make sure the sound card is properly instantiated.
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/> aplay -l root:/> aplay -l
Line 172: Line 173:
   Subdevice #0: subdevice #0   Subdevice #0: subdevice #0
 </xterm> </xterm>
-</box>+</WRAP>
  
-<box 100% green|shell prompt running on the target>+To test audio playback you can use the //speaker-test// utility, which allows to playback several different test patterns. For a extensive description on the //speaker-test// utility and the different options it supports please refer to the [[http://linux.die.net/man/1/speaker-test|speaker-test man page]]. 
 + 
 +<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
-root:/> speakertest -c 2+root:/> speaker-test -c 2
 speaker-test 1.0.24.2 speaker-test 1.0.24.2
  
Line 193: Line 196:
 .... ....
 </xterm> </xterm>
-</box>+</WRAP> 
 + 
 +To test audio record you can use the //arecord// utility. //arecord// will record the incoming audio signal and write it to a wav file. 
 + 
 +<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> 
 +<xterm> 
 +root:/> arecord -f S16 -r 48000 -c 2 > test.wav 
 +... 
 +</xterm> 
 +</WRAP> 
 + 
 +To playback a wav file you can use the //aplay// utility. You can also create a audio loop-back by sending the output of //arecord// to //aplay//. This will send the incoming audio stream back via the outgoing audio stream. 
 +<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap> 
 +<xterm> 
 +root:/> arecord -f S16 -r 48000 -c 2 | aplay 
 +... 
 +</xterm> 
 +</WRAP>
  
 +For more information on the the //aplay// and //arecord// utilities please refer to the [[http://linux.die.net/man/1/arecord|aplay and arecord man page]].
 ===== More information ===== ===== More information =====
  
resources/tools-software/linux-drivers/sound/hdl-axi-spidf.1343822945.txt.gz · Last modified: 01 Aug 2012 14:09 by Lars-Peter Clausen