Can't pipe sound to new TI C5535 device

Wesley J. Miller WMiller at sdr.com
Mon Mar 12 14:18:50 PDT 2012


I just received a new Texas Instruments eZdsp TMX320C5535 card.  It is primarily a USB AC97 card with additional bells and whistles.

When I hook it up to Linux or Mac and use the OS interfaces (Sound Preferences, etc.) to select it, it plays and records sound quite nicely.  Gstreamer sees it as the default sound sink and  gst-launch audiotestsrc ! alsasink works as expected.  On linux is shows up as /dev/audio1

On linux, looking with aplay I see this:

   $ aplay -l
   **** List of PLAYBACK Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: U0x4510x9010 [USB Device 0x451:0x9010], device 0: USB Audio [USB Audio]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

and

   $ aplay -L
   pulse
       Playback/recording through the PulseAudio sound server
   front:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       Front speakers
   surround40:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       4.0 Surround output to Front and Rear speakers
   surround41:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       4.1 Surround output to Front, Rear and Subwoofer speakers
   surround50:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       5.0 Surround output to Front, Center and Rear speakers
   surround51:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       5.1 Surround output to Front, Center, Rear and Subwoofer speakers
   surround71:CARD=Intel,DEV=0
       HDA Intel, STAC92xx Analog
       7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
   front:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       Front speakers
   surround40:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       4.0 Surround output to Front and Rear speakers
   surround41:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       4.1 Surround output to Front, Rear and Subwoofer speakers
   surround50:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       5.0 Surround output to Front, Center and Rear speakers
   surround51:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       5.1 Surround output to Front, Center, Rear and Subwoofer speakers
   surround71:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
   iec958:CARD=U0x4510x9010,DEV=0
       USB Device 0x451:0x9010, USB Audio
       IEC958 (S/PDIF) Digital Audio Output


When I use Gstreamer 0.10.28 with it, I get the following error:


   $ gst-launch audiotestsrc ! alsasink device=hw:1,0
   Setting pipeline to PAUSED ...
   Pipeline is PREROLLING ...
   ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not get/set settings from/on resource.
   Additional debug info:
   gstalsasink.c(499): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0:
   Rate doesn't match (requested 44100Hz, get 0Hz)
   ERROR: pipeline doesn't want to preroll.
   Setting pipeline to NULL ...
   Freeing pipeline ...

If I just shove some sound out to the device as seen in /dev, I do get output, sort of a choppy suare wave:

   Gst-launch audiotestsrc ! Filesink location="/dev/audio1"

What  am I missing here?

Wesley




________________________________
CONFIDENTIALITY NOTE:

This e-mail and any attachments are confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120312/6c4b547b/attachment.html>


More information about the gstreamer-devel mailing list