Re: USB Audio

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

 



On Mon, 20 Aug 2007, David Luttrull wrote:

Problem: how do I change byte order options?

I was afraid you would ask me that, and I was hoping that some other reader
would jump in before you did telling you what they are.

Anyway, man aplay
       -f --format=FORMAT
              Sample format
              Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE
              S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE
              FLOAT_BE  FLOAT64_LE  FLOAT64_BE  IEC958_SUBFRAME_LE IEC958_SUBâ??
              FRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM
              Some of these may not be available on selected hardware
              There are also two format shortcuts available:
              -f cd (16 bit little endian, 44100, stereo [-f S16_LE -c2 -r44100]
              -f dat (16 bit little endian, 48000, stereo) [-f S16_LE -c2 -r48000]
              If no format is given U8 is used.


Anyway, try first
aplay -f cd whatever.wav
Then try -f S16_BE -c2 -r44100
as a .wav option.
(.wav files should alread have the information, so instead try
cat whatever.wav|aplay -f S16_BE -c2 -r44100




-----Original Message-----
From: Bill Unruh [mailto:unruh@xxxxxxxxxxxxxx]
Sent: Monday, August 20, 2007 5:01 PM
To: David Luttrull
Cc: alsa-user@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  USB Audio

On Mon, 20 Aug 2007, David Luttrull wrote:

Hey, I recently purchased a usb dock from Kensington which includes 5.1
audio support. This was the feature that I most wanted it for. Anyway, I
have been unable to get alsa to use it. Alsa recognizes it as usb audio,
and
when I test it, all I get is crazy static. Anyway, it is a C-media cm106

Sounds like a byte order problem. Try the various alsa byte order options
to aplay. It is very hopeful taht you are getting sound out of it. That
means it workd and all you need is some tweaking.



like sound device. Any help? Also, I am very new on the linux scene and
only
know how to do the most basic of terminal stuff.





--
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://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