[LAU] alsaplayer error using USB Audio DAC

Paul Davis paul at linuxaudiosystems.com
Sat Aug 10 13:22:40 UTC 2013


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 at yahoo.com>wrote:

> 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 at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20130810/6486f789/attachment.html>


More information about the Linux-audio-user mailing list