| 92 | } |
| 93 | |
| 94 | bool source::buffer(ALuint buf_id) |
| 95 | { |
| 96 | alclearerr(); |
| 97 | #ifdef __APPLE__ // weird bug |
| 98 | if (buf_id) |
| 99 | #endif |
| 100 | alSourcei(id, AL_BUFFER, buf_id); |
| 101 | |
| 102 | return !ALERR; |
| 103 | } |
| 104 | |
| 105 | bool source::looping(bool enable) |
| 106 | { |
no test coverage detected