Re: Audiophile 2496 Devices

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

 



Hallo,
Darrell Bellerive hat gesagt: // Darrell Bellerive wrote:

> I am trying to build the application xdemorse and need to set my sound card 
> configuration in a header file:
> 
> /************ CUSTOMIZE THESE DEFINITIONS FOR YOUR NEEDS *************/
> 
> #define MIXER_DEV      "/dev/mixer" /* Your mixer device */
> #define DSP_DEV          "/dev/dsp" /* Your dsp device   */
> #define RECORD_SRC           "line" /* Signal recording source */
> #define INPUT_LEV           "igain" /* Input gain/level device */
> #define CAPTURE_LEV              50 /* Default level of line and igain */
> #define NUM_OF_CHANNELS           2 /* Stereo/Mono: 1=Mono, 2=Stereo   */
> #define USE_CHANNEL           RIGHT /* Channel for capture LEFT|RIGHT  */

Wow, that must be an ancient application: hardcoded device names!
Cute! I would recommend to *not* use or set these defines but use a
real mixing program like alsamixer to control mixer levels. From what
I read, it should still work: 

  "xdemorse automatically sets up the sound card and tries to set the
  input and recording/capture level to the RECORD_LEV entry in
  xdemorse.h. If it fails it will give an appropriate warning and the
  mixer levels for line input and recording level must be set up
  manually using a mixer app like 'aumix'."

(http://5b4az.chronos.org.uk/pkg/morse/xdemorse/xdemorse.html)

Personally I would even go so far as to *unset* everything here to
empty strings or so, as I would never want such an application to even
get a chance to mess with my mixer settings, which are finely tuned to
my external gear already.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__

-------------------------------------------------------------------------
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