Re: [LAU] alsaplayer error using USB Audio DAC

From: Paul Davis <paul@email-addr-hidden>
Date: Sat Aug 10 2013 - 16:22:40 EEST

you get static because aplay doesn't handle anything except regular PCM
data. compressed file formats like FLAC are recognized as "raw data" and it
just guesses a sample rate and data format, which naturally are all wrong.
find a PCM file (something.wav) and try that.

On Sat, Aug 10, 2013 at 9:19 AM, Roger Weinheimer <rweinheimer@email-addr-hiddenwrote:

> So I tried
>
> miniG4:~$ aplay --device=plughw:1,0
> flac/ripit/B/Beatles/Let_It_Be..._Naked/10_Across_The_Universe.flac
> Playing raw data
> 'flac/ripit/B/Beatles/Let_It_Be..._Naked/10_Across_The_Universe.flac' :
> Unsigned 8 bit, Rate 8000 Hz, Mono
> ^CAborted by signal Interrupt...
> miniG4:~$
>
> and got static. Which is a huge improvement! At least I'm getting sound,
> now.
>
> Clemens, I appreciate all your interest and support.
>
> As I stated originally, the man at the local stereo shop duplicated my
> environment, albeit on slightly different hardware (macbook G4 vs mini G4).
> His is working. What differences should I be looking at?
>
> On Aug 10, 2013, at 1:28 AM, Clemens Ladisch wrote:
>
> > Roger Weinheimer wrote:
> >> These are the specs from the DAC packaging, fwiw. Does this help to
> address format/capabilities questions?
> >
> > It does not really matter what particular format is attempted to be used
> > by the player, and what particular format is actually supported by the
> > device. Just replace "hw" with "plughw", and the format will be
> > automatically converted, if necessary.
> >
> >
> > Regards,
> > Clemens
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Aug 11 00:15:03 2013

This archive was generated by hypermail 2.1.8 : Sun Aug 11 2013 - 00:15:03 EEST