Re: [Alsa-user] Amarok, dmix, icecast

2006-11-28 Thread Denny Schierz
hi,

Lee Revell schrieb:

 It's trickier to enable dmix universally for USB devices.  I think
 Clemens Ladisch was working on a solution?

do you know a bit more about that setup? I have no idea, to let Amarok
playing and ices2 grab the sound.

cu denny



signature.asc
Description: OpenPGP digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Amarok, dmix, icecast

2006-11-28 Thread Lee Revell
On Tue, 2006-11-28 at 19:25 +0100, Denny Schierz wrote:
 hi,
 
 Lee Revell schrieb:
 
  It's trickier to enable dmix universally for USB devices.  I think
  Clemens Ladisch was working on a solution?
 
 do you know a bit more about that setup? I have no idea, to let Amarok
 playing and ices2 grab the sound.
 

Try creating an .asoundrc for dmix as described on the ALSA site.

 cu denny
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Alsa-user mailing list 
 Alsa-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Amarok, dmix, icecast

2006-11-26 Thread Lee Revell
On Sat, 2006-11-25 at 16:32 +0100, Emilio Scalise wrote:
 If you are using a recent alsa version (1.0.11 I think, perhaps also
 1.0.10, but I'm not sure..), you don't need to modify your asoundrc or
 asound.conf.
 Try to use default:1 as device. It should work out of the box.
 If not try to assign index 0 to the usb card (with module options) and
 use default device.
 

Does not apply to USB devices - dmix must be configured manually.

Lee

 2006/11/25, Denny Schierz [EMAIL PROTECTED]:
  hi,
 
  i have two soundcards:
 
  ~$ cat /proc/asound/cards
   0 [SoundByLayout  ]: AppleOnbdAudio - SoundByLayout
SoundByLayout
   1 [default]: USB-Audio - C-Media USB Headphone Set
C-Media USB Headphone Set   at
  usb-0001:10:1b.2-2.3, full speed
 
 
 
  i want to stream the sound from Amarok, so i need ices2 which grabs the
  sound from the USB soundcard.
 
  in the ices2.config i have the following choice:
 
  input
modulealsa/module
   param name=rate44100/param
   param name=channels2/param
  param name=deviceplughw:hw:0,0/param
  !-- Read metadata (from stdin by default, or --
 !-- filename defined below (if the latter, only on SIGUSR1) --
param name=metadata0/param
param name=metadatafilenametest/param
  /input
 
  i red, that i need a dmix setup, so that Amarok and ices2 get working
  together.
 
  does anybody has a setup like my one?
 
  The onboard soundcard is never used.
 
  cu denny
 
 
  ==
  USB Output
 
  Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
idVendor   0x0d8c C-Media Electronics, Inc.
idProduct  0x000c Audio Adapter
bcdDevice1.00
iManufacturer   0
iProduct1
iSerial 0
bNumConfigurations  1
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength  253
  bNumInterfaces  4
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
  MaxPower  100mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber0
bAlternateSetting   0
bNumEndpoints   0
bInterfaceClass 1 Audio
bInterfaceSubClass  1 Control Device
bInterfaceProtocol  0
iInterface  0
AudioControl Interface Descriptor:
  bLength10
  bDescriptorType36
  bDescriptorSubtype  1 (HEADER)
  bcdADC   1.00
  wTotalLength  100
  bInCollection   2
  baInterfaceNr( 0)   1
  baInterfaceNr( 1)   2
AudioControl Interface Descriptor:
  bLength12
  bDescriptorType36
  bDescriptorSubtype  2 (INPUT_TERMINAL)
  bTerminalID 1
  wTerminalType  0x0101 USB Streaming
  bAssocTerminal  0
  bNrChannels 2
  wChannelConfig 0x0003
Left Front (L)
Right Front (R)
  iChannelNames   0
  iTerminal   0
AudioControl Interface Descriptor:
  bLength12
  bDescriptorType36
  bDescriptorSubtype  2 (INPUT_TERMINAL)
  bTerminalID 2
  wTerminalType  0x0201 Microphone
  bAssocTerminal  0
  bNrChannels 1
  wChannelConfig 0x0001
Left Front (L)
  iChannelNames   0
  iTerminal   0
AudioControl Interface Descriptor:
  bLength 9
  bDescriptorType36
  bDescriptorSubtype  3 (OUTPUT_TERMINAL)
  bTerminalID 6
  wTerminalType  0x0301 Speaker
  bAssocTerminal  0
  bSourceID   9
  iTerminal   0
AudioControl Interface Descriptor:
  bLength 9
  bDescriptorType36
  bDescriptorSubtype  3 (OUTPUT_TERMINAL)
  bTerminalID 7
  wTerminalType  0x0101 USB Streaming
  bAssocTerminal  0
  bSourceID   8
  iTerminal   0
AudioControl Interface Descriptor:
  bLength 7
  bDescriptorType36
  bDescriptorSubtype  5 (SELECTOR_UNIT)
  

Re: [Alsa-user] Amarok, dmix, icecast

2006-11-26 Thread Emilio Scalise
I didn't know that I thought that was the same as other cards!

2006/11/27, Lee Revell [EMAIL PROTECTED]:
 On Sat, 2006-11-25 at 16:32 +0100, Emilio Scalise wrote:
  If you are using a recent alsa version (1.0.11 I think, perhaps also
  1.0.10, but I'm not sure..), you don't need to modify your asoundrc or
  asound.conf.
  Try to use default:1 as device. It should work out of the box.
  If not try to assign index 0 to the usb card (with module options) and
  use default device.
 

 Does not apply to USB devices - dmix must be configured manually.

 Lee

  2006/11/25, Denny Schierz [EMAIL PROTECTED]:
   hi,
  
   i have two soundcards:
  
   ~$ cat /proc/asound/cards
0 [SoundByLayout  ]: AppleOnbdAudio - SoundByLayout
 SoundByLayout
1 [default]: USB-Audio - C-Media USB Headphone Set
 C-Media USB Headphone Set   at
   usb-0001:10:1b.2-2.3, full speed
  
  
  
   i want to stream the sound from Amarok, so i need ices2 which grabs the
   sound from the USB soundcard.
  
   in the ices2.config i have the following choice:
  
   input
 modulealsa/module
param name=rate44100/param
param name=channels2/param
   param name=deviceplughw:hw:0,0/param
   !-- Read metadata (from stdin by default, or --
  !-- filename defined below (if the latter, only on SIGUSR1) --
 param name=metadata0/param
 param name=metadatafilenametest/param
   /input
  
   i red, that i need a dmix setup, so that Amarok and ices2 get working
   together.
  
   does anybody has a setup like my one?
  
   The onboard soundcard is never used.
  
   cu denny
  
  
   ==
   USB Output
  
   Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
   Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass0 (Defined at Interface level)
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize064
 idVendor   0x0d8c C-Media Electronics, Inc.
 idProduct  0x000c Audio Adapter
 bcdDevice1.00
 iManufacturer   0
 iProduct1
 iSerial 0
 bNumConfigurations  1
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength  253
   bNumInterfaces  4
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0xa0
 (Bus Powered)
 Remote Wakeup
   MaxPower  100mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
 bInterfaceNumber0
 bAlternateSetting   0
 bNumEndpoints   0
 bInterfaceClass 1 Audio
 bInterfaceSubClass  1 Control Device
 bInterfaceProtocol  0
 iInterface  0
 AudioControl Interface Descriptor:
   bLength10
   bDescriptorType36
   bDescriptorSubtype  1 (HEADER)
   bcdADC   1.00
   wTotalLength  100
   bInCollection   2
   baInterfaceNr( 0)   1
   baInterfaceNr( 1)   2
 AudioControl Interface Descriptor:
   bLength12
   bDescriptorType36
   bDescriptorSubtype  2 (INPUT_TERMINAL)
   bTerminalID 1
   wTerminalType  0x0101 USB Streaming
   bAssocTerminal  0
   bNrChannels 2
   wChannelConfig 0x0003
 Left Front (L)
 Right Front (R)
   iChannelNames   0
   iTerminal   0
 AudioControl Interface Descriptor:
   bLength12
   bDescriptorType36
   bDescriptorSubtype  2 (INPUT_TERMINAL)
   bTerminalID 2
   wTerminalType  0x0201 Microphone
   bAssocTerminal  0
   bNrChannels 1
   wChannelConfig 0x0001
 Left Front (L)
   iChannelNames   0
   iTerminal   0
 AudioControl Interface Descriptor:
   bLength 9
   bDescriptorType36
   bDescriptorSubtype  3 (OUTPUT_TERMINAL)
   bTerminalID 6
   wTerminalType  0x0301 Speaker
   bAssocTerminal  0
   bSourceID   9
   iTerminal   0
 AudioControl Interface Descriptor:
   bLength 9
   bDescriptorType36
   bDescriptorSubtype  3 (OUTPUT_TERMINAL)
   bTerminalID 7
   wTerminalType  0x0101 USB Streaming
   bAssocTerminal  0
  

Re: [Alsa-user] Amarok, dmix, icecast

2006-11-26 Thread Lee Revell
On Mon, 2006-11-27 at 06:47 +0100, Emilio Scalise wrote:
 I didn't know that I thought that was the same as other cards!
 

It's trickier to enable dmix universally for USB devices.  I think
Clemens Ladisch was working on a solution?

Lee



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Amarok, dmix, icecast

2006-11-25 Thread Denny Schierz
hi,

i have two soundcards:

~$ cat /proc/asound/cards
 0 [SoundByLayout  ]: AppleOnbdAudio - SoundByLayout
  SoundByLayout
 1 [default]: USB-Audio - C-Media USB Headphone Set
  C-Media USB Headphone Set   at
usb-0001:10:1b.2-2.3, full speed



i want to stream the sound from Amarok, so i need ices2 which grabs the
sound from the USB soundcard.

in the ices2.config i have the following choice:

input
  modulealsa/module
 param name=rate44100/param
 param name=channels2/param
param name=deviceplughw:hw:0,0/param
!-- Read metadata (from stdin by default, or --
   !-- filename defined below (if the latter, only on SIGUSR1) --
  param name=metadata0/param
  param name=metadatafilenametest/param
/input

i red, that i need a dmix setup, so that Amarok and ices2 get working
together.

does anybody has a setup like my one?

The onboard soundcard is never used.

cu denny


==
USB Output

Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x0d8c C-Media Electronics, Inc.
  idProduct  0x000c Audio Adapter
  bcdDevice1.00
  iManufacturer   0
  iProduct1
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  253
bNumInterfaces  4
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   0
  bInterfaceClass 1 Audio
  bInterfaceSubClass  1 Control Device
  bInterfaceProtocol  0
  iInterface  0
  AudioControl Interface Descriptor:
bLength10
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdADC   1.00
wTotalLength  100
bInCollection   2
baInterfaceNr( 0)   1
baInterfaceNr( 1)   2
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bNrChannels 2
wChannelConfig 0x0003
  Left Front (L)
  Right Front (R)
iChannelNames   0
iTerminal   0
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 2
wTerminalType  0x0201 Microphone
bAssocTerminal  0
bNrChannels 1
wChannelConfig 0x0001
  Left Front (L)
iChannelNames   0
iTerminal   0
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 6
wTerminalType  0x0301 Speaker
bAssocTerminal  0
bSourceID   9
iTerminal   0
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  3 (OUTPUT_TERMINAL)
bTerminalID 7
wTerminalType  0x0101 USB Streaming
bAssocTerminal  0
bSourceID   8
iTerminal   0
  AudioControl Interface Descriptor:
bLength 7
bDescriptorType36
bDescriptorSubtype  5 (SELECTOR_UNIT)
bUnitID 8
bNrInPins   1
baSource( 0)   10
iSelector   0
  AudioControl Interface Descriptor:
bLength10
bDescriptorType36
bDescriptorSubtype  6 (FEATURE_UNIT)
bUnitID 9
bSourceID  15
bControlSize1
bmaControls( 0)  0x01
  Mute
bmaControls( 1)  0x02
  Volume
bmaControls( 2)  0x02
  Volume
iFeature0
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  6 (FEATURE_UNIT)
bUnitID 

Re: [Alsa-user] Amarok, dmix, icecast

2006-11-25 Thread Emilio Scalise
If you are using a recent alsa version (1.0.11 I think, perhaps also
1.0.10, but I'm not sure..), you don't need to modify your asoundrc or
asound.conf.
Try to use default:1 as device. It should work out of the box.
If not try to assign index 0 to the usb card (with module options) and
use default device.

2006/11/25, Denny Schierz [EMAIL PROTECTED]:
 hi,

 i have two soundcards:

 ~$ cat /proc/asound/cards
  0 [SoundByLayout  ]: AppleOnbdAudio - SoundByLayout
   SoundByLayout
  1 [default]: USB-Audio - C-Media USB Headphone Set
   C-Media USB Headphone Set   at
 usb-0001:10:1b.2-2.3, full speed



 i want to stream the sound from Amarok, so i need ices2 which grabs the
 sound from the USB soundcard.

 in the ices2.config i have the following choice:

 input
   modulealsa/module
  param name=rate44100/param
  param name=channels2/param
 param name=deviceplughw:hw:0,0/param
 !-- Read metadata (from stdin by default, or --
!-- filename defined below (if the latter, only on SIGUSR1) --
   param name=metadata0/param
   param name=metadatafilenametest/param
 /input

 i red, that i need a dmix setup, so that Amarok and ices2 get working
 together.

 does anybody has a setup like my one?

 The onboard soundcard is never used.

 cu denny


 ==
 USB Output

 Bus 002 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.10
   bDeviceClass0 (Defined at Interface level)
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   idVendor   0x0d8c C-Media Electronics, Inc.
   idProduct  0x000c Audio Adapter
   bcdDevice1.00
   iManufacturer   0
   iProduct1
   iSerial 0
   bNumConfigurations  1
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength  253
 bNumInterfaces  4
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0xa0
   (Bus Powered)
   Remote Wakeup
 MaxPower  100mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   0
   bInterfaceClass 1 Audio
   bInterfaceSubClass  1 Control Device
   bInterfaceProtocol  0
   iInterface  0
   AudioControl Interface Descriptor:
 bLength10
 bDescriptorType36
 bDescriptorSubtype  1 (HEADER)
 bcdADC   1.00
 wTotalLength  100
 bInCollection   2
 baInterfaceNr( 0)   1
 baInterfaceNr( 1)   2
   AudioControl Interface Descriptor:
 bLength12
 bDescriptorType36
 bDescriptorSubtype  2 (INPUT_TERMINAL)
 bTerminalID 1
 wTerminalType  0x0101 USB Streaming
 bAssocTerminal  0
 bNrChannels 2
 wChannelConfig 0x0003
   Left Front (L)
   Right Front (R)
 iChannelNames   0
 iTerminal   0
   AudioControl Interface Descriptor:
 bLength12
 bDescriptorType36
 bDescriptorSubtype  2 (INPUT_TERMINAL)
 bTerminalID 2
 wTerminalType  0x0201 Microphone
 bAssocTerminal  0
 bNrChannels 1
 wChannelConfig 0x0001
   Left Front (L)
 iChannelNames   0
 iTerminal   0
   AudioControl Interface Descriptor:
 bLength 9
 bDescriptorType36
 bDescriptorSubtype  3 (OUTPUT_TERMINAL)
 bTerminalID 6
 wTerminalType  0x0301 Speaker
 bAssocTerminal  0
 bSourceID   9
 iTerminal   0
   AudioControl Interface Descriptor:
 bLength 9
 bDescriptorType36
 bDescriptorSubtype  3 (OUTPUT_TERMINAL)
 bTerminalID 7
 wTerminalType  0x0101 USB Streaming
 bAssocTerminal  0
 bSourceID   8
 iTerminal   0
   AudioControl Interface Descriptor:
 bLength 7
 bDescriptorType36
 bDescriptorSubtype  5 (SELECTOR_UNIT)
 bUnitID 8
 bNrInPins   1
 baSource( 0)   10
 iSelector   0
   AudioControl Interface Descriptor:
 bLength10
 bDescriptorType36
 bDescriptorSubtype  6