Re: IEC958 Playback Source = AC-Link or A/D Converter ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I made another tests with aplay and two files 
http://www.diatonis.com/downloads/diatonis_ac3_48k_soal.ziphttp://www.sr.se/laddahem/MultiKanal/DD/SURROUNDTEST_DD_640.zip

with diatonis_ac3_48k_soal.zip I have DD sound on my HTPC Samsung 
arvdr:/home/arvdr# aplay -f dat -D iec958:CARD=V8237,DEV=0 ./diatonis.ac3 -vPlaying raw data './diatonis.ac3' : Signed 16 bit Little Endian, Rate 48000 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 48000  exact rate   : 48000 (48000/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 85333  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 48000  exact rate   : 48000 (48000/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 85333  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0


arvdr:/home/arvdr# aplay -f cd -D iec958:CARD=V8237,DEV=0 ./diatonis.ac3 -vPlaying raw data './diatonis.ac3' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0

but with -f cdr options I couldn't play this file
arvdr:/home/arvdr# aplay -f cdr -D iec958:CARD=V8237,DEV=0 ./diatonis.ac3 -vPlaying raw data './diatonis.ac3' : Signed 16 bit Big Endian, Rate 44100 Hz, Stereoaplay: set_params:979: Sample format non available
BUT with another file http://www.sr.se/laddahem/MultiKanal/DD/SURROUNDTEST_DD_640.zip
I don't have any sound at all
arvdr:/home/arvdr# aplay -D iec958:CARD=V8237,DEV=0 ./dd.wav -vPlaying WAVE './dd.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0


arvdr:/home/arvdr# aplay -f cd -D iec958:CARD=V8237,DEV=0 ./dd.wav -vPlaying WAVE './dd.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0

arvdr:/home/arvdr# aplay -f cdr -D iec958:CARD=V8237,DEV=0 ./dd.wav -vWarning: format is changed to S16_LEPlaying WAVE './dd.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0

arvdr:/home/arvdr# aplay -f dat -D iec958:CARD=V8237,DEV=0 ./dd.wav -vPlaying WAVE './dd.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, StereoHooks PCMIts setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824Slave: Hardware PCM card 0 'VIA 8237' device 0 subdevice 3Its setup is:  stream       : PLAYBACK  access       : RW_INTERLEAVED  format       : S16_LE  subformat    : STD  channels     : 2  rate         : 44100  exact rate   : 44100 (44100/1)  msbits       : 16  buffer_size  : 16384  period_size  : 4096  period_time  : 92879  tstamp_mode  : NONE  period_step  : 1  avail_min    : 4096  period_event : 0  start_threshold  : 16384  stop_threshold   : 16384  silence_threshold: 0  silence_size : 0  boundary     : 1073741824  appl_ptr     : 0  hw_ptr       : 0

my questions - where's the problem ? in sample rate ? 
### ALSA source configuration file #### (This file is in GNU makefile format)
# List the card drivers to be built, separated by commas. For example,# if you want to build the drivers for the Sound Blaster 16 and the# Yamaha YMF cards then write:#     ALSA_CARDS="sb16, ymfpci"# The special name "all" results in all card drivers being built.#ifndef ALSA_CARDSALSA_CARDS="all"endif
# List the card driver options, separated by commas, all on one line.# The special name "all" results in all possible options being set.## This is an advanced feature.  See ALSA's documentation for more info.#ifndef ALSA_CARD_OPTIONSALSA_CARD_OPTIONS=""endif
# Set to "y" if you want to build the modules without ISA PnP support.# Otherwise, set to "".#ifndef ALSA_NOPNPALSA_NOPNP=""endif
# Set to "y" if you want to build the modules with debugging code.# Otherwise, set to "".#ifndef ALSA_DEBUGALSA_DEBUG=""endif


Goga



> > Goga777 wrote:> > > I have integrated VIA8237 sound card and I have the problem with Dolby Digital audio through Spdif (mono and stereo> > > is working through spdif) - I don't listen anything with DD with AC-Link and I listen the sound like> > > ЭырррррррррррррррррррЭ with A/D Converter/> > > > > > My question - what should I choice in alsamixer - 'AC-Link' or 'A/D Converter' for spdif output ?> > > > Use "AC-Link"; "A/D Converter" is the analog input.> > ok>  > > How exactly are you trying to play DD?> > my htpc Samsung with 2 optical audio input connected to computer with debian sid kernel 2.6.30> I am using VDR + xine > xine has follow settings > > 	> # device used for mono output> # string, default: default> audio.device.alsa_default_device:iec958:CARD=V8237,DEV=0> > # device used for stereo output> # string, default: plug:front:default> audio.device.alsa_front_device:iec958:CARD=V8237,DEV=0> > # alsa mixer device> # string, default: PCM> #audio.device.alsa_mixer_name:PCM> > # sound card can do mmap> # bool, default: 0> #audio.device.alsa_mmap_enable:0> > # device used for 5.1-channel output> # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2> audio.device.alsa_passthrough_device:iec958:CARD=V8237,DEV=0> > # device used for 4-channel output> # string, default: plug:surround40:0> audio.device.alsa_surround40_device:plug:surround40:iec958:CARD=V8237,DEV=0> > # device used for 5.1-channel output> # string, default: plug:surround51:0> audio.device.alsa_surround51_device:plug:surround51:iec958:CARD=V8237,DEV=0> > # speaker arrangement> # { Mono 1.0  Stereo 2.0  Headphones 2.0  Stereo 2.1  Surround 3.0  Surround 4.0  Surround 4.1  Surround 5.0  Surround> audio.output.speaker_arrangement:Pass Through> > # offset for digital passthrough> # numeric, default: 0> #audio.synchronization.passthrough_offset:0> > # play audio even on slow/fast speeds> # bool, default: 0> #audio.synchronization.slow_fast_audio:0> > # method to sync audio and video> # { metronom feedback  resample }, default: 0> #audio.synchronization.av_sync_method:metronom feedback
------------------------------------------------------------------------------Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux