linux_video.c 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // #include <iron_video.h>
  2. // void iron_video_init(iron_video_t *video, const char *filename) {}
  3. // void iron_video_destroy(iron_video_t *video) {}
  4. // void iron_video_play(iron_video_t *video, bool loop) {}
  5. // void iron_video_pause(iron_video_t *video) {}
  6. // void iron_video_stop(iron_video_t *video) {}
  7. // int iron_video_width(iron_video_t *video) {
  8. // return 256;
  9. // }
  10. // int iron_video_height(iron_video_t *video) {
  11. // return 256;
  12. // }
  13. // gpu_texture_t *iron_video_current_image(iron_video_t *video) {
  14. // return NULL;
  15. // }
  16. // double iron_video_duration(iron_video_t *video) {
  17. // return 0.0;
  18. // }
  19. // double iron_video_position(iron_video_t *video) {
  20. // return 0.0;
  21. // }
  22. // bool iron_video_finished(iron_video_t *video) {
  23. // return false;
  24. // }
  25. // bool iron_video_paused(iron_video_t *video) {
  26. // return false;
  27. // }
  28. // void iron_video_update(iron_video_t *video, double time) {}
  29. // void iron_internal_video_sound_stream_init(iron_internal_video_sound_stream_t *stream, int channel_count, int frequency) {}
  30. // void iron_internal_video_sound_stream_destroy(iron_internal_video_sound_stream_t *stream) {}
  31. // void iron_internal_video_sound_stream_insert_data(iron_internal_video_sound_stream_t *stream, float *data, int sample_count) {}
  32. // static float samples[2] = {0};
  33. // float *iron_internal_video_sound_stream_next_frame(iron_internal_video_sound_stream_t *stream) {
  34. // return samples;
  35. // }
  36. // bool iron_internal_video_sound_stream_ended(iron_internal_video_sound_stream_t *stream) {
  37. // return true;
  38. // }