#
3c1dd448 |
|
08-Nov-2017 |
Mina Almasry <almasrymina@google.com> |
[dev][gauss audio] Get audio driver recording files Get basic recording working. Still quite fragile. Known issues: - Only first record in a boot session works. The driver doesn't attempt to clean up properly at all yet. - Recorded bytes != bits/sample * framerate * recording_duration. There are some extra bytes. - The driver is tested only talking to 1 client. No attempt to talk to multiple clients yet. - The driver only support framerate=48000, bits/sample=16, channels=8. - The driver ignores min_ring_buffer_frames. Currently the VMO size is hardcoded to 0x8000. - The driver ignores notifications_per_ring. It currently sends notifications every 0x2000 of data. Bug: 68019773 Test: On gauss: audio -r 48000 -b 16 -c 8 record test.wav 10 Generates recorded file that sounds quite good. Change-Id: I3a0cfcc287b8001e8a37971c721c5bfe5bdf6a79
|