Changeset 2533:1f734dd82389 in roaraudio for plugins/roard/protocol-esound.c
- Timestamp:
- 09/02/09 01:31:25 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/roard/protocol-esound.c
r2532 r2533 61 61 {ESD_PROTO_SAMPLE_PAN, 3 * _INTSIZE, _NAME("SAMPLE_PAN"), NULL}, 62 62 {ESD_PROTO_STANDBY_MODE, _INTSIZE, _NAME("STANDBY_MODE"), NULL}, 63 {ESD_PROTO_LATENCY, 0 , _NAME("LATENCY"), NULL},63 {ESD_PROTO_LATENCY, 0 , _NAME("LATENCY"), emul_esd_on_latency}, 64 64 {ESD_PROTO_MAX, 0 , _NAME("MAX"), NULL}, 65 65 {-1, 0, _NAME("END OF LIST"), NULL} … … 297 297 } 298 298 299 int emul_esd_on_latency (int client, struct emul_esd_command * cmd, void * data, struct roar_vio_calls * vio) { 300 int lag = ROAR_OUTPUT_CFREQ; 301 302 lag *= 2.0 * 44100.0 / (float)g_sa->rate; 303 304 return emul_esd_int_write(client, lag, vio); 305 } 306 299 307 #endif 300 308 #endif
Note: See TracChangeset
for help on using the changeset viewer.