Lines Matching defs:bluetooth_data
121 struct bluetooth_data { struct
122 unsigned int link_mtu; /* MTU for transport channel */
123 struct pollfd stream; /* Audio stream filedescriptor */
124 struct pollfd server; /* Audio daemon filedescriptor */
125 a2dp_state_t state; /* Current A2DP state */
126 a2dp_command_t command; /* Current command for a2dp_thread */
127 pthread_t thread;
128 pthread_mutex_t mutex;
129 int started;
130 pthread_cond_t thread_start;
131 pthread_cond_t thread_wait;
132 pthread_cond_t client_wait;
134 sbc_capabilities_t sbc_capabilities;
135 sbc_t sbc; /* Codec data */
136 int frame_duration; /* length of an SBC frame in microseconds */
137 int codesize; /* SBC codesize */
138 int samples; /* Number of encoded samples */
139 uint8_t buffer[BUFFER_SIZE]; /* Codec transfer buffer */
140 int count; /* Codec transfer buffer counter */
142 int nsamples; /* Cumulative number of codec samples */
143 uint16_t seq_num; /* Cumulative packet sequence */
144 int frame_count; /* Current frames in buffer*/
168 static int audioservice_send(struct bluetooth_data *data, const bt_audio_msg_header_t *msg); argument