Changeset 90f05b0f in mainline for uspace/lib/drv/include/audio_pcm_iface.h
- Timestamp:
- 2012-07-09T07:46:24Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68d1313
- Parents:
- 0336354a
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/audio_pcm_iface.h
r0336354a r90f05b0f 1 1 /* 2 * Copyright (c) 201 1Jan Vesely2 * Copyright (c) 2012 Jan Vesely 3 3 * All rights reserved. 4 4 * … … 34 34 */ 35 35 36 #ifndef LIBDRV_AUDIO_PCM_ BUFFER_IFACE_H_37 #define LIBDRV_AUDIO_PCM_ BUFFER_IFACE_H_36 #ifndef LIBDRV_AUDIO_PCM_IFACE_H_ 37 #define LIBDRV_AUDIO_PCM_IFACE_H_ 38 38 39 39 #include <async.h> … … 42 42 #include "ddf/driver.h" 43 43 44 int audio_pcm_ buffer_get_info_str(async_exch_t *, const char **);45 int audio_pcm_ buffer_get_buffer(async_exch_t *, void **, size_t *, unsigned *,44 int audio_pcm_get_info_str(async_exch_t *, const char **); 45 int audio_pcm_get_buffer(async_exch_t *, void **, size_t *, unsigned *, 46 46 async_client_conn_t, void *); 47 int audio_pcm_ buffer_release_buffer(async_exch_t *, unsigned);47 int audio_pcm_release_buffer(async_exch_t *, unsigned); 48 48 49 int audio_pcm_ buffer_start_playback(async_exch_t *, unsigned, unsigned,49 int audio_pcm_start_playback(async_exch_t *, unsigned, unsigned, 50 50 unsigned, uint16_t, uint8_t, bool); 51 int audio_pcm_ buffer_stop_playback(async_exch_t *, unsigned);51 int audio_pcm_stop_playback(async_exch_t *, unsigned); 52 52 53 int audio_pcm_ buffer_start_record(async_exch_t *, unsigned, unsigned,53 int audio_pcm_start_record(async_exch_t *, unsigned, unsigned, 54 54 unsigned, uint16_t, uint8_t, bool); 55 int audio_pcm_ buffer_stop_record(async_exch_t *, unsigned);55 int audio_pcm_stop_record(async_exch_t *, unsigned); 56 56 57 57 /** Audio pcm communication interface. */ … … 67 67 unsigned, unsigned, unsigned, bool); 68 68 int (*stop_record)(ddf_fun_t *, unsigned); 69 } audio_pcm_ buffer_iface_t;69 } audio_pcm_iface_t; 70 70 71 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.