# Module dsp::slice
[−]
[src]

This module provides various helper functions for performing operations on slices of frames.

## Functions

add_in_place |
Adds every sample in slice |

add_in_place_with_amp_per_channel |
Scale the amplitude of each frame in |

equilibrium |
Sets the slice of frames at the associated |

from_boxed_frame_slice |
Converts the given boxed slice of |

from_boxed_sample_slice |
Converts the given boxed slice of |

from_frame_slice |
Converts the given slice of |

from_frame_slice_mut |
Converts the given slice of mutable |

from_sample_slice |
Converts the given slice of |

from_sample_slice_mut |
Converts the given mutable slice of |

map_in_place |
Mutate every element in the slice with the given function. |

to_boxed_frame_slice |
Converts the given boxed slice into a boxed slice of |

to_boxed_sample_slice |
Converts the given boxed slice into a boxed slice of |

to_frame_slice |
Converts the given slice into a slice of |

to_frame_slice_mut |
Converts the given mutable slice into a mutable slice of |

to_sample_slice |
Converts the given slice into a slice of |

to_sample_slice_mut |
Converts the given mutable slice of |

write |
Writes every sample in slice |

zip_map_in_place |
Mutate every frame in slice |