Commit: 209500b9924c4d227edaecf934d6de8a65def37c
Parent: 869c3c5167c599c9481b3716fa7e1da18fd0710b
Author: Mikel Astiz <mikel.astiz@bmw-carit.de>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2012-09-14 15:09:17
Tree: 7449613dda78b9ff55c0e550b5d02cca30f87833

media: Replace transport->in_use flag with state Refactor the code to use a enum type to represent the transport state. This should scale better when additional states need to be represented. A helper function has been added to help track the mapping between the enum type and the old in_use flag.

Diffstat

M audio/transport.c | 77 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - -

1 files changed, 58 insertions(+), 19 deletions(-)

View Full Diff | Patch