Back

Somen Das

Senior developer | b... • 1y

### Performance Boost in SoundLink Key Improvement: I significantly boosted SoundLink’s performance by optimizing audio data handling in the recorder class. Initially, calling `shortarray.toByteArray()` directly for file writing and broadcasting led to zeroes at the broadcast receiver. My workaround involved excessive read/write operations, causing lag. Solution: - Created a variable to store the byte array from `shortarray.toByteArray()`. - Used this variable for both file writing and broadcasting. - Removed the redundant `writeToFile` function. Outcome: - No more lags. - Reduced read/write operations. - Streamlined data processing. Excited for feedback 😊 Check out the first update https://medial.app/post/6649a71dc3dca26fbf663a1b

Reply
4

More like this

Recommendations from Medial

Sanskar

Keen Learner and Exp... • 4m

Day 11 of learning python as a beginner. Topic: creating journal entry program using file I/O. I got a little sidleline from my original plan of editing my to-do list program and created an entirely new program this time for writing a daily journal

See More
Reply
1
10

Sanskar

Keen Learner and Exp... • 4m

Day 19 of learning python as a beginner. Topic: JSON file (exploring surface). JSON stands for JavaScript Object Notation however it is not limited to JavaScript only. JSON is used to store and share structured data which is both readable by human

See More
Reply
2

Sanskar

Keen Learner and Exp... • 4m

Day 17 of learning python as a beginner. Topic: lambda functions + email filter Lambda functions are a single line anonymous function without using the usual def key word. All function: checks whether all the key words (spam_keywords) are present

See More
Reply
2

Sanskar

Keen Learner and Exp... • 4m

Day 25 of learning python as a beginner. Topic: database handling. I used to write simple programs which just showed some text in the console when I started learning python. I didn't used to store that data somewhere because I didn't know how to.

See More
Reply

Download the medial app to read full posts, comements and news.