View Single Post
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#393
Originally Posted by Jultsu View Post
Hey guys,

I plugged in my USB audio interface, and n900 recognized it correctly

[83332.446411] usb 1-1: New USB device found, idVendor=08bb, idProduct=2704
[83332.446441] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[83332.446502] usb 1-1: Product: USB Audio DAC
[83332.446502] usb 1-1: Manufacturer: Burr-Brown from TI
[83332.446563] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[83332.446655] hub 1-0:1.0: port 1 enable change, status 00000103
[83333.026641] usbhid 1-1:1.2: usb_probe_interface
[83333.026672] usbhid 1-1:1.2: usb_probe_interface - got id
[83333.035034] input: Burr-Brown from TI USB Audio DAC as /class/input/input18
[83333.131317] generic-usb 0003:08BB:2704.0001: input: USB HID v1.00 Device [Burr-Brown from TI USB Audio DAC ] on usb-musb_hdrc-1/input2
[83333.133331] usbcore: registered new interface driver usbhid
[83333.133361] usbhid: v2.6:USB HID core driver


now the only problem is, how do i make the usb device default for all audio output?
HI,

Were you able to get sound through it? I don't mean as your default device but at all, as a test? I'm attaching a short python script to enumerate your output and input devices as gstreamer would see them. Be interesting to see the output as to whether gstreamer can see the device. If so you could potentially route your sound out through it in addition to the main output (which you could always run to a null headset).

Code:
#!/usr/bin/python

import gst

sink=gst.element_factory_make("pulsesink","mysink")

sink.probe_property_name("device")
devs = sink.probe_get_values_name("device")

print
print "sink devices"

for dev in devs:
  print dev
  
sink=gst.element_factory_make("pulsesrc","mysrc")

sink.probe_property_name("device")
devs = sink.probe_get_values_name("device")

print

print "source devices"

for dev in devs:
  print dev
  
print
Attached Files
File Type: gz gst_devices.py.tar.gz (287 Bytes, 114 views)
 

The Following 2 Users Say Thank You to mr id For This Useful Post: