Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特定の時点でサンプルを停止したいのですが、奇妙なエラーが発生します。これは私のコードです:
ALLEGRO_SAMPLE_ID id; ALLEGRO_SAMPLE* spl = al_load_sample("sound.ogg"); al_play_sample(spl, 1.0, 0, 1.0, 0, &id); al_stop_sample(&id); al_destroy_sample(spl)