How to select default output device (microphone) in ALSA?
Hello,
My webcam microphone does not work.
It is not set in ALSA, and pulseaudio points back to ALSA. As a consequence, skype doesn't work.
I have read a bunch of wiki and manpages, found no answer. https://wiki.archlinux.org/index.php/ALSA#Configuration
Hence, how do I set usb webcam microphone as the default input device in ALSA? It is set by alsamixer, but
$ arecord -d 5 test-mic.wav
$ aplay test-mic.wav
produces nothing except files.
I've installed archlinux only because OpenBSD doesn't support skype. That's what I need from archlinux for.
I appreciate your answers and thank in advance.
emeres wrote:
To use arecord with your webcam you need to know and specify the device:
arecord -l; # Look for your usb device
arecord -D hw:X,Y # where X is the card number and Y the device number
As for skype, it should have some configuration options.
I know the device. I can see it by various commands. I know for various config options. That's now what I'm asking.
I am asking how to specify it. Where is the config file for ALSA? Is it input or output device?
Similar Messages
-
After installing Mountain Lion. No sound. Under sound, where it says select an output device, it says no output devices found, and there is no sound. How do I fix this? I have reinstalled the os twice and still the same. I have also repaired permissions.
Try resetting the PRAM and SMC...
PRAM Reset:
http://support.apple.com/kb/HT1379
SMC Reset:
http://support.apple.com/kb/HT3964
Hope this helps! -
How to set a default output device for FAX outputs
Hi Experts,
Business requires to set a default output device for fax outputs ( Medium as 2 Fax medium ).
as fas as print output ( medium as 1 print medium ) is considered we can maintain output device in condition record--> communication
I tried maintaining output device in VP01 for my condition type based on sales org but it did not worked.
Can you please suggest ways to achieve default output device for fax outputs.
Thanks,Well, obvious solution would be to either update user profiles or change the output from 'process immediately' to 'process by a background job'. Then create a generic user ID with any fax number desired and use that user ID to process the output through the background job.
This is not really an SD question, so if this simple option doesn't work for you, I'd suggest to discuss other custom solution with your ABAP / Basis team. -
How to redirect built in mic to default output device
Is there a program i can get that will take my voice from the default input device (built-in mic) and redirect the audio to the default output device?
Note: i do not want to record my audio.
Thanks for your time.Ask Microsoft.... I'm not kidding either. This is a mac forum. You could try to be more specific but, I really don't know if anyone will have an answer.
-
Default output device not coming
I made one PDF form and attached it in List LG01 in CB85 to print process order through COR2 output device is mentioned as LP01 in list Lg01, but while printing, output device is coming as which is mentioned in user profile.
I want that output device which i mentioned in configuration should come as default during printing through COR2....Pl. help
Edited by: lisa harley on Feb 26, 2010 11:09 AMHello,
Please check the below settings at "Printer Specification" for CB85,
If output device = 1 ,then it will select the output device for user profile
if output device = 2 , Output device from configuration, ie CB85
Regards
Pradeep -
Default output device for smartform
Hi all
how can we assign a default output device to a smart form so that the every time we execute a smartform it doesnt ask for a output device?
thanks in advance....Hi
First see what your default out put device is.
That you can see in SU3>Default>OutputDevice.
Suppose it is set as 'PRINTER' .
Then in ur print program you have to write the logic as below.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_smartform
IMPORTING
FM_NAME = WF_FUNCMODULENAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CLEAR: WA_CONTROL_PARAMETERS.
WA_CONTROL_PARAMETERS-GETOTF = 'X'.
WA_CONTROL_PARAMETERS-LANGU = 'E'.
WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
CALL FUNCTION WF_FUNCMODULENAME
EXPORTING
CONTROL_PARAMETERS = WA_CONTROL_PARAMETERS "Control Params
OUTPUT_OPTIONS = WA_OUTPUT_OPT "Output Options
WF_CARRID = WF_CARRID
WF_CONNID = WF_CONNID
WF_FLDATE = WF_FLDATE
IMPORTING
DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
JOB_OUTPUT_INFO = WA_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS = WA_JOB_OUTPUT_OPTIONS
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5. -
Settings to set default Output Device in FPCJ
Hi,
System is taking LP01 as default Output Device instead of the custom made Output device(ZLOCL) while executing the Z smartforms using transaction FPCJ.
In user setting I have defaulted ZLOCL as default output device & desired page format type is also assigned to the smartforms.
Is there any other system/config setting to be done to make ZLOCL as default.
Please advice.
Thanks in advance
SunilSunil,
Check your user profile using tcode SU3 and make sure you do not have LP01 there as your default OutputDevice. If you have it then your printing jobs will default on that.
I hope this helps you.
Regards,
David -
Dear Adobe Users!
Please help!
I'm using Adobe Audition CS5.5 on a Mac - OSX 10.8.2 (latest version of Mountain Lion) and I'm trying to select a Multi-Output device.
This was working FINE last few days - today, I get an error. I've tried to re-install Adobe Audition and that hasn't fixed the problem. When it first started up it said it couldn't find any audio devices at all.
Please can you help? I'm getting a message saying the device is being used by another process - but it's not being used by anything else at all!
Hope you are able to help! I use the multi output device option so I can record what I can hear. I spent two days trying to sort that out after it all-of-a-sudden didn't work last Thursday.
Now just spent last two hours trying to get Adobe to recognise the Multi Output device - it's been working fine last few days!
Many thanks if you're able to help!
- RoryDurin,
May have sussed it! It seems that Built-in output was the way to have it for Audition CS5.5 to record what I'm hearing! Yes, the multi-device needs to be used - but in another settings.
Here's how I have each section configured and it now works!
First of all, in Audition > Preferences > Audio Hardware:-
Then, on the Mac's OS - System Preferences > Sounds (input settings)
Then Output settings :-
Then Midi Settings found in Finder > Applications > Utilities > Audio MIDI set up
All now seems to be working! I'll let you know if anything further happens!
I was certain I had the output device as Multi Device Output on Adobe before, perhaps it should've been set to Built-in Audio all along. Anyway, I re-installed my Mac from Time Machine, logged in as another user and it worked under that profile, then logged back in as me - and am using the settings in the pics above and all seems to be working!
It's been a long week, perhaps I was just going around in circles and didn't actually test these particular settings yesterday in this order after all.
Thanks again for your help! Sorry if I've caused any confusion! -
Selecting audio output device in iTunes.
I currently have two sound cards installed.
My computer is defaulting to playing sound through one of them, but I would like to play iTunes through the other.
Is there a way to select the audio output device that iTunes outputs to?
I have no been able to find the option anywhere.
Thanks!Hi
What program are you refering to ?? Or do you mean you have deleted the driver for your Audio/output device ??
Checkurtech
****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem**** -
Skip selection screen output device
Hi Guys,
Question. Is there anyway that i could skip the output device screen selection and straight go to 'print preview'? at the same i wish to set the printer to 'LOCL'. Thanks in advance
Regardshi ,
In your sap script you would be having open form,write form and close form you have to declare before open form...
i have pasted a sample code here you can check it.....
REPORT ZV_DELIVERY_SLIP_PRINT .
Tables:
tables: likp,vbak,adrc,vbpa,kna1,sadr,ITCPO,LIPS.
parameters: p_vbeln like likp-vbeln obligatory,
p_proj(50) type C,
p_node(50) type c,
p_pal(50) type c default 'PALLET 1 of 2',
p_ldest like nast-ldest default 'LOCL',
p_imme type c default 'X'.
Start-of-selection.
perform 100_collect_db_recs.
perform 200_collect_adrc_details.
*& Form 100_collect_db_recs
text
--> p1 text
<-- p2 text
FORM 100_collect_db_recs .
select single * from LIPS where vbeln = p_vbeln.
if sy-subrc ne 0.
write:/02 'Delivery does not exist!'.
stop.
else.
select single * from vbak where vbeln = lips-vgbel.
if sy-subrc ne 0.
write:/02 'Sales Order does not exist!'.
endif.
endif.
ENDFORM. " 100_collect_db_recs
*& Form 200_collect_adrc_details
text
--> p1 text
<-- p2 text
FORM 200_collect_adrc_details .
SELECT SINGLE *
FROM VBAK
WHERE VBELN EQ vbak-kunnr.
SELECT SINGLE *
FROM KNA1
WHERE KUNNR EQ vbak-kunnr.
SELECT SINGLE ADRNR
INTO vbpa-adrnr
FROM VBPA
WHERE VBELN EQ vbak-vbeln
AND PARVW EQ 'WE'. " Sold to party.
SELECT SINGLE NAME1
INTO sadr-name1
FROM SADR
WHERE ADRNR EQ vbpa-ADRNR.
SELECT NAME1 NAME2 NAME3 NAME4 STREET CITY1 CITY2 PO_BOX
STR_SUPPL1 POST_CODE1 FROM
ADRC INTO (ADRC-NAME1, ADRC-NAME2,ADRC-NAME3,ADRC-NAME4,
ADRC-STREET,ADRC-CITY1,ADRC-CITY2,ADRC-PO_BOX,
ADRC-STR_SUPPL1,ADRC-POST_CODE1)
WHERE ADDRNUMBER = vbpa-ADRNR.
EXIT.
ENDSELECT.
if sy-subrc = 0.
perform open_form.
perform start_form.
perform write_form.
perform end_form.
perform close_form.
Write:/02 'Delivery Label Printed!'.
else.
write:/02 'Error Collecting Address Details!'.
endif.
ENDFORM. " 200_collect_adrc_details
*& Form open_form
text
--> p1 text
<-- p2 text
FORM open_form .
itcpo-tdnewid = 'X'.
itcpo-tdimmed = p_imme.
itcpo-tddest = 'LOCL'.
itcpo-tddataset = 'DELB'.
itcpo-tdsuffix1 = p_ldest.
itcpo-tdsuffix2 = lips-vbeln.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
archive_index = space
archive_params = space
device = 'PRINTER'
dialog = ' '
form = 'ZV_DEL_LABEL'
language = sy-langu
options = itcpo
EXCEPTIONS
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " open_form
*& Form start_form
text
--> p1 text
<-- p2 text
FORM start_form .
CALL FUNCTION 'START_FORM'
EXPORTING
startpage = 'FIRST'
EXCEPTIONS
form = 1
format = 2
unended = 3
unopened = 4
unused = 5
OTHERS = 6.
IF sy-subrc <> 0.
ENDIF.
ENDFORM. " start_form
*& Form write_form
text
--> p1 text
<-- p2 text
FORM write_form .
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TEXT'
function = 'SET'
type = 'BODY'
window = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " write_form
*& Form end_form
text
--> p1 text
<-- p2 text
FORM end_form .
CALL FUNCTION 'END_FORM'
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " end_form
*& Form close_form
text
--> p1 text
<-- p2 text
FORM close_form .
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " close_form
regards,
karthik. -
How to change default audio device for gnome?
My laptop has an integrated sound card, but I lately got a USB headset (headphones+mic, which works with linux btw, I tested it with GizmoProject which lets me choose which /dev/dspXX I want): http://www.geeks.com/details.asp?invtid=U200&cpc=SCH
So, how do I change the default audio device for *all* desktop sounds to the headphones? I tried the two gnome sound properties, and when I select the headset device they let me configure it but ALSA still uses the internal audio card. Why isn't there a way to easily select which device you want for your sounds as there is for BeOS, Windows and OSX?Eugenia wrote:Well, it's still not good enough.
We can't satisfy everyone. What you want is a corner case. For most people ALSA and dmix works appropriately, and that is what esd uses by default. We cannot document and automate every configuration possible. That's up to the users.
However, if you don't want to restart gnome, try the below... I make a few assumptions, but even if they're wrong, they're hardly difficult to work around.
Just copy the /etc/esd.conf to ~/.esd.conf, make your change, then do killall esd. Presumably gnome will restart esd, and it ought to read your local config. If it doesnt, start it yourself.
Feel free to write a script that automates this, or document it on the wiki.
I have to restart Gnome to get this thing working. Other OSes *automatically* can use an alternative device. But if I change ESD, I will have to restart Gnome, no?
Well, if you try my suggestion above, no. You can restart esd yourself. And that's what all the other distros do, except with some fancy GUI.
James -
How to chang audio-output-device(s) in Windwos 8
Hi,
currently I’m working on an application that starts by changing the audio-output-device and ends with re-setting the old one.
On Windows XP I do this by changing the Registry-entry “Sound-Mapper” and it works quite well.
I hopefully assume it works on all Windows Systems from XP to Windows 7.
The background is that our program is supposed to play certain multi-channel sounds over an external USB-multichannel-soundcard and it should switch to that device on start. To actually play the sounds we use the AxWindowsMediaPlayer-Class
to integrate the Windows-Media-Player in our application.
However, on Windows 8, it is possible to set multiple Audio-Outputs and the Windows-Media-player has a setting to choose from them (under Options). I was unable to use the Registry-trick to switch the output-device and I could not find
a way to programmatically tell the AxWindowsMediaPlayer to choose the USB-soundcard as an output.
Is there a Way to programmatically(c#) ether change the audio-output-device(s) in Windos8 or to tell
AxWindowsMediaPlayer to use a certain device?
Thank you.Hi Kristin,
I think your reply pushed me in the right direction.
The waveOutOpen-function is part of the
winmm.dll-API and I think, that API is the solution to my Problem.
Unfortunately I am stuck at this point. I tried mciSendString and mciSendComand. Both are cappable of playing sound, but I am unable to change the output Device.
This is my c# code to open a WAV-File via mciSendCommand:
MCI_OPEN_PARMS open = new MCI_OPEN_PARMS();
open.wDeviceID = 0;//this is somehow ignored
open.lpstrDeviceType = Marshal.StringToHGlobalAnsi("waveaudio");
open.lpstrElementName = Marshal.StringToHGlobalAnsi(@"test.wav");
IntPtr ptr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(MCI_OPEN_PARMS)));
Marshal.StructureToPtr(open, ptr, false);
mciSendCommand(Convert.ToUInt32(textBox2.Text),
MCI_OPEN,
MCI_WAIT | MCI_OPEN_TYPE | MCI_OPEN_ELEMENT,
ptr);
Afterwards I use mciSendCommand to start the playing of the sound, which works fine, but no matter what I enter in the “open.wDeviceID”-Line, I always get sound over
the default output.
I use waveOutGetDevCaps to get the number and kind of the output-Devices and this works fine.
Regards, Marc -
Default output device for ALV report
Dear friends,
Here there is a user requirement that he want print a particular ALV report in a
perticular output device. and want to fix that output device for that report instead of changing everytime.
Kindly suggest.
Regards,
Praveen LoboHi,
This way system is expected to search for default printer. What I would recommend you to do is call transaction SP01 within the report and pass the initial screen parameter thru FM.
Hope this lead, help you solve your issue!
Reetesh -
VB6 Using MCI Commands to Select MIDI Output Device for Playback in Windows 8.1
I have written a MIDI Player program in VB6 that uses the multimedia control. In Windows 8.1, I understand that midimapper is no longer available so the third party softwares which can set the output devices for MIDI do not work as they did for
Vista and Windows 7. I found this Microsoft example code that selects sound cards using MCI code and was able to modify the code to show me the MIDI output devices. In particular I need to output to a USB to MIDI cable. Can this code be modified
to do just the PLAY function for midi out to the USB to MIDI cable? I do not need the record side of the program. Here is the MS article number since I can not post the link to the the VB6 program: q182799
With a modified code to play midi, I can then pull the necessary code into my MIDI Player Program. Thank you for the help on this.Hi,
For Visual Basic 6 questions, read the post at the following address
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Kate Li
TechNet Community Support -
Allow user to select default sound device.
Currently Spotify defaults to using the default sound device under windows when launched, it would be neat if you could choose which sound device you want to use isntead in the options screen, Thanks
I really need this feature. I use multiple soundcards to split outputs into different sets. For example. I do not want Spotify to playback using my headphones but my speakers while I play a game or anything else for that matter. I also tend to Stream some of my games and don't want Spotify to be recorded- This is the whole reason I had to set up another soundcard by the way.
Please, just add this small but essencial feature like any other Audio related product.
Maybe you are looking for
-
VLOOKUP and COUNTIF funtion in BOXI
Hi, I am new to Business Objects, so I have very basic knowledge in it. What I am looking is to create some formula like VLOOKUP and COUNTIF function as in excel. I have two queries: Query A: List of all old clients ClientIDs- 123,124,124 ContactDate
-
hi All, I am using 64 bit windows. i have installed SOA suite PS3 version (11.1.1.4) i am able to start weblogic 10.3.4 from command prompt when i start soa server i get following error. any idea ? i do have boot.properties file with following entry
-
I want to create a movie in iMovie 10 and watch in on Apple TV. What is the best work flow to save hard drive space?
-
I'm playing an online flashplayer game and using taskmanager I can see my ram usage creeping up over time, eventually it reaches nearly max capacity and the game starts to mis-display, lag and generally grind to a halt. If I restart my browser my ram
-
There are at least 40 charges relating to Clash of Clans gems which are a clear duplication which have been charged to my credit card resulting in huge charges which I cannot afford. I have lodged disputes via every channel possible, reported a prob