Struct rfmod::Sound [−][src]
pub struct Sound { /* fields omitted */ }
Expand description
Sound object
Implementations
Returns:
Ok(frequency_var, volume_var, pan_var)
pub fn set_3D_cone_settings(
&self,
inside_cone_angle: f32,
outside_cone_angle: f32,
outside_volume: f32
) -> Status
Returns:
Ok(inside_cone_angle, outside_cone_angle, outside_volume)
Returns:
Ok(type, format, channels, bits)
Returns:
Ok(num_tags, num_tags_updated)
pub fn get_sync_point_info(
&self,
sync_point: FmodSyncPoint,
name_len: usize,
TimeUnit: TimeUnit
) -> Result<(String, u32), RStatus>
pub fn add_sync_point(
&self,
offset: u32,
TimeUnit: TimeUnit,
name: String
) -> Result<FmodSyncPoint, Status>
pub fn set_loop_points(
&self,
loop_start: u32,
TimeUnit: TimeUnit,
loop_end: u32,
TimeUnit: TimeUnit
) -> Status
Returns:
Ok(loop_start, loop_end)
pub fn get_memory_info(
&self,
MemoryBits: MemoryBits,
EventMemoryBits: EventMemoryBits
) -> Result<(u32, MemoryUsageDetails), Status>
pub fn get_memory_info(
&self,
MemoryBits: MemoryBits,
EventMemoryBits: EventMemoryBits
) -> Result<(u32, MemoryUsageDetails), Status>
Returns:
Ok(memory_used, details)
Returns:
Ok(ptr1, ptr2)
ptr1: Address of a pointer that will point to the first part of the locked data.
ptr2: Address of a pointer that will point to the second part of the locked data. This will be null if the data locked hasn’t wrapped at the end of the buffer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sound
impl UnwindSafe for Sound