package Ġcom . ky ant . pixel music . locals Ċ Ċ import Ġandroidx . compose . animation . core . Anim atable Ċ import Ġandroidx . compose . runtime . Composable Ċ import Ġandroidx . compose . runtime . Composition Local Provider Ċ import Ġandroidx . compose . runtime . remember Ċ import Ġandroidx . compose . runtime . static Composition Local Of Ċ import Ġandroidx . compose . ui . platform . Local Context Ċ import Ġcom . ky ant . pixel music . media . Pixel Player Ċ Ċ val ĠLocal Pixel Player Ġ= ĊĠĠĠ Ġstatic Composition Local Of < Pixel Player > Ġ{ Ġerror (" Composition Local ĠPixel Player Ġnot Ġpresent ") Ġ} Ċ Ċ @ Composable Ċ fun ĠProvide Pixel Player ( content : Ġ@ Composable Ġ() Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġval Ġplayer Ġ= ĠPixel Player ( Local Context . current ). apply Ġ{ ĊĠĠĠĠĠĠĠ Ġposition Ġ= Ġremember Ġ{ ĠAnim atable ( 0 f ) Ġ} ĊĠĠĠĠĠĠĠ Ġbuffered Position State Ġ= Ġremember Ġ{ ĠAnim atable ( 0 f ) Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ ĠComp osition Local Provider ( Local Pixel Player Ġprovides Ġplayer , Ġcontent Ġ= Ġcontent ) Ċ }