Re: Constraining the number of frames per period

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

Adam Rosenberg wrote:
>> Set the snd_pcm_hardware fields so that all sample formats are supported.
> I do not understand why I need to add all of the sample formats,

Sorry, I actually meant to say "all of the sample formats supported
by your hardware", where "formats" includes all the field of the
snd_pcm_hardware structure.

The idea is to set the snd_pcm_hardware fields so that anything
supported by the hardware is allowed by these settings.  Then, if there
is any combination of settings that is allowed by these fields but not
supported by the hardware, add more constraints in the open callback.

Alsa-devel mailing list

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

Add to Google Powered by Linux