Re: Unknown PCM cards.pcm.front

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

 



> On Oct 29, 2015, at 05:47 , Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
> 
> Rick Mann wrote:
>> "ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front"
> 
> This means that some code tried to open device named "front", and that there
> is no such definition for your hardware.

Thanks, Clemens,

Here's my code that opens the device:


    int driverID = ::ao_default_driver_id();
    ao_sample_format format = { 0 };
    format.bits = 16;
    format.channels = inNumChannels;
    format.rate = inRate;
    format.byte_format = AO_FMT_LITTLE;
	
    mDevice = ::ao_open_live(driverID, &format, NULL);
    if (mDevice == NULL)
    {
        LogDebug("Error opening output device");
    }

I'm not sure where the change in default device would come from.

-- 
Rick Mann
rmann@xxxxxxxxxxxxxxx


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux