commit | 8d48c0163d1ab0f56a18ebe9898a34ebcfdfaa1a | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Feb 07 08:05:46 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 10 10:21:42 2017 +0100 |
tree | f58c097b7d324f5a886f774bf394e7cfd28c3373 | |
parent | a9ebdd0ef261fb9838af2821c09d165f6a14789b [diff] |
ALSA: x86: Allow single period PCM operation This is an implementation of PCM streaming with only 1 period. Since the hardware requires the refresh of BDs after each BD processing finishes, we'd need at least two BDs. The trick is that both BDs point to the same content: the address of the PCM buffer head, and the whole buffer size. Then it loops over to the whole buffer again after it finished once. Signed-off-by: Takashi Iwai <tiwai@suse.de>