Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
ear_camera_backend.h File Reference

EAR-specific startup configuration behind USHER's generic backend interface. More...

#include "camera_backend.h"
Include dependency graph for ear_camera_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct camera_backend ear_camera_backend_get (void)
 Return the EAR backend descriptor by value; its session hook table has static lifetime.
bool ear_camera_backend_set_device (const char *device)
 Copy an ALSA PCM name before initialization or worker startup.
void ear_camera_backend_set_simulated_source (double lat_deg, double lon_deg, double level_db_at_1m)
 Select deterministic synthetic audio before initialization, bypassing ALSA.
void ear_camera_backend_set_band (double low_cut_hz, double high_cut_hz)
 Forward startup tone-band selection to the audio adapter.

Detailed Description

EAR-specific startup configuration behind USHER's generic backend interface.

Lifecycle hooks are serial-owner-only. The backend owns bounded finalization and sensor-to-point conversion; USHER owns transport/correlation.

Definition in file ear_camera_backend.h.

Function Documentation

◆ ear_camera_backend_get()

struct camera_backend ear_camera_backend_get ( void )

Return the EAR backend descriptor by value; its session hook table has static lifetime.

Returns
Descriptor advertising point-session capability, not optical still capture.

Definition at line 344 of file ear_camera_backend.c.

◆ ear_camera_backend_set_band()

void ear_camera_backend_set_band ( double low_cut_hz,
double high_cut_hz )

Forward startup tone-band selection to the audio adapter.

Parameters
low_cut_hzLower band edge, hertz.
high_cut_hzUpper band edge, hertz; valid ordering is the CLI caller's responsibility.

Definition at line 342 of file ear_camera_backend.c.

◆ ear_camera_backend_set_device()

bool ear_camera_backend_set_device ( const char * device)

Copy an ALSA PCM name before initialization or worker startup.

Parameters
deviceNonempty bounded ALSA name, such as default or plughw:CARD=USB,DEV=0.
Returns
True when copied; false for invalid input or active lifecycle state.

Caller memory may be released on return. Simulation is selected separately.

Definition at line 332 of file ear_camera_backend.c.

◆ ear_camera_backend_set_simulated_source()

void ear_camera_backend_set_simulated_source ( double lat_deg,
double lon_deg,
double level_db_at_1m )

Select deterministic synthetic audio before initialization, bypassing ALSA.

Parameters
lat_degFixed source latitude, degrees.
lon_degFixed source longitude, degrees.
level_db_at_1mSimulated level at one metre; a test model, not measured calibration.

Definition at line 337 of file ear_camera_backend.c.