Rutger,
>I don't think that aplay can handle a .flac file directly
>I don't think that aplay can handle a .flac file directly
you are right I am using alsaplayer now
here's the output:
alsaplayer -d rp Music/208_-_Mio_Nemico.mp3
Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (11609 11610)
PERIOD_SIZE: 512
PERIOD_BYTES: 2048
PERIODS: 16
BUFFER_TIME: (185759 185760)
BUFFER_SIZE: 8192
BUFFER_BYTES: 32768
TICK_TIME: 0
alsaplayer -d rp Music/208_-_Mio_Nemico.mp3
Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (11609 11610)
PERIOD_SIZE: 512
PERIOD_BYTES: 2048
PERIODS: 16
BUFFER_TIME: (185759 185760)
BUFFER_SIZE: 8192
BUFFER_BYTES: 32768
TICK_TIME: 0
Can somebody explain me where the values above are coming from? Is ALSA guessing? Are they coming from my sound card?
It seems to me, that I need to give the right hw parameteers to ALSA.
here's .asoundrc, I made some little changes
pcm.rp {
type plug
slave {
pcm "hw:1,0"
channels 2
}
}
ctl.rp {
type hw
card 1
}
pcm.rp {
type plug
slave {
pcm "hw:1,0"
channels 2
}
}
ctl.rp {
type hw
card 1
}
Regards,
Vince
2014/1/4 Rutger Noot <rutger.noot@xxxxxxxxxxx>
Dear Vince,
I don't think that aplay can handle a .flac file directly ? Try
transforming to wav first.
Best,
Rutger.
On sam., 2014-01-04 at 15:29 +0000, Vince Ur wrote:
> Hello,
>
> I am trying to make a usb DAC work onto my debian wheezy. The DAC is
> the ARCAM rpac. the DAC is TI5102. It's got an Xmos chip.
>
> ------------------------------------------------------------------------------> When I try to play anything with aplay i get the result below.
>
> aplay -D plughw:1,0 /media/E/Musica/Dire\ Straits\ -\ Brothers\ In\
> Arms\ \(Re-Mastered\ 1996\)\ EAC\ Flac\ Level\ 8/Dire\ Straits\ -\ 01\
> -\ So\ Far\ Away.flac
> Playing raw data '/media/E/Musica/Dire Straits - Brothers In Arms
> (Re-Mastered 1996) EAC Flac Level 8/Dire Straits - 01 - So Far
> Away.flac' : Unsigned 8 bit, Rate 8000 Hz, Mono
> aplay: set_params:1145: Unable to install hw params:
> ACCESS: RW_INTERLEAVED
> FORMAT: U8
> SUBFORMAT: STD
> SAMPLE_BITS: 8
> FRAME_BITS: 8
> CHANNELS: 1
> RATE: 8000
> PERIOD_TIME: 125000
> PERIOD_SIZE: 1000
> PERIOD_BYTES: 1000
> PERIODS: 4
> BUFFER_TIME: 500000
> BUFFER_SIZE: NONE
> BUFFER_BYTES: 4000
> TICK_TIME: 0
>
>
> I tried configuring .asoundrc as follows, because the output aplay
> says channels 1 but channels still says 1:
>
> pcm.rp {
> type plug
> slave {
> pcm "hw:1,0"
> channels 2
> }
> }
>
>
>
> I need a pointer on what to look at to get this config working.
>
> thanks
>
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user