Skip to content

Commit 52b4658

Browse files
jonathanpallantthejpster
authored andcommitted
audio_mixer_channel_get_info should return Option
Closes #20
1 parent 75265fb commit 52b4658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ pub struct Api {
353353
// ========================================================================
354354
/// Get information about the Audio Mixer channels
355355
pub audio_mixer_channel_get_info:
356-
extern "C" fn(audio_mixer_id: u8) -> crate::Result<audio::MixerChannelInfo>,
356+
extern "C" fn(audio_mixer_id: u8) -> crate::Option<audio::MixerChannelInfo>,
357357
/// Set an Audio Mixer level
358358
pub audio_mixer_channel_set_level:
359359
extern "C" fn(audio_mixer_id: u8, level: u8) -> crate::Result<()>,

0 commit comments

Comments
 (0)