File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def __init__(
6464 self ._sample_rate = sample_rate
6565 self ._num_channels = num_channels
6666 self ._samples_per_channel = samples_per_channel
67- self ._user_data : dict [str , Any ] = {}
67+ self ._userdata : dict [str , Any ] = {}
6868
6969 @staticmethod
7070 def create (sample_rate : int , num_channels : int , samples_per_channel : int ) -> "AudioFrame" :
@@ -102,11 +102,11 @@ def _proto_info(self) -> proto_audio.AudioFrameBufferInfo:
102102 return audio_info
103103
104104 @property
105- def user_data (self ) -> dict [str , Any ]:
105+ def userdata (self ) -> dict [str , Any ]:
106106 """
107107 Returns the user data associated with the audio frame.
108108 """
109- return self ._user_data
109+ return self ._userdata
110110
111111 @property
112112 def data (self ) -> memoryview :
You can’t perform that action at this time.
0 commit comments