Description: Simple examples of video and audio playback of the project includes the use of various API (Direct3D, OpenGL, GDI, DirectSound, SDL2) play multimedia examples. Wherein the audio input is PCM sample data. Output to the system' s sound card to play out. Video input YUV/RGB pixel data. Output to a window on the display to play out. Through this project code beginners can quickly learn how to use these API to play video and audio technology. A total of several sub-projects include the following: simplest_audio_play_directsound: Use DirectSound playback of PCM audio sample data. simplest_audio_play_sdl2: Use SDL2 playing PCM audio sample data. simplest_video_play_direct3d: Play using the Direct3D Surface RGB/YUV video pixel data. simplest_video_play_direct3d_texture: use the Direct3D Texture playing RGB video pixel data. simplest_video_play_gdi: Play with GDI RGB/YUV video pixel data. simplest_video_play_opengl: Use OpenGL playback RGB/YUV video pixel data. simplest_video_play_opengl_tex
To Search:
File list (Check if you may need any files):
simplest_media_play\.gitignore
...................\AboutRawData.txt
...................\NocturneNo2inEflat_44.1k_s16le.pcm
...................\Readme.txt
...................\simplest_audio_play_directsound\.gitignore
...................\...............................\ReadMe.txt
...................\...............................\simplest_audio_play_directsound.cpp
...................\...............................\simplest_audio_play_directsound.vcxproj
...................\...............................\simplest_audio_play_directsound.vcxproj.filters
...................\...............................\simplest_audio_play_directsound.vcxproj.user
...................\simplest_audio_play_directsound.jpg
...................\....................sdl2\.gitignore
...................\........................\include\sdl\begin_code.h
...................\........................\.......\...\close_code.h
...................\........................\.......\...\SDL.h
...................\........................\.......\...\SDL_assert.h
...................\........................\.......\...\SDL_atomic.h
...................\........................\.......\...\SDL_audio.h
...................\........................\.......\...\SDL_bits.h
...................\........................\.......\...\SDL_blendmode.h
...................\........................\.......\...\SDL_clipboard.h
...................\........................\.......\...\SDL_config.h
...................\........................\.......\...\SDL_cpuinfo.h
...................\........................\.......\...\SDL_endian.h
...................\........................\.......\...\SDL_error.h
...................\........................\.......\...\SDL_events.h
...................\........................\.......\...\SDL_filesystem.h
...................\........................\.......\...\SDL_gamecontroller.h
...................\........................\.......\...\SDL_gesture.h
...................\........................\.......\...\SDL_haptic.h
...................\........................\.......\...\SDL_hints.h
...................\........................\.......\...\SDL_joystick.h
...................\........................\.......\...\SDL_keyboard.h
...................\........................\.......\...\SDL_keycode.h
...................\........................\.......\...\SDL_loadso.h
...................\........................\.......\...\SDL_log.h
...................\........................\.......\...\SDL_main.h
...................\........................\.......\...\SDL_messagebox.h
...................\........................\.......\...\SDL_mouse.h
...................\........................\.......\...\SDL_mutex.h
...................\........................\.......\...\SDL_name.h
...................\........................\.......\...\SDL_opengl.h
...................\........................\.......\...\SDL_opengles.h
...................\........................\.......\...\SDL_opengles2.h
...................\........................\.......\...\SDL_pixels.h
...................\........................\.......\...\SDL_platform.h
...................\........................\.......\...\SDL_power.h
...................\........................\.......\...\SDL_quit.h
...................\........................\.......\...\SDL_rect.h
...................\........................\.......\...\SDL_render.h
...................\........................\.......\...\SDL_revision.h
...................\........................\.......\...\SDL_rwops.h
...................\........................\.......\...\SDL_scancode.h
...................\........................\.......\...\SDL_shape.h
...................\........................\.......\...\SDL_stdinc.h
...................\........................\.......\...\SDL_surface.h
...................\........................\.......\...\SDL_system.h
...................\........................\.......\...\SDL_syswm.h
...................\........................\.......\...\SDL_test.h
...................\...