On Fri 17 Dec 2010 at 09:20:34 -0500, Alexandre Savard wrote:

> Hi,
> 
> Pulseaudio's device name used to open streams are stored in the configuration 
> file as:
> 
> pulse:
>     devicePlayback: alsa_output.pci-0000_00_1b.0.analog-stereo
>     deviceRecord: alsa_input.pci-0000_00_1b.0.analog-stereo
>     deviceRingtone: alsa_output.pci-0000_00_1b.0.analog-stereo
> 
> I look yesterday and the device name is accurately passed as an argument to 
> the stream creation function:
> 
> pa_stream_connect_playback (s, deviceName->c_str(), attributes, 
> (pa_stream_flags_t) (PA_STREAM_ADJUST_LATENCY|PA_STREAM_AUTO_TIMING_UPDATE), 
> NULL, NULL);
> 
> in sflphone-common/src/audio/pulseaudio/audiostream.cpp
> 
> Need to investigate a little more about it

Thanks for the reply. I probably wasn't as clear as I could have been.
PulseAudio isn't the issue here as it is not used, but this problem,
which I have asked about before, is:

> I use ALSA and sflphonedrc has Alsa.cardID_In and Alsa.cardID_Out
> equal to 1. This is fine until the kernel sees my two cards in a
> different order when the machine is rebooted. I've tried using the
> card ID instead of the card number but this doesn't appear to work.

Every so often and randomly, the kernel changes the card number of the
card I use from 1 to 0, which means altering the sflphone config. Being
able to refer to the card by its ID in the config file would be
beneficial, but it appears not to be possible.

Regards,

Brian.
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to