windows_video.c 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. // gpu_texture_t *iron_video_current_image(iron_video_t *video) {
  5. // return NULL;
  6. // }
  7. // int iron_video_width(iron_video_t *video) {
  8. // return 64;
  9. // }
  10. // int iron_video_height(iron_video_t *video) {
  11. // return 64;
  12. // }
  13. // void iron_video_play(iron_video_t *video, bool loop) {}
  14. // void iron_video_pause(iron_video_t *video) {}
  15. // void iron_video_stop(iron_video_t *video) {}
  16. // void iron_video_update(iron_video_t *video, double time) {}
  17. // double iron_video_duration(iron_video_t *video) {
  18. // return 0.0;
  19. // }
  20. // double iron_video_position(iron_video_t *video) {
  21. // return 0.0;
  22. // }
  23. // bool iron_video_finished(iron_video_t *video) {
  24. // return true;
  25. // }
  26. // bool iron_video_paused(iron_video_t *video) {
  27. // return true;
  28. // }
  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];
  33. // float *iron_internal_video_sound_stream_next_frame(iron_internal_video_sound_stream_t *stream) {
  34. // samples[0] = 0.0f;
  35. // samples[1] = 0.0f;
  36. // return samples;
  37. // }
  38. // bool iron_internal_video_sound_stream_ended(iron_internal_video_sound_stream_t *stream) {
  39. // return true;
  40. // }