Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ALSA9Functions.h

Go to the documentation of this file.
00001 FUNC(size_t, snd_pcm_hw_params_sizeof, (void)); 00002 FUNC(size_t, snd_pcm_sw_params_sizeof, (void)); 00003 FUNC(size_t, snd_pcm_info_sizeof, (void)); 00004 FUNC(size_t, snd_ctl_card_info_sizeof, (void)); 00005 FUNC(int, snd_ctl_card_info, (snd_ctl_t *ctl, snd_ctl_card_info_t *info)); 00006 FUNC(int, snd_card_next, (int *card)); 00007 FUNC(const char *, snd_ctl_card_info_get_id, (const snd_ctl_card_info_t *obj)); 00008 FUNC(const char *, snd_ctl_card_info_get_name, (const snd_ctl_card_info_t *obj)); 00009 FUNC(snd_pcm_state_t, snd_pcm_state, (snd_pcm_t *pcm)); 00010 FUNC(const char *,snd_strerror, (int errnum)); 00011 FUNC(int, snd_ctl_close, (snd_ctl_t *ctl)); 00012 FUNC(int, snd_ctl_open, (snd_ctl_t **ctl, const char *name, int mode)); 00013 FUNC(int, snd_lib_error_set_handler, (snd_lib_error_handler_t handler)); 00014 FUNC(int, snd_output_buffer_open, (snd_output_t **outputp)); 00015 FUNC(size_t, snd_output_buffer_string, (snd_output_t *output, char **buf)); 00016 FUNC(int, snd_output_close, (snd_output_t *output)); 00017 FUNC(int, snd_output_flush, (snd_output_t *output)); 00018 FUNC(snd_pcm_sframes_t, snd_pcm_avail_update, (snd_pcm_t *pcm)); 00019 FUNC(int, snd_pcm_close, (snd_pcm_t *pcm)); 00020 FUNC(int, snd_pcm_delay, (snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)); 00021 FUNC(int, snd_pcm_drop, (snd_pcm_t *pcm)); 00022 FUNC(int, snd_pcm_dump, (snd_pcm_t *pcm, snd_output_t *out)); 00023 FUNC(snd_pcm_sframes_t, snd_pcm_forward, (snd_pcm_t *pcm, snd_pcm_uframes_t frames)); 00024 FUNC(int, snd_pcm_hw_free, (snd_pcm_t *pcm)); 00025 FUNC(int, snd_pcm_hw_params, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params)); 00026 FUNC(int, snd_pcm_hw_params_any, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params)); 00027 FUNC(int, snd_pcm_hw_params_set_access, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t access)); 00028 FUNC(int, snd_pcm_hw_params_set_channels, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val)); 00029 FUNC(int, snd_pcm_hw_params_set_format, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val)); 00030 FUNC(int, snd_pcm_hw_params_set_rate_near, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir)); 00031 FUNC(int, snd_pcm_hw_params_set_buffer_size_near, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val)); 00032 FUNC(int, snd_pcm_hw_params_set_period_size_near, (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val, int *dir)); 00033 FUNC(int, snd_pcm_status, (snd_pcm_t *pcm, snd_pcm_status_t *status)); 00034 FUNC(snd_pcm_uframes_t, snd_pcm_status_get_avail, (const snd_pcm_status_t *obj)); 00035 FUNC(size_t, snd_pcm_status_sizeof, (void)); 00036 FUNC(int, snd_pcm_hwsync, (snd_pcm_t *pcm)); 00037 FUNC(int, snd_ctl_pcm_next_device, (snd_ctl_t *ctl, int *device)); 00038 FUNC(int, snd_ctl_pcm_info, (snd_ctl_t *ctl, snd_pcm_info_t * info)); 00039 FUNC(const char *,snd_pcm_info_get_id, (const snd_pcm_info_t *obj)); 00040 FUNC(const char *, snd_pcm_info_get_name, (const snd_pcm_info_t *obj)); 00041 FUNC(unsigned int, snd_pcm_info_get_subdevices_avail, (const snd_pcm_info_t *obj)); 00042 FUNC(unsigned int, snd_pcm_info_get_subdevices_count, (const snd_pcm_info_t *obj)); 00043 FUNC(void, snd_pcm_info_set_device, (snd_pcm_info_t *obj, unsigned int val)); 00044 FUNC(void, snd_pcm_info_set_stream, (snd_pcm_info_t *obj, snd_pcm_stream_t val)); 00045 FUNC(snd_pcm_sframes_t, snd_pcm_mmap_writei, (snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size)); 00046 FUNC(int, snd_pcm_open, (snd_pcm_t **pcm, const char *name, snd_pcm_stream_t stream, int mode)); 00047 FUNC(int, snd_pcm_prepare, (snd_pcm_t *pcm)); 00048 FUNC(int, snd_pcm_resume, (snd_pcm_t *pcm)); 00049 FUNC(int, snd_pcm_wait, (snd_pcm_t *pcm, int timeout)); 00050 FUNC(int, snd_pcm_sw_params, (snd_pcm_t *pcm, snd_pcm_sw_params_t *params)); 00051 FUNC(int, snd_pcm_sw_params_current, (snd_pcm_t *pcm, snd_pcm_sw_params_t *params)); 00052 FUNC(int, snd_pcm_sw_params_get_boundary, (const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)); 00053 FUNC(int, snd_pcm_sw_params_set_xfer_align, (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val)); 00054 FUNC(int, snd_pcm_sw_params_set_stop_threshold, (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val)); 00055 FUNC(int, snd_pcm_sw_params_get_avail_min, (snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val)); 00056 FUNC(int, snd_pcm_sw_params_set_avail_min, (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val)); 00057 00058 /* 00059 * (c) 2003-2004 Glenn Maynard 00060 * All rights reserved. 00061 * 00062 * Permission is hereby granted, free of charge, to any person obtaining a 00063 * copy of this software and associated documentation files (the 00064 * "Software"), to deal in the Software without restriction, including 00065 * without limitation the rights to use, copy, modify, merge, publish, 00066 * distribute, and/or sell copies of the Software, and to permit persons to 00067 * whom the Software is furnished to do so, provided that the above 00068 * copyright notice(s) and this permission notice appear in all copies of 00069 * the Software and that both the above copyright notice(s) and this 00070 * permission notice appear in supporting documentation. 00071 * 00072 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00073 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00074 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00075 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00076 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00077 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00078 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00079 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00080 * PERFORMANCE OF THIS SOFTWARE. 00081 */

Generated on Thu Jan 27 20:57:17 2005 for StepMania by doxygen 1.3.7