source: svn/newcon3bcm2_21bu/BSEAV/api/src/nexus/bsettop_pcm_capture.c

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1#include "bsettop_impl.h"
2#include "bsettop.h"
3
4BDBG_MODULE(pcm_capture);
5
6/*
7Summary:
8Required to initialize the bpcm_capture_settings structure.
9*/
10void bpcm_capture_settings_init(
11    bpcm_capture_settings *settings,    /* [out] */
12    bpcm_capture_t pcmcapture           /* required for possible resource-dependent defaults */
13)
14{
15    BSTD_UNUSED(settings);
16    BSTD_UNUSED(pcmcapture);
17}
18
19/*
20Summary:
21Open a PCM capture channel.
22*/
23bpcm_capture_t bpcm_capture_open(
24    bobject_t id                                /* id corresponds to the pcm capture channel. */
25)
26{
27    BSTD_UNUSED(id);
28    (void)BSETTOP_ERROR(berr_not_supported);
29    return NULL;
30}
31
32/*
33Summary:
34Close a PCM capture channel.
35Description:
36Capture must already be stopped.
37*/
38void bpcm_capture_close(
39    bpcm_capture_t pcmcapture
40)
41{
42    BSTD_UNUSED(pcmcapture);
43}
44
45/*
46Summary:
47Start capturing PCM audio.
48*/
49bresult bpcm_capture_start(
50    bpcm_capture_t pcmcapture,
51    bdisplay_t display,                                 /* which output to capture from. */
52    const bpcm_capture_settings *settings
53)
54{
55    BSTD_UNUSED(pcmcapture);
56    BSTD_UNUSED(display);
57    BSTD_UNUSED(settings);
58    return BSETTOP_ERROR(berr_not_supported);
59}
60
61/**
62Summary:
63Get data available in the pcm capture buffer.
64
65Description:
66This is a non-destructive call. You can call it as many times as you want.
67After reading data from the buffer, you should call bpcm_capture_read_complete
68to report how much of the buffer was consumed.
69**/
70bresult bpcm_capture_get_buffer(
71    bpcm_capture_t pcmcapture,
72    void **data,
73    size_t *length
74)
75{
76    BSTD_UNUSED(pcmcapture);
77    BSTD_UNUSED(data);
78    BSTD_UNUSED(length);
79    return BSETTOP_ERROR(berr_not_supported);
80}
81
82/**
83Summary:
84**/
85bresult bpcm_capture_read_complete(
86    bpcm_capture_t pcmcapture,
87    size_t amount_read
88)
89{
90    BSTD_UNUSED(pcmcapture);
91    BSTD_UNUSED(amount_read);
92    return BSETTOP_ERROR(berr_not_supported);
93}
94
95/*
96Summary:
97Stop PCM capture
98*/
99bresult bpcm_capture_stop(
100    bpcm_capture_t pcmcapture
101)
102{
103    BSTD_UNUSED(pcmcapture);
104    return BSETTOP_ERROR(berr_not_supported);
105}
106
Note: See TracBrowser for help on using the repository browser.