Path: blob/master/thirdparty/linuxbsd_headers/pulse/direction.h
9905 views
#ifndef foodirectionhfoo1#define foodirectionhfoo23/***4This file is part of PulseAudio.56Copyright 2014 Intel Corporation78PulseAudio is free software; you can redistribute it and/or modify9it under the terms of the GNU Lesser General Public License as published10by the Free Software Foundation; either version 2.1 of the License,11or (at your option) any later version.1213PulseAudio is distributed in the hope that it will be useful, but14WITHOUT ANY WARRANTY; without even the implied warranty of15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU16General Public License for more details.1718You should have received a copy of the GNU Lesser General Public License19along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.20***/2122#include <pulse/def.h>2324/** \file25* Utility functions for \ref pa_direction_t. */2627/** Return non-zero if the given value is a valid direction (either input,28* output or bidirectional). \since 6.0 */29int pa_direction_valid(pa_direction_t direction) PA_GCC_CONST;3031/** Return a textual representation of the direction. \since 6.0 */32const char *pa_direction_to_string(pa_direction_t direction);3334#endif353637